From d3a8b313108f0f357d83560d5e0a8e5706869a1c Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Thu, 8 Apr 2004 00:30:06 +0000 Subject: [PATCH] - Add missing checks. Maybe fixes PR #27680 --- ext/mbstring/config.m4 | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.50.1