X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fsetenv.m4;h=d6901de240d60e38379a5fbe6bd807a133b19ba3;hb=018d784ec357cbce8d1eae53e26c05b8964d3f7b;hp=0d54a9613e64645119c791128b7fbf346164c551;hpb=ed73a419e152c8722ee79e83a19cc09691eb2290;p=gnulib.git diff --git a/m4/setenv.m4 b/m4/setenv.m4 index 0d54a9613..d6901de24 100644 --- a/m4/setenv.m4 +++ b/m4/setenv.m4 @@ -1,4 +1,4 @@ -# setenv.m4 serial 7 +# setenv.m4 serial 8 dnl Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -13,6 +13,13 @@ AC_DEFUN([gl_FUNC_SETENV], fi ]) +# Like gl_FUNC_SETENV, except prepare for separate compilation (no AC_LIBOBJ). +AC_DEFUN([gl_FUNC_SETENV_SEPARATE], +[ + AC_CHECK_FUNCS_ONCE([setenv]) + gl_PREREQ_SETENV +]) + AC_DEFUN([gl_FUNC_UNSETENV], [ AC_CHECK_FUNCS([unsetenv])