changeset 3142:dae865ecec1c

add a comment, reformat a little.
author Jim Meyering <jim@meyering.net>
date Sun, 28 Jan 2001 21:45:36 +0000
parents c35ce7e935fb
children 270b85daf6d4
files m4/fsusage.m4 m4/ls-mntd-fs.m4
diffstat 2 files changed, 11 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/m4/fsusage.m4
+++ b/m4/fsusage.m4
@@ -179,15 +179,17 @@
 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
--- a/m4/ls-mntd-fs.m4
+++ b/m4/ls-mntd-fs.m4
@@ -237,7 +237,8 @@
   # 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