autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] AC_FUNC_GETMNTENT not defining HAVE_GETMNTENT to 1 but to em


From: Paul Eggert
Subject: Re: [patch] AC_FUNC_GETMNTENT not defining HAVE_GETMNTENT to 1 but to empty
Date: Fri, 15 Dec 2006 21:40:02 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Ben Pfaff <address@hidden> 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  <address@hidden>

        * 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

[Prev in Thread] Current Thread [Next in Thread]