summaryrefslogtreecommitdiff
path: root/ext/mbstring/config.m4
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2004-04-08 00:30:06 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2004-04-08 00:30:06 +0000
commitd3a8b313108f0f357d83560d5e0a8e5706869a1c (patch)
tree882b7b81692e966bd23a36319251a2d7ed3153db /ext/mbstring/config.m4
parent31de856abb29ce31ce0bf90c59303a9dda31498d (diff)
downloadphp-git-d3a8b313108f0f357d83560d5e0a8e5706869a1c.tar.gz
- Add missing checks. Maybe fixes PR #27680
Diffstat (limited to 'ext/mbstring/config.m4')
-rw-r--r--ext/mbstring/config.m410
1 files changed, 10 insertions, 0 deletions
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