summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-06-14 00:00:53 +0000
committerfoobar <sniper@php.net>2005-06-14 00:00:53 +0000
commit15cf2a60b0239096f470c7ae3782af922c38912e (patch)
treeeb4615e2a78319373d5501a1ad0df7fa5a48c08e /ext/pdo_sqlite
parentee28f62dc07fa9576e45cf679654b9c236232b12 (diff)
downloadphp-git-15cf2a60b0239096f470c7ae3782af922c38912e.tar.gz
- Added PHP_CHECK_PDO_INCLUDES macro (caches the result)
Diffstat (limited to 'ext/pdo_sqlite')
-rw-r--r--ext/pdo_sqlite/config.m412
1 files changed, 1 insertions, 11 deletions
diff --git a/ext/pdo_sqlite/config.m4 b/ext/pdo_sqlite/config.m4
index fc3642438d..9e6dd18dab 100644
--- a/ext/pdo_sqlite/config.m4
+++ b/ext/pdo_sqlite/config.m4
@@ -9,17 +9,7 @@ PHP_ARG_WITH(pdo-sqlite, for sqlite 3 driver for PDO,
if test "$PHP_PDO_SQLITE" != "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
- elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then
- pdo_inc_path=$abs_srcdir/ext
- elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then
- pdo_inc_path=$prefix/include/php/ext
- else
- AC_MSG_ERROR([Cannot find php_pdo_driver.h.])
- fi
- AC_MSG_RESULT($pdo_inc_path)
+ PHP_CHECK_PDO_INCLUDES
php_pdo_sqlite_sources_core="pdo_sqlite.c sqlite_driver.c sqlite_statement.c"