[PATCH] Restore detection of syslog.h

Green, Paul Paul.Green at stratus.com
Mon Aug 26 12:24:00 GMT 2002


Umm, I forgot to specify that this patch is needed in 3.0.  I think 2.2.5 is
ok.

PG

-----Original Message-----
From: Paul_GreenVOS at vos.stratus.com
[mailto:Paul_GreenVOS at vos.stratus.com]
Sent: Monday, August 26, 2002 5:18 PM
To: samba-technical at samba.org
Cc: jra at samba.org; abartlet at samba.org
Subject: [PATCH] Restore detection of syslog.h


OK, I think this is the fix to restore the desired behavior with
respect to syslog.h.  configure (both 2.2.5 and 3.0) is already
looking for a header named syslog.h, so it is a simple matter to
base the decision upon the right macro.  Sorry for the mixup.

Will be harmless here; we don't have this header (yet).

(untested)

Thanks
PG

### START OF PATCH ###

diff -urp --new-file oldsamba/source/include/includes.h
newsamba/source/include/includes.h
--- oldsamba/source/include/includes.h	Mon Aug 26 17:12:21 2002
+++ newsamba/source/include/includes.h	Mon Aug 26 17:12:28 2002
@@ -217,7 +217,7 @@
 #include <arpa/inet.h>
 #include <netdb.h>
 
-#ifdef WITH_SYSLOG
+#ifdef HAVE_SYSLOG_H
 #include <syslog.h>
 #endif
 
### END OF PATCH ###



More information about the samba-technical mailing list