(jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
authorJim Meyering <jim@meyering.net>
Sat, 3 Feb 2001 16:44:52 +0000 (16:44 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 3 Feb 2001 16:44:52 +0000 (16:44 +0000)
AS_IF, now that it works once again (mysteriously).

m4/ls-mntd-fs.m4

index 8966789..435ee6c 100644 (file)
@@ -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])
 
   ])