about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2001-12-21 23:54:15 +0000
committerAlexander Barton <alex@barton.de>2001-12-21 23:54:15 +0000
commit12dd4b2cac4c2f85bacfff483228a6aef8bc0354 (patch)
treec28b872cc3b3441ffb5e351ccea876bdfaf3e801
parent6e07fb410c2c2d07ada2a6c159e73c50eeef0488 (diff)
downloadngircd-12dd4b2cac4c2f85bacfff483228a6aef8bc0354.tar.gz
ngircd-12dd4b2cac4c2f85bacfff483228a6aef8bc0354.zip
- zusaetzliche Debug-Ausgaben koennen eingeschaltet werden.
-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])