summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-06 07:01:17 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:32 +0100
commit046cd2512e1a3a6d1093829667df6b12eaaf1707 (patch)
treeab1e79a38d956f8644016e92d38735c64ada2237 /source4/lib
parent9ed91eabdd9311f01c2595a60e4b05a5869cc699 (diff)
downloadsamba-046cd2512e1a3a6d1093829667df6b12eaaf1707.tar.gz
samba-046cd2512e1a3a6d1093829667df6b12eaaf1707.tar.bz2
samba-046cd2512e1a3a6d1093829667df6b12eaaf1707.zip
r25864: libreplace: we should only have one location where we check for required functions
metze (This used to be commit 8748516d1668c66663ded50ff28a8d32f1720175)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/libreplace.m45
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index a02167ed17..c10a4b2381 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -280,9 +280,6 @@ AC_TRY_CPP([
eprintf("bla", "bar");
], AC_DEFINE(HAVE__VA_ARGS__MACRO, 1, [Whether the __VA_ARGS__ macro is available]))
-# Check prerequisites
-AC_CHECK_FUNCS([memset printf syslog], [],
- [ AC_MSG_ERROR([Required function not found])])
AC_CACHE_CHECK([for sig_atomic_t type],samba_cv_sig_atomic_t, [
AC_TRY_COMPILE([
@@ -331,7 +328,7 @@ m4_include(inet_pton.m4)
m4_include(getaddrinfo.m4)
m4_include(repdir.m4)
-AC_CHECK_FUNCS([syslog memset memcpy],,[AC_MSG_ERROR([Required function not found])])
+AC_CHECK_FUNCS([syslog printf memset memcpy],,[AC_MSG_ERROR([Required function not found])])
echo "LIBREPLACE_BROKEN_CHECKS: END"
]) dnl end AC_LIBREPLACE_BROKEN_CHECKS