moriyoshi Wed Apr 7 20:30:07 2004 EDT
Modified files:
/php-src/ext/mbstring config.m4
Log:
- Add missing checks. Maybe fixes PR #27680
http://cvs.php.net/diff.php/php-src/ext/mbstring/config.m4?r1=1.49&r2=1.50&ty=u
Index: php-src/ext/mbstring/config.m4
diff -u php-src/ext/mbstring/config.m4:1.49 php-src/ext/mbstring/config.m4:1.50
--- php-src/ext/mbstring/config.m4:1.49 Sun Apr 4 15:23:19 2004
+++ php-src/ext/mbstring/config.m4 Wed Apr 7 20:30:06 2004
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.49 2004/04/04 19:23:19 moriyoshi Exp $
+dnl $Id: config.m4,v 1.50 2004/04/08 00:30:06 moriyoshi Exp $
dnl
AC_DEFUN([PHP_MBSTRING_ADD_SOURCES], [
@@ -67,6 +67,16 @@
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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php