diff --git a/ChangeLog b/ChangeLog index a72500f5e..eef004685 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-12-30 Pavel Tsekov + + * m4/ls-mntd-fs.m4: Update to serial #26. + 2006-12-30 Pavel Tsekov * m4/fsusage.m4: Update to serial #22. diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4 index 18b6f8acd..21ac4e743 100644 --- a/m4/ls-mntd-fs.m4 +++ b/m4/ls-mntd-fs.m4 @@ -1,4 +1,4 @@ -#serial 22 +#serial 26 # How to list mounted file systems. # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 Free Software @@ -141,7 +141,8 @@ if test $ac_cv_func_getmntent = yes; then # endif #endif ], - [ struct mntent *mnt = 0; char *table = MOUNTED; ], + [ struct mntent *mnt = 0; char *table = MOUNTED; + if (sizeof mnt && sizeof table) return 0;], fu_cv_sys_mounted_getmntent1=yes, fu_cv_sys_mounted_getmntent1=no)]) AC_MSG_RESULT($fu_cv_sys_mounted_getmntent1) @@ -167,6 +168,7 @@ if test $ac_cv_func_getmntent = yes; then AC_DEFINE(MOUNTED_GETMNTENT2, 1, [Define if there is a function named getmntent for reading the list of mounted file systems, and that function takes two arguments. (SVR4)]) + AC_CHECK_FUNCS(hasmntopt) fi fi