]> granicus.if.org Git - php/commitdiff
Fixed bug: #10779
authorfoobar <sniper@php.net>
Thu, 10 May 2001 09:25:32 +0000 (09:25 +0000)
committerfoobar <sniper@php.net>
Thu, 10 May 2001 09:25:32 +0000 (09:25 +0000)
ext/oracle/config.m4

index ec79db0575ae566605ebfa99c0d2aa5263c78970..856204a6ffb2e6f7ee8b436ff45045c9e243b989 100644 (file)
@@ -9,11 +9,11 @@ AC_DEFUN(AC_ORACLE_VERSION,[
     ORACLE_VERSION=8.1
   elif test -f $ORACLE_DIR/lib/libclntsh.s?.1.0; then
     ORACLE_VERSION=8.0
-  elif test -f $OCI8_DIR/lib/libclntsh.a; then
-    if test -f $OCI8_DIR/lib/libcore4.a; then
-      OCI8_VERSION=8.0
+  elif test -f $ORACLE_DIR/lib/libclntsh.a; then
+    if test -f $ORACLE_DIR/lib/libcore4.a; then
+      ORACLE_VERSION=8.0
     else
-      OCI8_VERSION=8.1
+      ORACLE_VERSION=8.1
     fi
   else
        AC_MSG_ERROR(Oracle needed libraries not found)