From 802c8e83c9a5a6ec06b8105ded70ce7694e5eea3 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sat, 16 Apr 2005 00:04:27 +0000 Subject: [PATCH] Don't do PDO here if PDO is disabled --- ext/sqlite/config.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/sqlite/config.m4 b/ext/sqlite/config.m4 index a391845739d..2069132a7e8 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"