summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-02-03 16:44:52 +0000
committerJim Meyering <jim@meyering.net>2001-02-03 16:44:52 +0000
commit8525d006fcb9a33bf9744cb1950d02916381d84c (patch)
tree55e947fcd1c7f3e4d20ba352739372046cb96a2f
parent3f6077b5bbe8be0e731723d774da0e8106951f21 (diff)
downloadcoreutils-8525d006fcb9a33bf9744cb1950d02916381d84c.tar.xz
(jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
AS_IF, now that it works once again (mysteriously).
-rw-r--r--m4/ls-mntd-fs.m410
1 files changed, 2 insertions, 8 deletions
diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4
index 8966789f4..435ee6c76 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])
])