aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xconfigure15
-rw-r--r--configure.in2
2 files changed, 15 insertions, 2 deletions
diff --git a/configure b/configure
index c4c8b90..aab90ad 100755
--- a/configure
+++ b/configure
@@ -6366,6 +6366,7 @@ echo "$as_me: error: run ./configure --with-plugins=..." >&2;}
PLUGIN_PPP="yes"
PLUGIN_PROC_STAT="yes"
PLUGIN_SETI="yes"
+ PLUGIN_STATFS="yes"
PLUGIN_UNAME="yes"
PLUGIN_UPTIME="yes"
PLUGIN_WIRELESS="yes"
@@ -6419,6 +6420,9 @@ echo "$as_me: error: run ./configure --with-plugins=..." >&2;}
seti)
PLUGIN_SETI=$val
;;
+ statfs)
+ PLUGIN_STATFS=$val
+ ;;
uname)
PLUGIN_UNAME=$val
;;
@@ -7267,6 +7271,14 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
fi
+if test "$PLUGIN_STATFS" = "yes"; then
+ PLUGINS="$PLUGINS plugin_statfs.o"
+
+cat >>confdefs.h <<\_ACEOF
+#define PLUGIN_STATFS 1
+_ACEOF
+
+fi
if test "$PLUGIN_UNAME" = "yes"; then
PLUGINS="$PLUGINS plugin_uname.o"
@@ -7820,7 +7832,8 @@ fi
-for ac_header in arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h syslog.h termios.h unistd.h
+
+for ac_header in arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/statfs.h sys/time.h syslog.h termios.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
diff --git a/configure.in b/configure.in
index 3240e65..651f9b9 100644
--- a/configure.in
+++ b/configure.in
@@ -73,7 +73,7 @@ sinclude(plugins.m4)
# Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
-AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h syslog.h termios.h unistd.h])
+AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/statfs.h sys/time.h syslog.h termios.h unistd.h])
AC_CHECK_HEADERS(sys/io.h asm/io.h)
AC_CHECK_HEADERS(linux/parport.h linux/ppdev.h)
AC_CHECK_HEADERS(asm/msr.h)