From: Jelmer Vernooij Date: Mon, 20 Apr 2009 13:21:39 +0000 (+0200) Subject: Move check for syslog out of libreplace to source3/ and source4/. X-Git-Tag: tdb-1.1.5~958^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbf4293d7ec80b93d2b289698f85641dbf26750a;p=thirdparty%2Fsamba.git Move check for syslog out of libreplace to source3/ and source4/. This should help compiling talloc on Windows. --- diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4 index 30d7017d0fc..4eae00c54f9 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 ccb6f2e20dc..4514728d03d 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])]) diff --git a/source3/m4/aclocal.m4 b/source3/m4/aclocal.m4 index 386829d1b00..a79aba0f3fe 100644 --- a/source3/m4/aclocal.m4 +++ b/source3/m4/aclocal.m4 @@ -899,3 +899,4 @@ int main(void) ]) m4_include(../lib/replace/libreplace.m4) +AC_CHECK_FUNCS([syslog],,[AC_MSG_ERROR([Required function not found])])