summaryrefslogtreecommitdiff
path: root/ext/oracle/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oracle/config.m4')
-rw-r--r--ext/oracle/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oracle/config.m4 b/ext/oracle/config.m4
index 58d12695c1..6a251a8c73 100644
--- a/ext/oracle/config.m4
+++ b/ext/oracle/config.m4
@@ -2,7 +2,7 @@ dnl $Id$
AC_DEFUN(AC_ORACLE_VERSION,[
AC_MSG_CHECKING([Oracle version])
- if test -f "$ORACLE_DIR/orainst/unix.rgs"; then
+ if test -s "$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