diff options
author | foobar <sniper@php.net> | 2003-01-13 23:31:13 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-01-13 23:31:13 +0000 |
commit | cabee3635faa2692e057eb3e9647e1c4bd59c04b (patch) | |
tree | d7805e26b936281f2e4a48f3182f54d50c63b54e /ext/informix | |
parent | d07dc0fc4cd2a074995ab73e9dc5b3c212504173 (diff) | |
download | php-git-cabee3635faa2692e057eb3e9647e1c4bd59c04b.tar.gz |
Fixed bug: #21543, Informix version detection fails
Diffstat (limited to 'ext/informix')
-rw-r--r-- | ext/informix/config.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/informix/config.m4 b/ext/informix/config.m4 index d2fc08666d..0824da7c06 100644 --- a/ext/informix/config.m4 +++ b/ext/informix/config.m4 @@ -44,7 +44,7 @@ if test "$PHP_INFORMIX" != "no"; then esac AC_MSG_CHECKING([Informix version]) - IFX_VERSION=[`$INFORMIXDIR/bin/esql -V | sed -ne '1 s/^[^0-9]*\([0-9]\)\.\([0-9]*\).*/\1\2/p'`] + IFX_VERSION=[`$INFORMIXDIR/bin/esql -V | sed -ne '1 s/^.*Version \([0-9]\)\.\([0-9]*\).*$/\1\2/p'`] AC_MSG_RESULT($IFX_VERSION) AC_DEFINE_UNQUOTED(IFX_VERSION, $IFX_VERSION, [ ]) |