summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-04-20 15:21:39 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-04-20 16:25:16 +0200
commitfbf4293d7ec80b93d2b289698f85641dbf26750a (patch)
tree358ba8a39465868b3a364e2deeabbb4273947502 /lib
parenta6cb47089207991e7128f895f927a8d51a1d5c7a (diff)
downloadsamba-fbf4293d7ec80b93d2b289698f85641dbf26750a.tar.gz
samba-fbf4293d7ec80b93d2b289698f85641dbf26750a.tar.bz2
samba-fbf4293d7ec80b93d2b289698f85641dbf26750a.zip
Move check for syslog out of libreplace to source3/ and source4/.
This should help compiling talloc on Windows.
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/libreplace.m42
-rw-r--r--lib/replace/samba.m42
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4
index 30d7017d0f..4eae00c54f 100644
--- a/lib/replace/libreplace.m4
+++ b/lib/replace/libreplace.m4
@@ -279,7 +279,7 @@ m4_include(timegm.m4)
m4_include(repdir.m4)
m4_include(crypt.m4)
-AC_CHECK_FUNCS([syslog printf memset memcpy],,[AC_MSG_ERROR([Required function not found])])
+AC_CHECK_FUNCS([printf memset memcpy],,[AC_MSG_ERROR([Required function not found])])
echo "LIBREPLACE_BROKEN_CHECKS: END"
]) dnl end AC_LIBREPLACE_BROKEN_CHECKS
diff --git a/lib/replace/samba.m4 b/lib/replace/samba.m4
index ccb6f2e20d..4514728d03 100644
--- a/lib/replace/samba.m4
+++ b/lib/replace/samba.m4
@@ -33,3 +33,5 @@ SMB_SUBSYSTEM(LIBREPLACE_HOSTCC,
[${LIBREPLACE_HOSTCC_OBJS}],
[],
[-Ilib/replace])
+
+AC_CHECK_FUNCS([syslog],,[AC_MSG_ERROR([Required function not found])])