From f38497155226d2ee8d2d7fc32fc26b58b9c0057c Mon Sep 17 00:00:00 2001 From: Maxime BESSON Date: Fri, 6 Feb 2015 12:06:29 +0100 Subject: Look for PDO include files in the right folder Configure scripts for extensions look for PDO include files in $prefix/include/php. This change makes them look into $phpincludedir instead, which may be different from $prefix/include/php. --- ext/pdo_odbc/config.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/pdo_odbc') diff --git a/ext/pdo_odbc/config.m4 b/ext/pdo_odbc/config.m4 index 74734c4d63..2301e87b8d 100755 --- a/ext/pdo_odbc/config.m4 +++ b/ext/pdo_odbc/config.m4 @@ -50,8 +50,8 @@ if test "$PHP_PDO_ODBC" != "no"; then pdo_cv_inc_path=$abs_srcdir/ext elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then pdo_cv_inc_path=$abs_srcdir/ext - elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then - pdo_cv_inc_path=$prefix/include/php/ext + elif test -f $phpincludedir/ext/pdo/php_pdo_driver.h; then + pdo_cv_inc_path=$phpincludedir/ext else AC_MSG_ERROR([Cannot find php_pdo_driver.h.]) fi -- cgit v1.2.1