X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Ffsusage.m4;h=fe0b8dc027088d7fbf3b350eaf212eb11b5aa7ef;hb=b0160b583cd6ef2b283ab48dce48b61f8f798942;hp=b2c4dff73e666a7dd3acc040fa58232763cc05b2;hpb=09af0f7156e9434a316f0e86734c9675edb592e3;p=gnulib.git diff --git a/m4/fsusage.m4 b/m4/fsusage.m4 index b2c4dff73..fe0b8dc02 100644 --- a/m4/fsusage.m4 +++ b/m4/fsusage.m4 @@ -1,4 +1,4 @@ -#serial 6 +#serial 7 # From fileutils/configure.in @@ -179,19 +179,15 @@ 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 -dnl FIXME: this should use AS_IF. -if test $ac_fsusage_space = yes; then -$1 -else -$2 -fi +AS_IF([test $ac_fsusage_space = yes], [$1], [$2]) ])