@@ -1351,6 +1351,8 @@ Optional Packages:
1351
1351
--with-plugins=<list> choose which plugins to compile.
1352
1352
type --with-plugins=list for a list
1353
1353
of avaible plugins
1354
+ plugins may be excluded with 'all,!<plugin>',
1355
+ (try 'all,\!<plugin>' if your shell complains...)
1354
1356
--with-gnu-ld assume the C compiler uses GNU ld default=no
1355
1357
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1356
1358
--without-libiconv-prefix don't search for libiconv in includedir and libdir
@@ -4445,7 +4447,7 @@ echo "${ECHO_T}Please note that some screen refreshs may fail" >&6; }
4445
4447
echo $ECHO_N " checking for ncurses version... $ECHO_C " >&6 ; }
4446
4448
ncurses_version=unknown
4447
4449
cat > conftest.$ac_ext << EOF
4448
- #line 4448 "configure"
4450
+ #line 4450 "configure"
4449
4451
#include "confdefs.h"
4450
4452
#ifdef RENAMED_NCURSES
4451
4453
#include <curses.h>
@@ -8525,6 +8527,23 @@ if test "$LIBFTDI" = "yes"; then
8525
8527
DRVLIBS=" $DRVLIBS -lftdi"
8526
8528
fi
8527
8529
8530
+ if test " $DRIVERS " = " " ; then
8531
+ { { echo " $as_me :$LINENO : error: You should include at least one driver..." >&5
8532
+ echo " $as_me : error: You should include at least one driver..." >&2 ; }
8533
+ { (exit 1); exit 1; }; }
8534
+ else
8535
+ { echo " $as_me :$LINENO : result: -----------------------------------------
8536
+ including drivers:
8537
+ $DRIVERS
8538
+ -----------------------------------------
8539
+ " >&5
8540
+ echo " ${ECHO_T} -----------------------------------------
8541
+ including drivers:
8542
+ $DRIVERS
8543
+ -----------------------------------------
8544
+ " >&6 ; }
8545
+ fi
8546
+
8528
8547
8529
8548
8530
8549
@@ -8561,8 +8580,14 @@ for plugin in $plugins; do
8561
8580
8562
8581
case " $plugin " in
8563
8582
list)
8564
- { echo " $as_me :$LINENO : result: TO BE DONE..." >&5
8565
- echo " ${ECHO_T} TO BE DONE..." >&6 ; }
8583
+ { echo " $as_me :$LINENO : result: available plugins:
8584
+ apm,cpuinfo,diskstats,dvb,exec,file,gps,i2c_sensors,iconv,imon,isdn,kvv,
8585
+ loadavg,meminfo,mpd,mysql,netdev,netinfo,pop3,ppp,proc_stat,sample,seti,
8586
+ statfs,uname,uptime,wireless,xmms" >&5
8587
+ echo " ${ECHO_T} available plugins:
8588
+ apm,cpuinfo,diskstats,dvb,exec,file,gps,i2c_sensors,iconv,imon,isdn,kvv,
8589
+ loadavg,meminfo,mpd,mysql,netdev,netinfo,pop3,ppp,proc_stat,sample,seti,
8590
+ statfs,uname,uptime,wireless,xmms" >&6 ; }
8566
8591
{ { echo " $as_me :$LINENO : error: run ./configure --with-plugins=..." >&5
8567
8592
echo " $as_me : error: run ./configure --with-plugins=..." >&2 ; }
8568
8593
{ (exit 1); exit 1; }; }
@@ -8589,6 +8614,7 @@ echo "$as_me: error: run ./configure --with-plugins=..." >&2;}
8589
8614
PLUGIN_MPD=" yes"
8590
8615
PLUGIN_MYSQL=" yes"
8591
8616
PLUGIN_NETDEV=" yes"
8617
+ PLUGIN_NETINFO=" yes"
8592
8618
PLUGIN_POP3=" yes"
8593
8619
PLUGIN_PPP=" yes"
8594
8620
PLUGIN_PROC_STAT=" yes"
@@ -8665,6 +8691,9 @@ echo "$as_me: error: run ./configure --with-plugins=..." >&2;}
8665
8691
netdev)
8666
8692
PLUGIN_NETDEV=$val
8667
8693
;;
8694
+ netinfo)
8695
+ PLUGIN_NETINFO=$val
8696
+ ;;
8668
8697
pop3)
8669
8698
PLUGIN_POP3=$val
8670
8699
;;
@@ -11204,7 +11233,7 @@ echo "$as_me: WARNING: mysql/mysql.h header not found: mysql plugin disabled" >&
11204
11233
fi
11205
11234
fi
11206
11235
11207
- # network device
11236
+ # /proc/net/dev
11208
11237
if test " $PLUGIN_NETDEV " = " yes" ; then
11209
11238
PLUGINS=" $PLUGINS plugin_netdev.o"
11210
11239
@@ -11214,6 +11243,16 @@ _ACEOF
11214
11243
11215
11244
fi
11216
11245
11246
+ # configuration of network devices
11247
+ if test " $PLUGIN_NETINFO " = " yes" ; then
11248
+ PLUGINS=" $PLUGINS plugin_netinfo.o"
11249
+
11250
+ cat >> confdefs.h << \_ACEOF
11251
+ #define PLUGIN_NETINFO 1
11252
+ _ACEOF
11253
+
11254
+ fi
11255
+
11217
11256
# POP3
11218
11257
if test " $PLUGIN_POP3 " = " yes" ; then
11219
11258
PLUGINS=" $PLUGINS plugin_pop3.o"
@@ -11805,8 +11844,17 @@ if test "$PLUGINS" = ""; then
11805
11844
{ { echo " $as_me :$LINENO : error: You should include at least one plugin..." >&5
11806
11845
echo " $as_me : error: You should include at least one plugin..." >&2 ; }
11807
11846
{ (exit 1); exit 1; }; }
11808
- # else
11809
- # AC_MSG_ERROR($PLUGINS)
11847
+ else
11848
+ { echo " $as_me :$LINENO : result: -----------------------------------------
11849
+ including plugins:
11850
+ $PLUGINS
11851
+ -----------------------------------------
11852
+ " >&5
11853
+ echo " ${ECHO_T} -----------------------------------------
11854
+ including plugins:
11855
+ $PLUGINS
11856
+ -----------------------------------------
11857
+ " >&6 ; }
11810
11858
fi
11811
11859
11812
11860
0 commit comments