diff options
-rw-r--r-- | m4/fsusage.m4 | 16 | ||||
-rw-r--r-- | m4/ls-mntd-fs.m4 | 3 |
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 |