about summary refs log tree commit diff
path: root/configure.in
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 /configure.in
parent6e07fb410c2c2d07ada2a6c159e73c50eeef0488 (diff)
downloadngircd-12dd4b2cac4c2f85bacfff483228a6aef8bc0354.tar.gz
ngircd-12dd4b2cac4c2f85bacfff483228a6aef8bc0354.zip
- zusaetzliche Debug-Ausgaben koennen eingeschaltet werden.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in13
1 files changed, 12 insertions, 1 deletions
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])