Changeset 67

Show
Ignore:
Timestamp:
06/20/08 14:38:43 (5 months ago)
Author:
scott
Message:

Make sure we build correctly with ZTS enabled, the problem here was with some variables being unavailable when using phpize.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/config.m4

    r52 r67  
    55        sqlite3_extra_sources="" 
    66        PHP_SQLITE3_CFLAGS="" 
     7 
     8        dnl when running phpize enable_maintainer_zts is not available 
     9        if test -z "$enable_maintainer_zts"; then 
     10                ZTS=`grep '#define ZTS' $phpincludedir/main/php_config.h|$SED 's/#define ZTS//'` 
     11                if test "$ZTS" -eq "1"; then 
     12                        enable_maintainer_zts="yes" 
     13                fi 
     14        fi 
     15 
    716        if test $PHP_SQLITE3 != "yes"; then 
    817                AC_MSG_CHECKING([for sqlite3 files in default path])