[php-src] master: configure.ac: register main/io as a build directory (#22913)
Mateusz Łukasik via GitHub <[email protected]> Sun, 2 Aug 2026 21:30:40 +0000
| Newsgroups | gmane.comp.php.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
Author: Mateusz Łukasik (mati75) Committer: GitHub (web-flow) Pusher: bukka Date: 2026-08-02T23:30:37+02:00 Commit: https://github.com/php/php-src/commit/395b29846e4bab536be017e98a523f9e94d5a204 Raw diff: https://github.com/php/php-src/commit/395b29846e4bab536be017e98a523f9e94d5a204.diff configure.ac: register main/io as a build directory (#22913) PHP_ADD_SOURCES([main/io], ...) adds the new I/O subsystem sources (php_io.c, php_io_copy_*.c) to the build, but main/io was never added to the PHP_ADD_BUILD_DIR list. Since only directories in that list get pre-created for out-of-tree (VPATH) builds, main/io/ never existed in such build trees, causing: fatal error: opening dependency file main/io/php_io_copy_freebsd.dep: No such file or directory for every file in main/io/ when building outside the source tree (e.g. Debian's separate fpm-build/cli-build directories). Add main/io to PHP_ADD_BUILD_DIR, alongside the other source directories (main, main/poll, main/streams, TSRM, Zend, ...). Changed paths: M configure.ac Diff: diff --git a/configure.ac b/configure.ac index ec64637b186b..3229e0dac040 100644 --- a/configure.ac +++ b/configure.ac @@ -1834,6 +1834,7 @@ AC_DEFINE([HAVE_BUILD_DEFS_H], [1], PHP_ADD_BUILD_DIR([ main + main/io main/poll main/streams scripts