[PATCH] Restore detection of syslog.h

Paul_GreenVOS at vos.stratus.com Paul_GreenVOS at vos.stratus.com
Mon Aug 26 12:19:00 GMT 2002


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