summaryrefslogtreecommitdiff
path: root/ext/oracle/config.m4
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2000-05-15 07:24:09 +0000
committerThies C. Arntzen <thies@php.net>2000-05-15 07:24:09 +0000
commitc693ca137f7a948540ea9c285d8d74405e438b7d (patch)
treea8e25b3b2b1e6ce783feb66a6f7ebf110531b00e /ext/oracle/config.m4
parente2e7283a304cf727c33937c730808f3310e26fcb (diff)
downloadphp-git-c693ca137f7a948540ea9c285d8d74405e438b7d.tar.gz
this now works on .so and .sl (HP) systems
Diffstat (limited to 'ext/oracle/config.m4')
-rw-r--r--ext/oracle/config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oracle/config.m4 b/ext/oracle/config.m4
index 866db62d71..b55706e52c 100644
--- a/ext/oracle/config.m4
+++ b/ext/oracle/config.m4
@@ -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