]> granicus.if.org Git - php/commitdiff
fix .sl <-> .so recognition
authorThies C. Arntzen <thies@php.net>
Mon, 15 May 2000 10:01:51 +0000 (10:01 +0000)
committerThies C. Arntzen <thies@php.net>
Mon, 15 May 2000 10:01:51 +0000 (10:01 +0000)
ext/oci8/config.m4
ext/oracle/config.m4

index a312ac8bc3a8f4f89dd1a11df7ab1aca8cf776e6..22e36bc6c94948ac2c016960a4db54dbffb7ed5c 100644 (file)
@@ -5,11 +5,11 @@ AC_DEFUN(AC_OCI8_VERSION,[
   if test -f "$OCI8_DIR/orainst/unix.rgs"; then
        OCI8_VERSION=`grep '"ocommon"' $OCI8_DIR/orainst/unix.rgs | sed 's/[ ][ ]*/:/g' | cut -d: -f 6 | cut -c 2-4`
        test -z "$OCI8_VERSION" && OCI8_VERSION=7.3
-  elif test -f "$OCI8_DIR/lib/libclntsh.s?.8.0"; then
+  elif test -f $OCI8_DIR/lib/libclntsh.s?.8.0; then
        OCI8_VERSION=8.1
-  elif test -f "$OCI8_DIR/lib/libclntsh.s?.1.0"; then
+  elif test -f $OCI8_DIR/lib/libclntsh.s?.1.0; then
        OCI8_VERSION=8.0
-  elif test -f "$OCI8_DIR/lib/libclntsh.a"; then # AIX - XXX is this check still right for 8.1?
+  elif test -f $OCI8_DIR/lib/libclntsh.a; then # AIX - XXX is this check still right for 8.1?
        OCI8_VERSION=8.0
   else
     AC_MSG_ERROR(Oracle-OCI8 needed libraries not found)
index b55706e52c01f848c28c30360894b1dd5343b50e..44db4151c7203bb0331046a4df7d0ffa64819241 100644 (file)
@@ -5,11 +5,11 @@ AC_DEFUN(AC_ORACLE_VERSION,[
   if test -f "$ORACLE_DIR/orainst/unix.rgs"; then
        ORACLE_VERSION=`grep '"ocommon"' $ORACLE_DIR/orainst/unix.rgs | sed 's/[ ][ ]*/:/g' | cut -d: -f 6 | cut -c 2-4`
        test -z "$ORACLE_VERSION" && ORACLE_VERSION=7.3
-  elif test -f "$ORACLE_DIR/lib/libclntsh.s?.8.0"; then
+  elif test -f $ORACLE_DIR/lib/libclntsh.s?.8.0; then
     ORACLE_VERSION=8.1
-  elif test -f "$ORACLE_DIR/lib/libclntsh.s?.1.0"; then
+  elif test -f $ORACLE_DIR/lib/libclntsh.s?.1.0; then
     ORACLE_VERSION=8.0
-  elif test -f "$ORACLE_DIR/lib/libclntsh.a"; then # AIX - XXX is this check still right for 8.1?
+  elif test -f $ORACLE_DIR/lib/libclntsh.a; then # AIX - XXX is this check still right for 8.1?
     ORACLE_VERSION=8.0
   else
        AC_MSG_ERROR(Oracle needed libraries not found)