From cf3a9741dc7427efb97eff09a3c197a906ce6767 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 28 Sep 1998 21:43:48 +0000 Subject: Changes to test in configure if capabilities are enabled on a system. Changes to get Samba to compile cleanly with the IRIX compiler with the options : -fullwarn -woff 1209,1174 (the -woff options are to turn off warnings about unused function parameters and controlling loop expressions being constants). Split prototype generation as we hit a limit in IRIX nawk. Removed "." code in smbd/filename.c (yet again :-). Jeremy. (This used to be commit e0567433bd72aec17bf5a54cc292701095d25f09) --- source3/lib/debug.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/lib/debug.c') diff --git a/source3/lib/debug.c b/source3/lib/debug.c index 0418098fb2..6b7b9341a3 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -108,7 +108,9 @@ int DEBUGLEVEL = 1; static BOOL stdout_logging = False; static int debug_count = 0; +#ifdef WITH_SYSLOG static int syslog_level = 0; +#endif static pstring format_bufr = { '\0' }; static int format_pos = 0; @@ -513,8 +515,10 @@ BOOL dbghdr( int level, char *file, char *func, int line ) return( True ); } +#ifdef WITH_SYSLOG /* Set syslog_level. */ syslog_level = level; +#endif /* Don't print a header if we're logging to stdout. */ if( stdout_logging ) -- cgit