summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorne' Cornelius <nobbie@php.net>2003-02-19 07:16:01 +0000
committerCorne' Cornelius <nobbie@php.net>2003-02-19 07:16:01 +0000
commit48e5c1dae7242d5bf54c278f4e0513bc0b748151 (patch)
treeac3c1c32ef8654b511da403842fc216e11d06711
parent4205e66f63827672c58862317cab2245591438dc (diff)
downloadphp-git-48e5c1dae7242d5bf54c278f4e0513bc0b748151.tar.gz
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')
-rw-r--r--ext/informix/config.m42
1 files changed, 1 insertions, 1 deletions
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, [ ])