X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fls-mntd-fs.m4;h=6b848177de74fa7ff60daff9e1b42ff320ea93e1;hb=264a64244c721c14c74448bb003efda5059e37a9;hp=1920622106c134f11d898545715232abd4954ce4;hpb=3de93d465de8ee3863e9403071065eae9e072ed3;p=gnulib.git diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4 index 192062210..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,11 +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. -if test $ac_list_mounted_fs = found; then -$1 -else -$2 -fi +AS_IF([test $ac_list_mounted_fs = found], [$1], [$2]) ])