1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-14 20:23:54 +03:00

r18093: check for the headers first and check all functions

metze
(This used to be commit 5bb8a5ce32)
This commit is contained in:
Stefan Metzmacher
2006-09-05 14:26:14 +00:00
committed by Gerald (Jerry) Carter
parent 14651f3cb7
commit c2dfdbb64d

View File

@@ -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([