summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetze <metze@0c0555d6-39d7-0310-84fc-f1cc0bd64818>2007-11-06 07:01:17 +0000
committerStefan Metzmacher <metze@samba.org>2007-11-06 09:38:59 +0100
commit4930bab6b818254b3061cb4854fe6b7262bc2b1c (patch)
tree0dcc94ea3c12dd3befbcf558eb87e7310896f2dc
parentcfb20163a5a6b8a58778c95e53824dcd68938454 (diff)
downloadsamba-4930bab6b818254b3061cb4854fe6b7262bc2b1c.tar.gz
samba-4930bab6b818254b3061cb4854fe6b7262bc2b1c.tar.bz2
samba-4930bab6b818254b3061cb4854fe6b7262bc2b1c.zip
libreplace: we should only have one location where we check for required functions
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25864 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 760f24f10cbea7ce22acd0772fb5b125f718d129)
-rw-r--r--source3/lib/replace/libreplace.m45
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/lib/replace/libreplace.m4 b/source3/lib/replace/libreplace.m4
index a02167ed17..c10a4b2381 100644
--- a/source3/lib/replace/libreplace.m4
+++ b/source3/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