From: foobar Date: Mon, 13 Jan 2003 23:31:13 +0000 (+0000) Subject: Fixed bug: #21543, Informix version detection fails X-Git-Tag: PHP_5_0_dev_before_13561_fix~258 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cabee3635faa2692e057eb3e9647e1c4bd59c04b;p=php Fixed bug: #21543, Informix version detection fails --- 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, [ ])