wez             Sat Feb 12 22:15:12 2005 EDT

  Modified files:              
    /php-src/ext/sqlite config.m4 
  Log:
  same fix here
  
  
http://cvs.php.net/diff.php/php-src/ext/sqlite/config.m4?r1=1.29&r2=1.30&ty=u
Index: php-src/ext/sqlite/config.m4
diff -u php-src/ext/sqlite/config.m4:1.29 php-src/ext/sqlite/config.m4:1.30
--- php-src/ext/sqlite/config.m4:1.29   Sun Jan  9 16:05:05 2005
+++ php-src/ext/sqlite/config.m4        Sat Feb 12 22:15:11 2005
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.29 2005/01/09 21:05:05 sniper Exp $
+dnl $Id: config.m4,v 1.30 2005/02/13 03:15:11 wez Exp $
 dnl config.m4 for extension sqlite
 dnl vim:et:ts=2:sw=2
 
@@ -90,7 +90,7 @@
        
     sed -e s/--VERS--/$SQLITE_VERSION/ -e s/--ENCODING--/$SQLITE_ENCODING/ 
$ext_srcdir/libsqlite/src/sqlite.h.in >$ext_srcdir/libsqlite/src/sqlite.h
 
-    if test "$ext_shared" = "no"; then
+    if test "$ext_shared" = "no" -o "$ext_srcdir" != "$abs_srcdir"; then
       echo '#include <php_config.h>' > $ext_srcdir/libsqlite/src/config.h
     else
       echo "#include \"$abs_builddir/config.h\"" > 
$ext_srcdir/libsqlite/src/config.h

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to