summaryrefslogtreecommitdiff
path: root/ext/sqlite
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2009-11-29 06:13:22 +0000
committerRasmus Lerdorf <rasmus@php.net>2009-11-29 06:13:22 +0000
commit937358ebc7a6e0eaaf2bc252015b3c1544eb48e6 (patch)
tree3d0f41c0204403270439809ca9716c196f6add5e /ext/sqlite
parent20ee37900762d9fa19af8c83d9a9444e1c7c3466 (diff)
downloadphp-git-937358ebc7a6e0eaaf2bc252015b3c1544eb48e6.tar.gz
Revert attempt at supporting both autoconf 2.13 and
modern versions in the same build chain. There are simply too many broken things in 2.13 to make it work. Cache handling is broken as well which is why I need to revert the pdo_inc_path cache fix as well. trunk is now 2.60+ only and I'll work on cleaning out all the legacy cruft from there.
Diffstat (limited to 'ext/sqlite')
-rw-r--r--ext/sqlite/config.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/sqlite/config.m4 b/ext/sqlite/config.m4
index a1699142ea..dbee55fa94 100644
--- a/ext/sqlite/config.m4
+++ b/ext/sqlite/config.m4
@@ -48,9 +48,9 @@ AC_DEFUN([PHP_PROG_LEMON],[
if test "$PHP_SQLITE" != "no"; then
if test "$PHP_PDO" != "no"; then
PHP_CHECK_PDO_INCLUDES([], [AC_MSG_WARN([Cannot find php_pdo_driver.h.])])
- if test -n "$pdo_cv_inc_path"; then
+ if test -n "$pdo_inc_path"; then
AC_DEFINE([PHP_SQLITE2_HAVE_PDO], [1], [Have PDO])
- pdo_cv_inc_path="-I$pdo_cv_inc_path"
+ pdo_inc_path="-I$pdo_inc_path"
fi
fi
@@ -83,13 +83,13 @@ if test "$PHP_SQLITE" != "no"; then
-L$SQLITE_DIR/$PHP_LIBDIR -lm
])
SQLITE_MODULE_TYPE=external
- PHP_SQLITE_CFLAGS=$pdo_cv_inc_path
+ PHP_SQLITE_CFLAGS=$pdo_inc_path
sqlite_extra_sources="libsqlite/src/encode.c"
else
# use bundled library
PHP_PROG_LEMON
SQLITE_MODULE_TYPE=builtin
- PHP_SQLITE_CFLAGS="-I@ext_srcdir@/libsqlite/src -I@ext_builddir@/libsqlite/src $pdo_cv_inc_path"
+ PHP_SQLITE_CFLAGS="-I@ext_srcdir@/libsqlite/src -I@ext_builddir@/libsqlite/src $pdo_inc_path"
sqlite_extra_sources="libsqlite/src/opcodes.c \
libsqlite/src/parse.c libsqlite/src/encode.c \
libsqlite/src/auth.c libsqlite/src/btree.c libsqlite/src/build.c \