summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-05 14:26:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:15 -0500
commitc2dfdbb64d19bd9520f194d472a4883c494b4c60 (patch)
tree9e9eeada98fc61ae1537fa26543fd2a468b75653 /source4/lib
parent14651f3cb7f9f49c7fa775dd2c889d37b7f8a541 (diff)
downloadsamba-c2dfdbb64d19bd9520f194d472a4883c494b4c60.tar.gz
samba-c2dfdbb64d19bd9520f194d472a4883c494b4c60.tar.bz2
samba-c2dfdbb64d19bd9520f194d472a4883c494b4c60.zip
r18093: check for the headers first and check all functions
metze (This used to be commit 5bb8a5ce32a3e85355d8554974d226708df41970)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/libreplace.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index ce42367212..abbd63db7a 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -95,9 +95,9 @@ if test x"$samba_cv_HAVE_SECURE_MKSTEMP" = x"yes"; then
fi
dnl Provided by snprintf.c:
-AC_CHECK_DECLS([asprintf, vasprintf, snprintf])
+AC_CHECK_HEADERS(stdio.h strings.h)
+AC_CHECK_DECLS([snprintf, vsnprintf, asprintf, vasprintf])
AC_CHECK_FUNCS(snprintf vsnprintf asprintf vasprintf)
-AC_CHECK_HEADERS(strings.h)
AC_CACHE_CHECK([for C99 vsnprintf],samba_cv_HAVE_C99_VSNPRINTF,[
AC_TRY_RUN([