summaryrefslogtreecommitdiff
path: root/ext/oci8/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/config.m4')
-rw-r--r--ext/oci8/config.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/oci8/config.m4 b/ext/oci8/config.m4
index 8d2f2a9527..53cb495267 100644
--- a/ext/oci8/config.m4
+++ b/ext/oci8/config.m4
@@ -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"