- neue configure-Option "--enable-strict-rfc".

This commit is contained in:
Alexander Barton 2001-12-29 03:04:06 +00:00
parent 41099fd63f
commit 680e2ad6b1
2 changed files with 21 additions and 2 deletions

View File

@ -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

View File

@ -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, "-" );