Debian bug 403243 reports that HAVE_GETMNTENT gets defined to empty when AC_FUNC_GETMNTENT is used. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243 The bug log points to this Autoconf commit as the culprit: http://cvs.savannah.gnu.org/viewcvs/autoconf/autoconf/lib/autoconf/functions.m4?r1=1.108&r2=1.109
I believe that this is the correct fix. If someone here will confirm that, I'll fix the Debian package (Debian is in freeze right now so I'm only fixing bugs that actually bite someone): --- /home/blp/debian/autoconf/autoconf-2.61/lib/autoconf/functions.m4~ 2006-12-07 17:32:01.000000000 -0800 +++ /home/blp/debian/autoconf/autoconf-2.61/lib/autoconf/functions.m4 2006-12-15 11:04:17.000000000 -0800 @@ -801,7 +801,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]) ]) -- I love deadlines. I love the whooshing noise they make as they go by. --Douglas Adams -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]