Re: Window Build Patch - Check for grep and sed
| From: | Elizabeth Smith | Date: | Wed, 28 Feb 2007 02:26:21 +0000 |
| Subject: | Re: Window Build Patch - Check for grep and sed | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-3737@lists.php.net to get a copy of this message | ||
Sick of me yet? Round 5 - and one of the biggest patches
This actually adds build support for the gtk library versioning for the
windows build. It required some rather interesting rearranging.
First of all, buildconf no longer generates the temp.bat file and adds
the generator lines. Instead the config.w32 in ext/gtk does that (just
like all the other extensions)
Second, a function was added to confutils that parses the gtkversion.h
header and yanks out the library version. The lowest possible version
available is 2.6 and there is no upper limit. This is then assigned to
PHP_GTK_LIBVERSION - as per Andrei's request, there is no config
variable to change this, what it finds is what you get.
Third, the actual generation of the files had to be moved so it didn't
happen until AFTER the point where the gtk library version was checked.