From: Corne' Cornelius Date: Wed, 19 Feb 2003 07:16:01 +0000 (+0000) Subject: Updated IFX_VERSION entry to work with new Version output of ESQL/C X-Git-Tag: RELEASE_0_5~883 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48e5c1dae7242d5bf54c278f4e0513bc0b748151;p=php Updated IFX_VERSION entry to work with new Version output of ESQL/C @- Updated IFX_VERSION entry to work with new Version output of ESQL/C (Corne') --- diff --git a/ext/informix/config.m4 b/ext/informix/config.m4 index 0824da7c06..23869101d7 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/^.*Version \([0-9]\)\.\([0-9]*\).*$/\1\2/p'`] + IFX_VERSION=[`$INFORMIXDIR/bin/esql -V | grep "ESQL Version" | sed -ne '1 s/\(.*\)ESQL Version \([0-9]\)\.\([0-9]*\).*/\2\3/p'`] AC_MSG_RESULT($IFX_VERSION) AC_DEFINE_UNQUOTED(IFX_VERSION, $IFX_VERSION, [ ])