Index: config.m4 =================================================================== --- config.m4 (revision 313356) +++ config.m4 (working copy) @@ -9,8 +9,8 @@ PHP_ARG_ENABLE(sqlite-utf8, whether to enable UTF-8 support in sqlite (default: ISO-8859-1), [ --enable-sqlite-utf8 SQLite: Enable UTF-8 support for SQLite], no, no) +PHP_ARG_ENABLE(pdo-sqlite2, whether to aditionally enable pdo_sqlite2 driver. Depends on sqlite, [ --enable-pdo-sqlite2 SQLite: whether to aditionally enable pdo_sqlite2 driver. Depends on sqlite], no, no) - dnl dnl PHP_PROG_LEMON dnl @@ -46,7 +46,7 @@ if test "$PHP_SQLITE" != "no"; then - if test "$PHP_PDO" != "no"; then + if test "$PHP_PDO_SQLITE2" != "no"; then PHP_CHECK_PDO_INCLUDES([], [AC_MSG_WARN([Cannot find php_pdo_driver.h.])]) if test -n "$pdo_inc_path"; then AC_DEFINE([PHP_SQLITE2_HAVE_PDO], [1], [Have PDO])