summaryrefslogtreecommitdiff
path: root/scripts/phpize.m4
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2009-05-18 21:33:38 +0000
committerDerick Rethans <derick@php.net>2009-05-18 21:33:38 +0000
commitd29d24427f6bcc7a806be3ec6a334ce13472bd9d (patch)
treeda839dda79caf0656d991b366acd389e2610a8b7 /scripts/phpize.m4
parentaedaf1aea9807c2c84bf5d96c26dd356dbbdcfe1 (diff)
downloadphp-git-d29d24427f6bcc7a806be3ec6a334ce13472bd9d.tar.gz
- MFH: Get rid of the four different versions of zend_extension* and only use
zend_extension. Because of the API identifier change in PHP 5.3 you also get a proper warning message now. #- [DOC]
Diffstat (limited to 'scripts/phpize.m4')
-rw-r--r--scripts/phpize.m410
1 files changed, 1 insertions, 9 deletions
diff --git a/scripts/phpize.m4 b/scripts/phpize.m4
index bf40948eed..dcc9f6a2d2 100644
--- a/scripts/phpize.m4
+++ b/scripts/phpize.m4
@@ -96,15 +96,7 @@ CPPFLAGS=$old_CPPFLAGS
AC_MSG_RESULT([$PHP_DEBUG])
dnl Support for building and testing Zend extensions
-if test "$PHP_DEBUG" = "yes" && test "$PHP_THREAD_SAFETY" = "yes; then
- ZEND_EXT_TYPE="zend_extension_debug_ts"
-elif test "$PHP_DEBUG" = "yes"; then
- ZEND_EXT_TYPE="zend_extension_debug"
-elif test "$PHP_THREAD_SAFETY" = "yes; then
- ZEND_EXT_TYPE="zend_extension_ts"
-else
- ZEND_EXT_TYPE="zend_extension"
-fi
+ZEND_EXT_TYPE="zend_extension"
PHP_SUBST(ZEND_EXT_TYPE)
dnl Discard optimization flags when debugging is enabled