mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	- neue configure-Option "--enable-strict-rfc".
This commit is contained in:
		
							
								
								
									
										13
									
								
								configure.in
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								configure.in
									
									
									
									
									
								
							| @@ -9,9 +9,12 @@ | |||||||
| # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste | # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste | ||||||
| # der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS. | # 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 $ | # $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 | # Revision 1.10  2001/12/27 16:25:36  alex | ||||||
| # - neue configure-Option "--with-portab=DIR". | # - 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, | AC_ARG_ENABLE(debug, | ||||||
| 	[  --enable-debug          show additional debug output], | 	[  --enable-debug          show additional debug output], | ||||||
| 	if test "$enableval" = "yes"; then | 	if test "$enableval" = "yes"; then | ||||||
|   | |||||||
| @@ -9,11 +9,14 @@ | |||||||
|  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste |  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste | ||||||
|  * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS. |  * 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.c: Logging-Funktionen | ||||||
|  * |  * | ||||||
|  * $Log: log.c,v $ |  * $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 |  * Revision 1.10  2001/12/27 01:44:49  alex | ||||||
|  * - die Verwendung von syslog kann nun abgeschaltet werden. |  * - die Verwendung von syslog kann nun abgeschaltet werden. | ||||||
|  * |  * | ||||||
| @@ -77,6 +80,11 @@ GLOBAL VOID Log_Init( VOID ) | |||||||
| 	else strcat( txt, "-" ); | 	else strcat( txt, "-" ); | ||||||
| 	strcat( txt, "SYSLOG" ); | 	strcat( txt, "SYSLOG" ); | ||||||
| #endif | #endif | ||||||
|  | #ifdef STRICT_RFC | ||||||
|  | 	if( txt[0] ) strcat( txt, "+" ); | ||||||
|  | 	else strcat( txt, "-" ); | ||||||
|  | 	strcat( txt, "RFC" ); | ||||||
|  | #endif | ||||||
| #ifdef DEBUG | #ifdef DEBUG | ||||||
| 	if( txt[0] ) strcat( txt, "+" ); | 	if( txt[0] ) strcat( txt, "+" ); | ||||||
| 	else strcat( txt, "-" ); | 	else strcat( txt, "-" ); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton