summaryrefslogtreecommitdiff
path: root/ext/oci8/config.m4
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2008-04-07 21:55:20 +0000
committerChristopher Jones <sixd@php.net>2008-04-07 21:55:20 +0000
commit51c5220adbf816edb0c5fdaccc63d18c777f9045 (patch)
tree10383da604c5269c56230398320ba43c987564ae /ext/oci8/config.m4
parent6522f854123d32d336eb9c40fb5e783ca72dc4ab (diff)
downloadphp-git-51c5220adbf816edb0c5fdaccc63d18c777f9045.tar.gz
PECL #13523 (x86_64 build). Make OCI8 buildable with PHP 4.3.9.
Diffstat (limited to 'ext/oci8/config.m4')
-rw-r--r--ext/oci8/config.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/oci8/config.m4 b/ext/oci8/config.m4
index 062972c07f..d97f95c5ca 100644
--- a/ext/oci8/config.m4
+++ b/ext/oci8/config.m4
@@ -134,8 +134,8 @@ if test "$PHP_OCI8" != "no"; then
IFS=$ac_IFS
oci8_php_version=`expr [$]1 \* 1000000 + [$]2 \* 1000 + [$]3`
- if test "$oci8_php_version" -le "4003010"; then
- AC_MSG_ERROR([You need at least PHP 4.3.10 to be able to use this version of OCI8. PHP $php_version found])
+ if test "$oci8_php_version" -lt "4003009"; then
+ AC_MSG_ERROR([You need at least PHP 4.3.9 to be able to use this version of OCI8. PHP $php_version found])
else
AC_MSG_RESULT([$php_version, ok])
fi
@@ -328,7 +328,7 @@ dnl version in /usr/lib
AC_MSG_CHECKING([Oracle Instant Client SDK header directory])
dnl Header directory for Instant Client SDK RPM install
- OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | $PHP_OCI8_SED -e 's!^/usr/lib/oracle/\(.*\)/client/lib[/]*$!/usr/include/oracle/\1/client!'`
+ OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | $PHP_OCI8_SED -e 's!^/usr/lib/oracle/\(.*\)/client\('${LIBDIR_SUFFIX}'\)*/lib[/]*$!/usr/include/oracle/\1/client\2!'`
dnl Header directory for Instant Client SDK zip file install
OCISDKZIPINC=$PHP_OCI8_INSTANT_CLIENT/sdk/include