Workaround for m4 weirdness.
authorAndrey Hristov <andrey@php.net>
Fri, 10 Sep 1999 18:53:55 +0000 (18:53 +0000)
committerAndrey Hristov <andrey@php.net>
Fri, 10 Sep 1999 18:53:55 +0000 (18:53 +0000)
ext/oci8/config.m4

index fe1420aefe2cf86a907b4b59439f71cc8787a5c7..8d2f2a95277ff27548b27538414445f41231e2f2 100644 (file)
@@ -4,7 +4,7 @@ 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`
+       ORACLE_VERSION=`grep '"ocommon"' $ORACLEINST_TOP/orainst/unix.rgs | sed 's/[[ ]][[ ]]*/:/g' | cut -d: -f 6 | cut -c 2-4`
     test -z "$ORACLE_VERSION" && ORACLE_VERSION=7.3
   else
     if test -f "$ORACLEINST_TOP/lib/libclntsh.so.8.0"