mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-12 16:51:07 +00:00
- neue configure-Option "--enable-strict-rfc".
This commit is contained in:
parent
41099fd63f
commit
680e2ad6b1
13
configure.in
13
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.10 2001/12/27 16:25:36 alex Exp $
|
||||
# $Id: configure.in,v 1.11 2001/12/29 03:04:06 alex Exp $
|
||||
#
|
||||
# $Log: configure.in,v $
|
||||
# Revision 1.11 2001/12/29 03:04:06 alex
|
||||
# - neue configure-Option "--enable-strict-rfc".
|
||||
#
|
||||
# Revision 1.10 2001/12/27 16:25:36 alex
|
||||
# - neue configure-Option "--with-portab=DIR".
|
||||
#
|
||||
@ -143,6 +146,14 @@ AC_ARG_ENABLE(syslog,
|
||||
]
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(strict-rfc,
|
||||
[ --enable-strict-rfc strict RFC conformance, may break clients],
|
||||
if test "$enableval" = "yes"; then
|
||||
AC_DEFINE(STRICT_RFC, 1)
|
||||
AC_MSG_RESULT([enabling strict RFC conformance])
|
||||
fi
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --enable-debug show additional debug output],
|
||||
if test "$enableval" = "yes"; then
|
||||
|
@ -9,11 +9,14 @@
|
||||
* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
|
||||
* der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS.
|
||||
*
|
||||
* $Id: log.c,v 1.10 2001/12/27 01:44:49 alex Exp $
|
||||
* $Id: log.c,v 1.11 2001/12/29 03:08:49 alex Exp $
|
||||
*
|
||||
* log.c: Logging-Funktionen
|
||||
*
|
||||
* $Log: log.c,v $
|
||||
* Revision 1.11 2001/12/29 03:08:49 alex
|
||||
* - neue configure-Option "--enable-strict-rfc".
|
||||
*
|
||||
* Revision 1.10 2001/12/27 01:44:49 alex
|
||||
* - die Verwendung von syslog kann nun abgeschaltet werden.
|
||||
*
|
||||
@ -77,6 +80,11 @@ GLOBAL VOID Log_Init( VOID )
|
||||
else strcat( txt, "-" );
|
||||
strcat( txt, "SYSLOG" );
|
||||
#endif
|
||||
#ifdef STRICT_RFC
|
||||
if( txt[0] ) strcat( txt, "+" );
|
||||
else strcat( txt, "-" );
|
||||
strcat( txt, "RFC" );
|
||||
#endif
|
||||
#ifdef DEBUG
|
||||
if( txt[0] ) strcat( txt, "+" );
|
||||
else strcat( txt, "-" );
|
||||
|
Loading…
Reference in New Issue
Block a user