mirror of
https://github.com/php/php-src.git
synced 2024-11-26 03:16:33 +08:00
this now works on .so and .sl (HP) systems
This commit is contained in:
parent
e2e7283a30
commit
c693ca137f
@ -5,9 +5,9 @@ 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.so.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.so.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?
|
||||
OCI8_VERSION=8.0
|
||||
|
@ -5,9 +5,9 @@ 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.so.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.so.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?
|
||||
ORACLE_VERSION=8.0
|
||||
|
Loading…
Reference in New Issue
Block a user