about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--acconfig.h8
-rw-r--r--configure.in13
2 files changed, 18 insertions, 3 deletions
diff --git a/acconfig.h b/acconfig.h
index 6b10a540..eef17713 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -9,16 +9,20 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: acconfig.h,v 1.1 2001/12/12 01:58:52 alex Exp $
+ * $Id: acconfig.h,v 1.2 2001/12/21 23:54:15 alex Exp $
  *
  * $Log: acconfig.h,v $
+ * Revision 1.2  2001/12/21 23:54:15  alex
+ * - zusaetzliche Debug-Ausgaben koennen eingeschaltet werden.
+ *
  * Revision 1.1  2001/12/12 01:58:52  alex
  * - Test auf socklen_t verbessert.
- *
  */
 
 
 #undef HAVE_socklen_t
 
+#undef DEBUG
+
 
 /* -eof- */
diff --git a/configure.in b/configure.in
index 73ffd8af..87df99e8 100644
--- a/configure.in
+++ b/configure.in
@@ -9,9 +9,12 @@
 # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
 # der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS.
 #
-# $Id: configure.in,v 1.4 2001/12/12 17:21:58 alex Exp $
+# $Id: configure.in,v 1.5 2001/12/21 23:54:26 alex Exp $
 #
 # $Log: configure.in,v $
+# Revision 1.5  2001/12/21 23:54:26  alex
+# - zusaetzliche Debug-Ausgaben koennen eingeschaltet werden.
+#
 # Revision 1.4  2001/12/12 17:21:58  alex
 # - Projektdatei fuer den Mac OS X Project Builder erstellt.
 #
@@ -82,6 +85,14 @@ AC_CHECK_FUNCS([socket],,[required functions missing!])
 
 # -- Konfigurationsoptionen --
 
+AC_ARG_ENABLE(debug,
+	[  --enable-debug          enable extra debug output],
+	if test "$enableval" = "yes"; then
+		AC_DEFINE(DEBUG, 1)
+		AC_MSG_RESULT([enabling extra debug output])
+	fi
+)
+
 # -- Ausgabe --
 
 AC_OUTPUT([Makefile MacOSX/Makefile src/Makefile src/ngircd/Makefile])