Browse Source

Don't do PDO here if PDO is disabled

PHP-5.1
Rasmus Lerdorf 21 years ago
parent
commit
802c8e83c9
  1. 3
      ext/sqlite/config.m4

3
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"

Loading…
Cancel
Save