From: Jim Meyering Date: Sun, 23 Jan 2000 16:23:50 +0000 (+0000) Subject: Move df-related tests here from fileutils/configure.in X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31ad6927603a8644fb8a420c8bf00d7cd2addf90;p=pspp Move df-related tests here from fileutils/configure.in --- diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 6228aa4511..2673302b2e 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,