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

index 434ffebf59a6464379aab26aa333626d7956a3a8..0bc3f977222278337924dbb9ad2aec743e1ff190 100644 (file)
@@ -1332,9 +1332,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"