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>.
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
# -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])
])