summaryrefslogtreecommitdiff
path: root/ext/sqlite
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-06-14 01:44:16 +0000
committerfoobar <sniper@php.net>2005-06-14 01:44:16 +0000
commite5057f7c223d73209c80b6303f51bee47f046433 (patch)
tree677255ef6bfba0b46a2bb77c6512bcf2303f06a2 /ext/sqlite
parent334f5d87ff1dddcd6534ef6b2d4dae98d5e29800 (diff)
downloadphp-git-e5057f7c223d73209c80b6303f51bee47f046433.tar.gz
use PHP_CHECK_PDO_INCLUDES
Diffstat (limited to 'ext/sqlite')
-rw-r--r--ext/sqlite/config.m412
1 files changed, 1 insertions, 11 deletions
diff --git a/ext/sqlite/config.m4 b/ext/sqlite/config.m4
index 5bf0d1f060..0962f077ab 100644
--- a/ext/sqlite/config.m4
+++ b/ext/sqlite/config.m4
@@ -49,21 +49,11 @@ AC_DEFUN([PHP_PROG_LEMON],[
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
- 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_WARN([Cannot find php_pdo_driver.h.])
- fi
+ 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])
pdo_inc_path="-I$pdo_inc_path"
fi
- AC_MSG_RESULT([$pdo_inc_path])
fi
if test "$PHP_SQLITE" != "yes"; then