Re: Configure summary
| From: | Gwynne | Date: | Mon, 03 Jul 2006 22:16:50 +0000 |
| Subject: | Re: Configure summary | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-24255@lists.php.net to get a copy of this message | ||
On Jul 3, 2006, at 6:09 PM, Pierre wrote:
The problem I have with this is that all of that information is already findable from the configure output. Yes, you have to look for it, but the idea of a summary is to summarize, not give extensive details and basically duplicate all the AC_MSG_CHECKING output. Maybe this is something that would only be provided by my --with-summary=extended switch?I'm working on a patch to bring in this functionality, out of sheer "I need to learn more about autoconf and I want to contribute to PHP"- ness :). Does anyone have any thoughts on what might go into such a summary?Something like: GD Support Yes Bundled PNG Yes JPEG No GIF R/W Yes PDO Support Yes PDO Mysql Yes PDO Sqlite Bundled Yes ... Maybe with the version found and used, but it could make the summary unreadable :)
I had this thought, but I wasn't really looking to do something that'd require changing every config.m4 file in the PHP hierarchy. Obviously this would be optional for any given extension, but still, it's a larger job than I'm fully confident I can do.So far, I have install prefix, SAPI, debug on/off, things of that simple nature. Also, any thoughts on whether the summary should be printed from configure itself or config.status?I think it may require some additional macros. These macros can be called from the extension to set the key/value pairs to display.
Good luck and don't hesitate to harass the list until you get it working, this is something I was waiting for since way too long (and being lazy ;)Well in that case, perhaps someone can tell me whether I should be displaying this information from configure itself (configure.in AC_MSG_RESULT macros) or from config.status (init_cmds in AC_OUTPUT) :). If it's available from config.status, maybe that'd be another reason to provide the very detailed output you suggested above? -- Gwynne, Daughter of the Code "This whole world is an asylum for the incurable."