diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2008-12-31 06:10:37 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2008-12-31 06:10:37 +0000 |
commit | ba0421af855a42e4319472db22586d4d28125391 (patch) | |
tree | 54a53a357ded6573fe27181cb76343fed1cf30d9 /plugins.m4 | |
parent | fff158da0a48a4ae2b32a927f02612d088bd2ebf (diff) | |
download | lcd4linux-ba0421af855a42e4319472db22586d4d28125391.tar.gz |
netinfo plugin ported from volker_dev (r823)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@919 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugins.m4')
-rw-r--r-- | plugins.m4 | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -49,7 +49,11 @@ for plugin in $plugins; do case "$plugin" in list) - AC_MSG_RESULT([TO BE DONE...]) + AC_MSG_RESULT( + [available plugins:] + [ apm,cpuinfo,diskstats,dvb,exec,file,gps,i2c_sensors,iconv,imon,isdn,kvv,] + [ loadavg,meminfo,mpd,mysql,netdev,netinfo,pop3,ppp,proc_stat,sample,seti,] + [ statfs,uname,uptime,wireless,xmms]) AC_MSG_ERROR([run ./configure --with-plugins=...]) ;; all) @@ -74,6 +78,7 @@ for plugin in $plugins; do PLUGIN_MPD="yes" PLUGIN_MYSQL="yes" PLUGIN_NETDEV="yes" + PLUGIN_NETINFO="yes" PLUGIN_POP3="yes" PLUGIN_PPP="yes" PLUGIN_PROC_STAT="yes" @@ -150,6 +155,9 @@ for plugin in $plugins; do netdev) PLUGIN_NETDEV=$val ;; + netinfo) + PLUGIN_NETINFO=$val + ;; pop3) PLUGIN_POP3=$val ;; @@ -372,12 +380,18 @@ if test "$PLUGIN_MYSQL" = "yes"; then fi fi -# network device +# /proc/net/dev if test "$PLUGIN_NETDEV" = "yes"; then PLUGINS="$PLUGINS plugin_netdev.o" AC_DEFINE(PLUGIN_NETDEV,1,[netdev plugin]) fi +# configuration of network devices +if test "$PLUGIN_NETINFO" = "yes"; then + PLUGINS="$PLUGINS plugin_netinfo.o" + AC_DEFINE(PLUGIN_NETINFO,1,[netinfo plugin]) +fi + # POP3 if test "$PLUGIN_POP3" = "yes"; then PLUGINS="$PLUGINS plugin_pop3.o" |