Mercurial > hg > octave-lyh > gnulib-hg
changeset 2207:1758480aaa51
(jm_FILE_SYSTEM_USAGE): Take two parameters.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 23 Jan 2000 14:49:09 +0000 |
parents | 6c24cdf33ec9 |
children | 9bc7c7e2ae09 |
files | m4/fsusage.m4 |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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_fsusage_space=yes) fi +AC_SHELL_IFELSE([test $ac_fsusage_space = yes], [$1], [$2])dnl + ])