diff options
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" |
