From d13d338c9976c9b2c727ae092d227e94d57df5e3 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 19 Mar 2003 22:42:04 +0000 Subject: Tru64 df support (Paul Clayton) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@441 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/configure.in b/configure.in index 08996c9..3b48d0b 100644 --- a/configure.in +++ b/configure.in @@ -694,6 +694,11 @@ then AC_PATH_PROG(PATH_TO_DF,bdf) AC_MSG_RESULT([ df syntax... $PATH_TO_DF]) AC_DEFINE_UNQUOTED(DF_COMMAND,"$PATH_TO_DF",[path and args for df command]) +dnl Tru64 support +elif df -Pk 2>/dev/null | egrep -i ["^[a-z_]+#[a-z_]+ +[0-9]+ +[0-9]+ +[0-9]+ +[0-9]+% +/[a-z0-9/]*"] > /dev/null + AC_PATH_PROG(PATH_TO_DF,df) + AC_MSG_RESULT([ df syntax... $PATH_TO_DF -Pk (Tru64)]) + AC_DEFINE_UNQUOTED(DF_COMMAND,"$PATH_TO_DF -Pk",[path and args for df command]) else AC_MSG_WARN("unable to find usable df syntax") fi -- cgit v0.10-9-g596f