Re: Re: Public Tags of Releases
| From: | lists@rhsoft.net | Date: | Wed, 29 Nov 2017 14:43:25 +0000 |
| Subject: | Re: Re: Public Tags of Releases | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101204@lists.php.net to get a copy of this message | ||
Am 29.11.2017 um 15:37 schrieb Johannes Schlüter:
On Mi, 2017-11-29 at 12:09 +0100, Jan Ehrhardt wrote:same applies to compilers, compiler flags and system library versions anyways # rebuild 'data_file.c' from current system libmagic starting with PHP 7.2 and when /usr/bin/php is installed %if "%{version}" >= "7.2.0" if [ -f /usr/bin/php ]; then /usr/bin/php ext/fileinfo/create_data_file.php /usr/share/misc/magic.mgc > ext/fileinfo/data_file.c fi %endif # generate zend-vm when /usr/bin/php is installed %if "%{version}" >= "7.2.0" if [ -f /usr/bin/php ]; then /usr/bin/php Zend/zend_vm_gen.php --with-vm-kind=HYBRID fi %else if [ -f /usr/bin/php ]; then /usr/bin/php Zend/zend_vm_gen.php --with-vm-kind=CALL fi %endif # force use of system libtool and regenerate configure scripts cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >> aclocal.m4 libtoolize --force --copy --quiet cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4FWIW: I am using the zip's at github, like https://github.com/php/php-src/archive/php-7.2.0.zipContrary to "official" release tarballs those don't contain generated parsers etc. thus behavior might be different i.e. due to different bison versions being used. (sohuldn't be, but happened in the past) Also they don't contain ready to use configure scripts (for unix-like systems) thus a (Linux/Unix/Mac) user needs right versions of auto tools
build/libtool.m4 %if "%{version}" >= "7.2.0"touch configure.ac %else touch configure.in %endif ./buildconf --force