X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fls-mntd-fs.m4;h=1920622106c134f11d898545715232abd4954ce4;hb=415175fcb509494574e9eb416575047acfa90df9;hp=aa8ca2d5ab74eea3d9f45d05f21096059adf4602;hpb=6e900bf767985dcb7defca2b443dad6a329fc244;p=gnulib.git diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4 index aa8ca2d5a..192062210 100644 --- a/m4/ls-mntd-fs.m4 +++ b/m4/ls-mntd-fs.m4 @@ -1,4 +1,4 @@ -#serial 5 +#serial 8 dnl From Jim Meyering. dnl @@ -6,8 +6,6 @@ dnl This is not pretty. I've just taken the autoconf code and wrapped dnl it in an AC_DEFUN. dnl -AC_PREREQ(2.14a) - # jm_LIST_MOUNTED_FILESYSTEMS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) AC_DEFUN(jm_LIST_MOUNTED_FILESYSTEMS, [ @@ -239,6 +237,11 @@ if test -z "$ac_list_mounted_fs"; then # Can't build mountlist.c or anything that needs its functions fi -AC_SHELL_IFELSE([test $ac_list_mounted_fs = found], [$1], [$2])dnl +dnl FIXME: this should use AS_IF. +if test $ac_list_mounted_fs = found; then +$1 +else +$2 +fi ])