X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fls-mntd-fs.m4;h=6b848177de74fa7ff60daff9e1b42ff320ea93e1;hb=c6855a21071983ecdccd74fbdf387a83c152e260;hp=8966789f45e9c49c9dd85a69c7708e5216635213;hpb=c7cf9dc07ccf6755c0a2fc1aa29322d0a7a31478;p=gnulib.git diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4 index 8966789f4..6b848177d 100644 --- a/m4/ls-mntd-fs.m4 +++ b/m4/ls-mntd-fs.m4 @@ -1,4 +1,4 @@ -#serial 8 +#serial 10 dnl From Jim Meyering. dnl @@ -9,7 +9,7 @@ dnl # jm_LIST_MOUNTED_FILESYSTEMS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) AC_DEFUN(jm_LIST_MOUNTED_FILESYSTEMS, [ -AC_CHECK_FUNCS(listmntent getmntent getmntinfo) +AC_CHECK_FUNCS(listmntent getmntinfo) AC_CHECK_HEADERS(mntent.h) # Determine how to get the list of mounted filesystems. @@ -237,12 +237,6 @@ if test -z "$ac_list_mounted_fs"; then # Can't build mountlist.c or anything that needs its functions fi -dnl FIXME: this should use AS_IF instead: -dnl AS_IF([test $ac_list_mounted_fs = found], [$1], [$2]) -if test $ac_list_mounted_fs = found; then -$1 -else -$2 -fi +AS_IF([test $ac_list_mounted_fs = found], [$1], [$2]) ])