aboutsummaryrefslogtreecommitdiffstats
path: root/plugins.m4
diff options
context:
space:
mode:
Diffstat (limited to 'plugins.m4')
-rw-r--r--plugins.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins.m4 b/plugins.m4
index 4e97005..547fc57 100644
--- a/plugins.m4
+++ b/plugins.m4
@@ -46,6 +46,7 @@ for plugin in $plugins; do
PLUGIN_PROC_STAT="yes"
PLUGIN_SETI="yes"
PLUGIN_UNAME="yes"
+ PLUGIN_UPTIME="yes"
PLUGIN_WIRELESS="yes"
PLUGIN_XMMS="yes"
;;
@@ -97,6 +98,9 @@ for plugin in $plugins; do
uname)
PLUGIN_UNAME=$val
;;
+ uptime)
+ PLUGIN_UPTIME=$val
+ ;;
wireless)
PLUGIN_WIRELESS=$val
;;
@@ -199,6 +203,10 @@ if test "$PLUGIN_UNAME" = "yes"; then
PLUGINS="$PLUGINS plugin_uname.o"
AC_DEFINE(PLUGIN_UNAME,1,[uname plugin])
fi
+if test "$PLUGIN_UPTIME" = "yes"; then
+ PLUGINS="$PLUGINS plugin_uptime.o"
+ AC_DEFINE(PLUGIN_UPTIME,1,[uptime plugin])
+fi
if test "$PLUGIN_WIRELESS" = "yes"; then
PLUGINS="$PLUGINS plugin_wireless.o"
AC_DEFINE(PLUGIN_WIRELESS,1,[wireless plugin])