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

index 5b16fdebae780645b0063bff2592226cc95a2784..e6fcd522953cc8abfdab61d5731be75fe8525d8d 100644 (file)
@@ -1284,9 +1284,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"