[Goodies-commits] r2093 - in xfce4-cellmodem-plugin/trunk: . panel-plugin
Alvaro Lopes
alvieboy at xfce.org
Thu Oct 5 19:11:39 CEST 2006
Author: alvieboy
Date: 2006-10-05 17:11:36 +0000 (Thu, 05 Oct 2006)
New Revision: 2093
Modified:
xfce4-cellmodem-plugin/trunk/ChangeLog
xfce4-cellmodem-plugin/trunk/configure.ac
xfce4-cellmodem-plugin/trunk/panel-plugin/cellmodem.h
Log:
Boosted version to 0.0.4
Support for --enable-debug in configure
Modified: xfce4-cellmodem-plugin/trunk/ChangeLog
===================================================================
--- xfce4-cellmodem-plugin/trunk/ChangeLog 2006-10-05 13:30:07 UTC (rev 2092)
+++ xfce4-cellmodem-plugin/trunk/ChangeLog 2006-10-05 17:11:36 UTC (rev 2093)
@@ -1,3 +1,5 @@
+0.0.4
+ Support for --enable-debug in configure
0.0.3
Better error handling - Error messages included
Fixed bugs in remove_leading_chars and remove_trailing_chars
Modified: xfce4-cellmodem-plugin/trunk/configure.ac
===================================================================
--- xfce4-cellmodem-plugin/trunk/configure.ac 2006-10-05 13:30:07 UTC (rev 2092)
+++ xfce4-cellmodem-plugin/trunk/configure.ac 2006-10-05 17:11:36 UTC (rev 2093)
@@ -1,4 +1,4 @@
-m4_define([cellmodem_version], [0.0.3])
+m4_define([cellmodem_version], [0.0.4])
AC_INIT([xfce4-cellmodem-plugin], [cellmodem_version()],[alvieboy at alvie.com])
@@ -20,6 +20,17 @@
XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.20])
XDT_I18N([])
+enable_debug=no
+
+AC_ARG_ENABLE(debug,
+[ --enable-debug Enable syslog debugging],,
+[ enable_debug=yes ])
+
+if test "$enable_debug" = "yes" ; then
+ echo "Enabling syslog debugging"
+ AC_DEFINE(DEBUG_ENABLED,[1],[Enable debugging through syslog])
+fi
+
AC_OUTPUT([
Makefile
panel-plugin/Makefile
Modified: xfce4-cellmodem-plugin/trunk/panel-plugin/cellmodem.h
===================================================================
--- xfce4-cellmodem-plugin/trunk/panel-plugin/cellmodem.h 2006-10-05 13:30:07 UTC (rev 2092)
+++ xfce4-cellmodem-plugin/trunk/panel-plugin/cellmodem.h 2006-10-05 17:11:36 UTC (rev 2093)
@@ -40,8 +40,6 @@
#include "leds.h"
-#define DEBUG_ENABLED
-
#ifdef DEBUG_ENABLED
#include <syslog.h>
More information about the Goodies-commits
mailing list