diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2005-04-16 00:04:27 +0000 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2005-04-16 00:04:27 +0000 |
| commit | 802c8e83c9a5a6ec06b8105ded70ce7694e5eea3 (patch) | |
| tree | 408e33806aa458d17d394e1da1dead8a630da090 /ext/sqlite | |
| parent | b154e82d24c36d06d8bcdd2581b020e41c203472 (diff) | |
| download | php-git-802c8e83c9a5a6ec06b8105ded70ce7694e5eea3.tar.gz | |
Don't do PDO here if PDO is disabled
Diffstat (limited to 'ext/sqlite')
| -rw-r--r-- | ext/sqlite/config.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/sqlite/config.m4 b/ext/sqlite/config.m4 index a391845739..2069132a7e 100644 --- a/ext/sqlite/config.m4 +++ b/ext/sqlite/config.m4 @@ -12,6 +12,7 @@ PHP_ARG_WITH(sqlite, for sqlite support, if not using bundled library.], yes) if test "$PHP_SQLITE" != "no"; then + if test "$PHP_PDO" != "no"; then AC_MSG_CHECKING([for PDO includes]) if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$abs_srcdir/ext @@ -27,8 +28,8 @@ if test "$PHP_SQLITE" != "no"; then AC_DEFINE([PHP_SQLITE2_HAVE_PDO], [1], [Have PDO]) pdo_inc_path="-I$pdo_inc_path" fi - AC_MSG_RESULT($pdo_inc_path) + fi if test "$PHP_SQLITE" != "yes"; then SEARCH_PATH="/usr/local /usr" |
