diff options
author | Jim Meyering <jim@meyering.net> | 2000-01-23 14:49:09 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-01-23 14:49:09 +0000 |
commit | 81df043fddd2a7e17838a8d7852e4d0ad2f1ede7 (patch) | |
tree | 53a5c508800445bfc0d0d8f961c13e2d43a307f2 | |
parent | d495aaf3e722c61cc7ea4760144c81d82c20de71 (diff) | |
download | coreutils-81df043fddd2a7e17838a8d7852e4d0ad2f1ede7.tar.xz |
(jm_FILE_SYSTEM_USAGE): Take two parameters.
-rw-r--r-- | m4/fsusage.m4 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/fsusage.m4 b/m4/fsusage.m4 index c9714f27b..bef38949a 100644 --- a/m4/fsusage.m4 +++ b/m4/fsusage.m4 @@ -1,7 +1,12 @@ #serial 1 # From fileutils/configure.in -# Determine how a program can obtain filesystems usage information. + +# Try to determine how a program can obtain filesystem usage information. +# If successful, define the appropriate symbol (see fsusage.c) and +# execute ACTION-IF-FOUND. Otherwise, execute ACTION-IF-NOT-FOUND. +# +# jm_FILE_SYSTEM_USAGE([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) AC_DEFUN(jm_FILE_SYSTEM_USAGE, [ @@ -182,4 +187,6 @@ AC_TRY_CPP([#include <sys/filsys.h>], ac_fsusage_space=yes) fi +AC_SHELL_IFELSE([test $ac_fsusage_space = yes], [$1], [$2])dnl + ]) |