tony2001                Wed Jan 30 09:11:08 2008 UTC

  Modified files:              
    /php-src/ext/sqlite config.m4 
  Log:
  both pdo & spl dependencies are optional
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/sqlite/config.m4?r1=1.44&r2=1.45&diff_format=u
Index: php-src/ext/sqlite/config.m4
diff -u php-src/ext/sqlite/config.m4:1.44 php-src/ext/sqlite/config.m4:1.45
--- php-src/ext/sqlite/config.m4:1.44   Tue Jul  3 17:24:37 2007
+++ php-src/ext/sqlite/config.m4        Wed Jan 30 09:11:08 2008
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.44 2007/07/03 17:24:37 sniper Exp $
+dnl $Id: config.m4,v 1.45 2008/01/30 09:11:08 tony2001 Exp $
 dnl config.m4 for extension sqlite
 dnl vim:et:ts=2:sw=2
 
@@ -103,16 +103,15 @@
         libsqlite/src/vacuum.c libsqlite/src/copy.c \
         libsqlite/src/vdbeaux.c libsqlite/src/date.c \
         libsqlite/src/where.c libsqlite/src/trigger.c"
- 
-    PHP_ADD_EXTENSION_DEP(sqlite, spl)
-    PHP_ADD_EXTENSION_DEP(sqlite, pdo)
   fi
-
   dnl
   dnl Common for both bundled/external
   dnl
   sqlite_sources="sqlite.c sess_sqlite.c pdo_sqlite2.c $sqlite_extra_sources" 
   PHP_NEW_EXTENSION(sqlite, $sqlite_sources, $ext_shared,,$PHP_SQLITE_CFLAGS)
+  PHP_ADD_EXTENSION_DEP(sqlite, spl, true)
+  PHP_ADD_EXTENSION_DEP(sqlite, pdo, true)
+  
   PHP_ADD_MAKEFILE_FRAGMENT
   PHP_SUBST(SQLITE_SHARED_LIBADD)
   PHP_INSTALL_HEADERS([$ext_builddir/libsqlite/src/sqlite.h])

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

Reply via email to