summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-23 16:23:50 +0000
committerJim Meyering <jim@meyering.net>2000-01-23 16:23:50 +0000
commitfe3a834b9ffa1bfa2e024be1cf6bc099fc1fd417 (patch)
tree205bfdb5dfd8ce88556a110e0db92c3037a354a6
parentd32cf4d872557191a012e3a03fc3382bc60c6e19 (diff)
downloadcoreutils-fe3a834b9ffa1bfa2e024be1cf6bc099fc1fd417.tar.xz
Move df-related tests here from fileutils/configure.in
-rw-r--r--m4/jm-macros.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 6228aa451..2673302b2 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -175,6 +175,16 @@ AC_DEFUN(jm_MACROS,
AC_SUBST(POW_LIBM)
test $am_cv_func_strtod_needs_libm = yes && POW_LIBM=-lm
+ # These tests are for df.
+ jm_LIST_MOUNTED_FILESYSTEMS([list_mounted_fs=yes], [list_mounted_fs=no])
+ jm_FSTYPENAME
+ jm_FILE_SYSTEM_USAGE([space=yes], [space=no])
+ if test $list_mounted_fs = yes && test $space = yes; then
+ DF_PROG="df"
+ LIBOBJS="$LIBOBJS fsusage.$ac_objext"
+ LIBOBJS="$LIBOBJS mountlist.$ac_objext"
+ fi
+
])
AC_DEFUN(jm_CHECK_ALL_TYPES,