Per Stig's suggestion.

This commit is contained in:
Andrey Hristov 1999-09-13 14:15:22 +00:00
parent c21663b3e7
commit 93c35c3352

View File

@ -4,7 +4,9 @@ AC_DEFUN(AC_ORACLE_VERSION,[
AC_MSG_CHECKING([Oracle version])
if test -f "$ORACLEINST_TOP/orainst/unix.rgs"
then
ORACLE_VERSION=`grep '"ocommon"' $ORACLEINST_TOP/orainst/unix.rgs | sed 's/[[ ]][[ ]]*/:/g' | cut -d: -f 6 | cut -c 2-4`
changequote({,})
ORACLE_VERSION=`grep '"ocommon"' $ORACLEINST_TOP/orainst/unix.rgs | sed 's/[ ][ ]*/:/g' | cut -d: -f 6 | cut -c 2-4`
changequote([,])
test -z "$ORACLE_VERSION" && ORACLE_VERSION=7.3
else
if test -f "$ORACLEINST_TOP/lib/libclntsh.so.8.0"