X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fputenv.m4;h=1cb23a594faed068c74364d0180aaee5ef12c679;hb=270e2d3e2966d9a5bc16dd0b367b71740b8994d5;hp=17105754c97385ac8ceb42c307d89f693935707e;hpb=b6d1202a37101d586919b49c8d0531b5bb56d4a3;p=gnulib.git diff --git a/m4/putenv.m4 b/m4/putenv.m4 index 17105754c..1cb23a594 100644 --- a/m4/putenv.m4 +++ b/m4/putenv.m4 @@ -1,5 +1,5 @@ -# putenv.m4 serial 15 -dnl Copyright (C) 2002-2008 Free Software Foundation, Inc. +# putenv.m4 serial 18 +dnl Copyright (C) 2002-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -21,21 +21,20 @@ AC_DEFUN([gl_FUNC_PUTENV], /* Try to remove it. */ if (putenv ("CONFTEST_putenv")) - return 1; + return 2; /* Make sure it was deleted. */ if (getenv ("CONFTEST_putenv") != 0) - return 1; + return 3; return 0; - ]])], - gl_cv_func_svid_putenv=yes, - gl_cv_func_svid_putenv=no, - dnl When crosscompiling, assume putenv is broken. - gl_cv_func_svid_putenv=no) + ]])], + gl_cv_func_svid_putenv=yes, + gl_cv_func_svid_putenv=no, + dnl When crosscompiling, assume putenv is broken. + gl_cv_func_svid_putenv=no) ]) if test $gl_cv_func_svid_putenv = no; then REPLACE_PUTENV=1 - AC_LIBOBJ(putenv) fi ])