mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-24 18:33:47 +08:00
(jm_FILE_SYSTEM_USAGE): Take two parameters.
This commit is contained in:
parent
d495aaf3e7
commit
81df043fdd
@ -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
|
||||
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user