php-src/sapi/cgi
Peter Kokot 4f07cdc584
Replace PHP_OUTPUT with AC_CONFIG_FILES (#15186)
This is a follow-up of GH-15177
(c96f08aa70)
and GH-15185
(9467ffb43c)

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.
2024-08-03 21:52:14 +02:00
..
tests Merge branch 'PHP-8.2' into PHP-8.3 2024-06-05 01:11:30 -05:00
cgi_main_arginfo.h Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
cgi_main.c Add cachegrind support for php-cgi warmups (#14952) 2024-07-14 19:53:16 +02:00
cgi_main.stub.php Enable class entry generation for sapi extensions 2021-02-14 12:03:48 +01:00
config9.m4 Replace PHP_OUTPUT with AC_CONFIG_FILES (#15186) 2024-08-03 21:52:14 +02:00
config.w32 Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
CREDITS
Makefile.frag Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
php-cgi.1.in Fixed Bug #65143 Missing php-cgi man page 2013-07-02 10:42:47 +02:00