]> granicus.if.org Git - php/commitdiff
- Add missing checks. Maybe fixes PR #27680
authorMoriyoshi Koizumi <moriyoshi@php.net>
Thu, 8 Apr 2004 00:30:06 +0000 (00:30 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Thu, 8 Apr 2004 00:30:06 +0000 (00:30 +0000)
ext/mbstring/config.m4

index c0d2473c2e96236fa197bb581c7793566ce3f305..718d614a65011a52857cd4862b028b2a5468ed39 100644 (file)
@@ -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