]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Dec 2006 05:38:41 +0000 (05:38 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Dec 2006 05:38:41 +0000 (05:38 +0000)
Define HAVE_GETMNTENT to 1, not to the empty string.
Problem originally reported by Jochen Friedrich in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.

ChangeLog
lib/autoconf/functions.m4

index 29cf319680a0f7cca165f69871f70d155eb85386..0e6bb968e2f6670ca3ea7b0e6b61ce4365da4caa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-12-15  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
+       Define HAVE_GETMNTENT to 1, not to the empty string.
+       Problem originally reported by Jochen Friedrich in
+       <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
+
        This change prompted by a problem report by Andrey Simonenko in
        <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
        * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
index 57b42677740b8d9005be71278805155ff17bff9a..185376e9f992dc16960c063859ada4d57d8e87d4 100644 (file)
@@ -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])
 ])