Re: [PHP4BETA] cvs: /php4/ext/oci8 config.m4
| From: | Stig Bakken | Date: | Mon, 13 Sep 1999 11:35:55 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/ext/oci8 config.m4 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4390@lists.php.net to get a copy of this message | ||
On Fri, 10 Sep 1999, Andrey Zmievski wrote:
| andrey Fri Sep 10 14:53:56 1999 EDT
|
| Modified files:
| /php4/ext/oci8 config.m4
| Log:
| Workaround for m4 weirdness.
|
|
| Index: php4/ext/oci8/config.m4
| diff -u php4/ext/oci8/config.m4:1.2 php4/ext/oci8/config.m4:1.3
| --- php4/ext/oci8/config.m4:1.2 Fri Sep 3 15:04:34 1999
| +++ php4/ext/oci8/config.m4 Fri Sep 10 14:53:55 1999
| @@ -1,10 +1,10 @@
| -dnl $Id: config.m4,v 1.2 1999/09/03 19:04:34 sr Exp $
| +dnl $Id: config.m4,v 1.3 1999/09/10 18:53:55 andrey Exp $
|
| 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"
FYI, another way to fix this is by temporarily changing m4's quotation
marks:
changequote({,})
ORACLE_VERSION=blah | sed 's/[ ][ ]*/:/g' | blah
changequote([,])
- Stig