summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
])