Browse Source

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')
PHP-5
Corne' Cornelius 24 years ago
parent
commit
48e5c1dae7
  1. 2
      ext/informix/config.m4

2
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, [ ])

Loading…
Cancel
Save