]> granicus.if.org Git - php/commitdiff
fix check for zend_extension type
authorAntony Dovgal <tony2001@php.net>
Wed, 11 Feb 2009 09:07:41 +0000 (09:07 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 11 Feb 2009 09:07:41 +0000 (09:07 +0000)
configure.in

index 6b3d3fdf7ed1c35aa06547ed285fcbef4ccf4a0d..e0a1414d508a2328eb518ab9e81ae4e2bbcbfa2c 100644 (file)
@@ -1246,9 +1246,9 @@ if test "$PHP_THREAD_SAFETY" = "yes" && test "$PHP_MYSQL" = "yes"; then
   CPPFLAGS="$CPPFLAGS -DTHREAD=1"
 fi
 
-if test "$PHP_DEBUG" = "yes" && test "$PHP_THREAD_SAFETY" = "yes"; then
+if test "$PHP_DEBUG" = "1" && test "$PHP_THREAD_SAFETY" = "yes"; then
   ZEND_EXT_TYPE="zend_extension_debug_ts"
-elif test "$PHP_DEBUG" = "yes"; then
+elif test "$PHP_DEBUG" = "1"; then
   ZEND_EXT_TYPE="zend_extension_debug"
 elif test "$PHP_THREAD_SAFETY" = "yes"; then
   ZEND_EXT_TYPE="zend_extension_ts"