cvs: php-src(PHP_5_2) /ext/mbstring config.m4 /ext/mbstring/oniguruma php_onig_compat.h
| From: | Rui Hirokawa | Date: | Tue, 18 Sep 2007 21:35:39 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/mbstring config.m4 /ext/mbstring/oniguruma php_onig_compat.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-46215@lists.php.net to get a copy of this message | ||
hirokawa Tue Sep 18 21:35:39 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/mbstring config.m4
/php-src/ext/mbstring/oniguruma php_onig_compat.h
Log:
MFH: fixed bug #42502 va_* cannot detect.
http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/config.m4?r1=1.58.2.4.2.10&r2=1.58.2.4.2.11&diff_format=u
Index: php-src/ext/mbstring/config.m4
diff -u php-src/ext/mbstring/config.m4:1.58.2.4.2.10 php-src/ext/mbstring/config.m4:1.58.2.4.2.11
--- php-src/ext/mbstring/config.m4:1.58.2.4.2.10 Tue Jul 31 12:23:50 2007
+++ php-src/ext/mbstring/config.m4 Tue Sep 18 21:35:39 2007
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.58.2.4.2.10 2007/07/31 12:23:50 tony2001 Exp $
+dnl $Id: config.m4,v 1.58.2.4.2.11 2007/09/18 21:35:39 hirokawa Exp $
dnl
AC_DEFUN([PHP_MBSTRING_ADD_SOURCES], [
@@ -87,7 +87,7 @@
)
])
- AC_CHECK_HEADERS([stdlib.h string.h strings.h unistd.h sys/time.h sys/times.h])
+ AC_CHECK_HEADERS([stdlib.h string.h strings.h unistd.h sys/time.h sys/times.h stdarg.h])
AC_CHECK_SIZEOF(int, 4)
AC_CHECK_SIZEOF(short, 2)
AC_CHECK_SIZEOF(long, 4)
@@ -96,9 +96,6 @@
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
AC_DEFINE([HAVE_MBREGEX], 1, [whether to have multibyte regex support])
http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/oniguruma/php_onig_compat.h?r1=1.2&r2=1.2.4.1&diff_format=u
Index: php-src/ext/mbstring/oniguruma/php_onig_compat.h
diff -u php-src/ext/mbstring/oniguruma/php_onig_compat.h:1.2
php-src/ext/mbstring/oniguruma/php_onig_compat.h:1.2.4.1
--- php-src/ext/mbstring/oniguruma/php_onig_compat.h:1.2 Mon Feb 21 09:43:55 2005
+++ php-src/ext/mbstring/oniguruma/php_onig_compat.h Tue Sep 18 21:35:39 2007
@@ -5,4 +5,10 @@
#define regex_t php_mb_regex_t
#define re_registers php_mb_re_registers
+#ifdef HAVE_STDARG_H
+#ifndef HAVE_STDARG_PROTOTYPES
+#define HAVE_STDARG_PROTOTYPES 1
+#endif
+#endif
+
#endif /* _PHP_MBREGEX_COMPAT_H */