Ben Pfaff <[EMAIL PROTECTED]> writes:

>         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243

Thanks, I installed that into Autoconf.  Here's the patch
again, for autoconf-patches:

2006-12-15  Paul Eggert  <[EMAIL PROTECTED]>

        * 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>.

--- lib/autoconf/functions.m4   4 Dec 2006 23:54:25 -0000       1.117
+++ lib/autoconf/functions.m4   16 Dec 2006 05:38:39 -0000
@@ -798,7 +798,7 @@
 # -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])
 ])




Reply via email to