From: Moriyoshi Koizumi Date: Thu, 8 Apr 2004 00:30:06 +0000 (+0000) Subject: - Add missing checks. Maybe fixes PR #27680 X-Git-Tag: php-5.0.0RC2RC1~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3a8b313108f0f357d83560d5e0a8e5706869a1c;p=php - Add missing checks. Maybe fixes PR #27680 --- diff --git a/ext/mbstring/config.m4 b/ext/mbstring/config.m4 index c0d2473c2e..718d614a65 100644 --- a/ext/mbstring/config.m4 +++ b/ext/mbstring/config.m4 @@ -67,6 +67,16 @@ int foo(int x, ...) { int main() { return foo(10, "", 3.14); } ], [cv_php_mbstring_stdarg=yes], [cv_php_mbstring_stdarg=no]) ]) + + AC_CHECK_HEADERS([stdlib.h string.h strings.h unistd.h sys/time.h sys/times.h]) + AC_CHECK_SIZEOF(int, 4) + AC_CHECK_SIZEOF(short, 2) + AC_CHECK_SIZEOF(long, 4) + AC_C_CONST + AC_HEADER_TIME + AC_FUNC_ALLOCA + AC_FUNC_MEMCMP + if test "$cv_php_mbstring_stdarg" = "yes"; then AC_DEFINE([HAVE_STDARG_PROTOTYPES], 1, [Define if stdarg.h is available]) fi