summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/configure.in1
-rw-r--r--source3/m4/aclocal.m43
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])])