summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-01-28 21:45:36 +0000
committerJim Meyering <jim@meyering.net>2001-01-28 21:45:36 +0000
commit94767ce8cf5e77a57ce2ce30c8c50e4fb6512696 (patch)
tree9b904e2ff595764b44f946f01b8f0cbcb3228ff9 /m4
parent577a8f346ebdd5cd4077a9f759f4ad1285866f99 (diff)
downloadcoreutils-94767ce8cf5e77a57ce2ce30c8c50e4fb6512696.tar.xz
add a comment, reformat a little.
Diffstat (limited to 'm4')
-rw-r--r--m4/fsusage.m416
-rw-r--r--m4/ls-mntd-fs.m43
2 files changed, 11 insertions, 8 deletions
diff --git a/m4/fsusage.m4 b/m4/fsusage.m4
index b2c4dff73..e5caa7f38 100644
--- a/m4/fsusage.m4
+++ b/m4/fsusage.m4
@@ -179,15 +179,17 @@ if test $ac_fsusage_space = no; then
fi
if test $ac_fsusage_space = no; then
-# SVR2
-AC_TRY_CPP([#include <sys/filsys.h>],
- AC_DEFINE(STAT_READ_FILSYS, 1,
-[ Define if there is no specific function for reading filesystems usage
- information and you have the <sys/filsys.h> header file. (SVR2)])
- ac_fsusage_space=yes)
+ # SVR2
+ AC_TRY_CPP([#include <sys/filsys.h>
+ ],
+ AC_DEFINE(STAT_READ_FILSYS, 1,
+ [Define if there is no specific function for reading filesystems usage
+ information and you have the <sys/filsys.h> header file. (SVR2)])
+ ac_fsusage_space=yes)
fi
-dnl FIXME: this should use AS_IF.
+dnl FIXME: this should use AS_IF instead:
+dnl AS_IF([test $ac_fsusage_space = found], [$1], [$2])
if test $ac_fsusage_space = yes; then
$1
else
diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4
index 192062210..8966789f4 100644
--- a/m4/ls-mntd-fs.m4
+++ b/m4/ls-mntd-fs.m4
@@ -237,7 +237,8 @@ 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.
+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