X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Ffsusage.m4;h=e5caa7f3842f6bfe6c3395d2d83c08bd7fafc7b6;hb=28cd162544eb2e781597f3e3c59d70b0fb22893b;hp=8a730bf1005cd48c60c79130549f2cfa7afd3aac;hpb=7da50ad16924cb96e53b482c343ab81a042f871e;p=gnulib.git diff --git a/m4/fsusage.m4 b/m4/fsusage.m4 index 8a730bf10..e5caa7f38 100644 --- a/m4/fsusage.m4 +++ b/m4/fsusage.m4 @@ -1,4 +1,4 @@ -#serial 5 +#serial 6 # From fileutils/configure.in @@ -179,14 +179,21 @@ if test $ac_fsusage_space = no; then fi if test $ac_fsusage_space = no; then -# SVR2 -AC_TRY_CPP([#include ], - AC_DEFINE(STAT_READ_FILSYS, 1, -[ Define if there is no specific function for reading filesystems usage - information and you have the header file. (SVR2)]) - ac_fsusage_space=yes) + # SVR2 + AC_TRY_CPP([#include + ], + AC_DEFINE(STAT_READ_FILSYS, 1, + [Define if there is no specific function for reading filesystems usage + information and you have the header file. (SVR2)]) + ac_fsusage_space=yes) fi -AS_IF([test $ac_fsusage_space = yes], [$1], [$2])dnl +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 +$2 +fi ])