mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-12 16:51:07 +00:00
- neue configure-Option "--enable-sniffer".
This commit is contained in:
parent
78a6e3c671
commit
22e7c845b4
@ -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: acconfig.h,v 1.2 2001/12/21 23:54:15 alex Exp $
|
||||
* $Id: acconfig.h,v 1.3 2001/12/25 22:01:47 alex Exp $
|
||||
*
|
||||
* $Log: acconfig.h,v $
|
||||
* Revision 1.3 2001/12/25 22:01:47 alex
|
||||
* - neue configure-Option "--enable-sniffer".
|
||||
*
|
||||
* Revision 1.2 2001/12/21 23:54:15 alex
|
||||
* - zusaetzliche Debug-Ausgaben koennen eingeschaltet werden.
|
||||
*
|
||||
@ -24,5 +27,7 @@
|
||||
|
||||
#undef DEBUG
|
||||
|
||||
#undef SNIFFER
|
||||
|
||||
|
||||
/* -eof- */
|
||||
|
19
configure.in
19
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.5 2001/12/21 23:54:26 alex Exp $
|
||||
# $Id: configure.in,v 1.6 2001/12/25 22:01:47 alex Exp $
|
||||
#
|
||||
# $Log: configure.in,v $
|
||||
# Revision 1.6 2001/12/25 22:01:47 alex
|
||||
# - neue configure-Option "--enable-sniffer".
|
||||
#
|
||||
# Revision 1.5 2001/12/21 23:54:26 alex
|
||||
# - zusaetzliche Debug-Ausgaben koennen eingeschaltet werden.
|
||||
#
|
||||
@ -86,10 +89,20 @@ AC_CHECK_FUNCS([socket],,[required functions missing!])
|
||||
# -- Konfigurationsoptionen --
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --enable-debug enable extra debug output],
|
||||
[ --enable-debug show additional debug output],
|
||||
if test "$enableval" = "yes"; then
|
||||
AC_DEFINE(DEBUG, 1)
|
||||
AC_MSG_RESULT([enabling extra debug output])
|
||||
AC_MSG_RESULT([enabling additional debug output])
|
||||
fi
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(sniffer,
|
||||
[ --enable-sniffer enable network traffic monitor (enables debug mode!)],
|
||||
if test "$enableval" = "yes"; then
|
||||
AC_DEFINE(DEBUG, 1)
|
||||
AC_MSG_RESULT([enabling additional debug output])
|
||||
AC_DEFINE(SNIFFER, 1)
|
||||
AC_MSG_RESULT([enabling network traffic monitor])
|
||||
fi
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user