From 31120c9eacafd93e0f2c6b0f906af21adadd318a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 20 Apr 2009 16:22:44 +0200 Subject: Move syslog check out of m4 library file into configure.in --- source3/configure.in | 1 + source3/m4/aclocal.m4 | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/configure.in b/source3/configure.in index d0ff14fa2f..663c3a8361 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -671,6 +671,7 @@ SAVE_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${SAMBA_CONFIGURE_CPPFLAGS}" AC_LIBREPLACE_BROKEN_CHECKS +AC_CHECK_FUNCS([syslog],[],[AC_MSG_ERROR([Required function not found])]) AC_LIBREPLACE_NETWORK_CHECKS CPPFLAGS="${SAVE_CPPFLAGS}" diff --git a/source3/m4/aclocal.m4 b/source3/m4/aclocal.m4 index a79aba0f3f..ae205023a4 100644 --- a/source3/m4/aclocal.m4 +++ b/source3/m4/aclocal.m4 @@ -334,7 +334,7 @@ AC_DEFUN([AC_CHECK_FUNC_EXT], [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$1])) $3], [$4])dnl AS_VAR_POPDEF([ac_var])dnl -])# AC_CHECK_FUNC +])# AC_CHECK_FUNC_EXT # AH_CHECK_FUNC_EXT(FUNCNAME) # --------------------- @@ -899,4 +899,3 @@ int main(void) ]) m4_include(../lib/replace/libreplace.m4) -AC_CHECK_FUNCS([syslog],,[AC_MSG_ERROR([Required function not found])]) -- cgit