From: Jim Meyering Date: Sat, 3 Feb 2001 16:44:52 +0000 (+0000) Subject: (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of X-Git-Tag: FILEUTILS-4_0_39~37 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=8525d006fcb9a33bf9744cb1950d02916381d84c;p=thirdparty%2Fcoreutils.git (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of AS_IF, now that it works once again (mysteriously). --- diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4 index 8966789f45..435ee6c76c 100644 --- a/m4/ls-mntd-fs.m4 +++ b/m4/ls-mntd-fs.m4 @@ -1,4 +1,4 @@ -#serial 8 +#serial 9 dnl From Jim Meyering. dnl @@ -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]) ])