[php-src] PR #15186: Replace PHP_OUTPUT with AC_CONFIG_FILES

From: Date: Wed, 31 Jul 2024 23:44:23 +0000
Subject: [php-src] PR #15186: Replace PHP_OUTPUT with AC_CONFIG_FILES
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-27591@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15186 Author: petk This is a follow-up of GH-15177 (c96f08aa70d75736fe227975804f998c408acaaf) and GH-15185 The PHP_OUTPUT macro was introduced in the very early phase of the build system due to AC_OUTPUT handling issues in the old Autoconf versions before the AC_CONFIG_FILES, AC_CONFIG_COMMANDS etc were introduced with the AC_OUTPUT signature without arguments. The PHP_OUTPUT was also helping Makefile.in back then being properly generated based on whether all files were generated or only some (when using the obsolete CONFIG_FILES=... ./config.status invocation instead of the new ./config.status --file=...). Another issue is that PHP_OUTPUT can't be used by extensions when using phpize. This replaces the PHP_OUTPUT invocations with default AC_CONFIG_FILES. The obsolete "REDO_ALL" feature at the config.status invocation is also removed with a simpler unconditional generation. In phar extension the "ext/phar" is replaced with $ext_dir variable to be able to use phpize.

« previous php.git-pulls (#27591) next »