diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-04-03 07:07:51 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-04-03 07:07:51 +0000 |
commit | 118d85d597ffa77ca2d53b01c1dc5295f11c5f2c (patch) | |
tree | 17e1bc77e5cff45aafa54e635548000f59db2d9b /configure | |
parent | a6a03faa860233ec2b2d13abbb14bd9661a61222 (diff) | |
download | lcd4linux-118d85d597ffa77ca2d53b01c1dc5295f11c5f2c.tar.gz |
[lcd4linux @ 2005-04-03 07:07:43 by reinelt]
added statfs plugin
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@524 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rwxr-xr-x | configure | 15 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 15 insertions, 2 deletions
@@ -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) |