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