summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/oracle/config.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/oracle/config.m4 b/ext/oracle/config.m4
index ec79db0575..856204a6ff 100644
--- a/ext/oracle/config.m4
+++ b/ext/oracle/config.m4
@@ -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)