summaryrefslogtreecommitdiff
path: root/ext/pdo_oci
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2007-08-17 13:30:36 (GMT)
committerChristopher Jones <sixd@php.net>2007-08-17 13:30:36 (GMT)
commit440ed3da7f192e23d3ac394a00c9a0d3b3c3d687 (patch)
treeeefcc64829a24d293836a8c77ea071baa4e550a9 /ext/pdo_oci
parentb27d339ddb2fc329b15e94c3a7b9e084d5cdb8a7 (diff)
downloadphp-440ed3da7f192e23d3ac394a00c9a0d3b3c3d687.tar.gz
PDO_OCI: fix Instant Client build broken by logic correction during previous Solaris lib/lib32 fix
Diffstat (limited to 'ext/pdo_oci')
-rwxr-xr-xext/pdo_oci/config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_oci/config.m4 b/ext/pdo_oci/config.m4
index 772b2e9..0326a1f 100755
--- a/ext/pdo_oci/config.m4
+++ b/ext/pdo_oci/config.m4
@@ -78,8 +78,6 @@ You need to tell me where to find your oracle SDK, or set ORACLE_HOME.
AC_MSG_RESULT([yes])
fi
- AC_PDO_OCI_CHECK_LIB_DIR($PDO_OCI_DIR)
-
if test "instantclient" = "`echo $PDO_OCI_DIR | cut -d, -f1`" ; then
PDO_OCI_IC_PREFIX="`echo $PDO_OCI_DIR | cut -d, -f2`"
PDO_OCI_IC_VERS="`echo $PDO_OCI_DIR | cut -d, -f3`"
@@ -110,6 +108,8 @@ You need to tell me where to find your oracle SDK, or set ORACLE_HOME.
fi
PDO_OCI_VERSION="`echo $PDO_OCI_IC_VERS | cut -d. -f1-2`"
else
+ AC_PDO_OCI_CHECK_LIB_DIR($PDO_OCI_DIR)
+
if test -d "$PDO_OCI_DIR/rdbms/public"; then
PHP_ADD_INCLUDE($PDO_OCI_DIR/rdbms/public)
PDO_OCI_INCLUDES="$PDO_OCI_INCLUDES -I$PDO_OCI_DIR/rdbms/public"