]> granicus.if.org Git - php/commitdiff
PDO_OCI: fix Instant Client build broken by logic correction during previous Solaris...
authorChristopher Jones <sixd@php.net>
Fri, 17 Aug 2007 13:30:36 +0000 (13:30 +0000)
committerChristopher Jones <sixd@php.net>
Fri, 17 Aug 2007 13:30:36 +0000 (13:30 +0000)
ext/pdo_oci/config.m4

index 772b2e9cd31c9135ad296f624e47bb3a055b8822..0326a1ff760318cc9e8905b1513843fbc0f6f7d1 100755 (executable)
@@ -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"