Author: metze Date: 2006-09-05 14:26:14 +0000 (Tue, 05 Sep 2006) New Revision: 18093
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18093 Log: check for the headers first and check all functions metze Modified: branches/SAMBA_4_0/source/lib/replace/libreplace.m4 Changeset: Modified: branches/SAMBA_4_0/source/lib/replace/libreplace.m4 =================================================================== --- branches/SAMBA_4_0/source/lib/replace/libreplace.m4 2006-09-05 13:47:03 UTC (rev 18092) +++ branches/SAMBA_4_0/source/lib/replace/libreplace.m4 2006-09-05 14:26:14 UTC (rev 18093) @@ -95,9 +95,9 @@ 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([
