From: Paul Eggert Date: Sat, 16 Dec 2006 05:38:41 +0000 (+0000) Subject: * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): X-Git-Tag: v2.62~386 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a152d401584cd901f7295647af0382948369de79;p=thirdparty%2Fautoconf.git * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Define HAVE_GETMNTENT to 1, not to the empty string. Problem originally reported by Jochen Friedrich in . --- diff --git a/ChangeLog b/ChangeLog index 29cf3196..0e6bb968 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2006-12-15 Paul Eggert + * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): + Define HAVE_GETMNTENT to 1, not to the empty string. + Problem originally reported by Jochen Friedrich in + . + This change prompted by a problem report by Andrey Simonenko in . * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index 57b42677..185376e9 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -798,7 +798,7 @@ AC_DEFUN([AC_FUNC_GETMNTENT], # -lseq on Dynix/PTX, -lgen on Unixware. AC_SEARCH_LIBS(getmntent, [sun seq gen], [ac_cv_func_getmntent=yes - AC_DEFINE([HAVE_GETMNTENT], [], + AC_DEFINE([HAVE_GETMNTENT], 1, [Define to 1 if you have the `getmntent' function.])], [ac_cv_func_getmntent=no]) ])