summaryrefslogtreecommitdiff
path: root/m4/ls-mntd-fs.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-01-27 14:06:04 +0000
committerJim Meyering <jim@meyering.net>2001-01-27 14:06:04 +0000
commit263fb2dc152e2b7b02aaea73f6386068531dc4cc (patch)
treeea73394d143b965b3a87fd1b499c986ffeb67c44 /m4/ls-mntd-fs.m4
parente5e92e670c214c30f3cd179bb27d6bdd6c5993dc (diff)
downloadcoreutils-263fb2dc152e2b7b02aaea73f6386068531dc4cc.tar.xz
(jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was a use of AS_IF.
Diffstat (limited to 'm4/ls-mntd-fs.m4')
-rw-r--r--m4/ls-mntd-fs.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4
index ed5d077bc..192062210 100644
--- a/m4/ls-mntd-fs.m4
+++ b/m4/ls-mntd-fs.m4
@@ -237,6 +237,11 @@ if test -z "$ac_list_mounted_fs"; then
# Can't build mountlist.c or anything that needs its functions
fi
-AS_IF([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
])