Yes, that looks better. --Jani On Wed, 19 Feb 2003, Corne' Cornelius wrote:
>Sorry, didn't see the update for that. The fix i added works for older >versions too. I see the revision 1.28 check for "Version" where as the >one i just added checks for "ESQL Version". The version line reads: > >IBM Informix CSDK Version 2.80, IBM Informix-ESQL Version 9.52.UC2 > >So maybe it would be better as "ESQL Version" if IBM decides to swap >CSDK and ESQL version around in the version string ? >Also, maybe it would be good to make it: > >IFX_VERSION=[`$INFORMIXDIR/bin/esql -V | grep "ESQL Version" | sed -ne '1 >s/\(.*\)ESQL Version \([0-9]*\)\.\([0-9]*\).*/\2\3/p'`] > >for when ESQL/C Version 10 comes out ? Currently it only checks for 1 >digit as Major version > > > >Jani Taskinen wrote: > >> Which version might that be? There was a fix just recently >> for this. Are you sure this doesn't break that fix and >> works also for older versions?? >> >> --Jani >> >> >>On Wed, 19 Feb 2003, Corne' Cornelius wrote: >> >> >> >>>nobbie Wed Feb 19 02:16:01 2003 EDT >>> >>> Modified files: >>> /php4/ext/informix config.m4 >>> Log: >>> 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') >>> >>> >>>Index: php4/ext/informix/config.m4 >>>diff -u php4/ext/informix/config.m4:1.28 php4/ext/informix/config.m4:1.29 >>>--- php4/ext/informix/config.m4:1.28 Mon Jan 13 18:31:12 2003 >>>+++ php4/ext/informix/config.m4 Wed Feb 19 02:16:00 2003 >>>@@ -1,5 +1,5 @@ >>>dnl >>>-dnl $Id: config.m4,v 1.28 2003/01/13 23:31:12 sniper Exp $ >>>+dnl $Id: config.m4,v 1.29 2003/02/19 07:16:00 nobbie Exp $ >>>dnl >>> >>>PHP_ARG_WITH(informix,for Informix support, >>>@@ -44,7 +44,7 @@ >>> 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, [ ]) >>> >>> >>> >>> >>> >>> >>> >> >> >> > > > >=============Disclaimer and Confidentiality=================== >This message contains information intended for the perusal, and/or use (if so >stated), by the stated addressee(s) only. The information is confidential and >privileged. If you are not an intended recipient, do not peruse, use, disseminate, >distribute, copy or in any manner rely upon he information contained in this message >(directly or indirectly). The sender and/or the entity represented by the sender >shall not be held accountable in the event that this prohibition is disregarded. If >you receive this message in error, notify the sender immediately by e-mail, fax or >telephone representations contained in this message, whether express or implied, are >those of the sender only, unless that sender expressly states them to be the views or >representations of an entity or person, who shall be named by the sender and who the >sender shall state to represent. No liability shall otherwise attach to any other >entity or person. ====================================================== > > -- <- For Sale! -> -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php