[php-src] PR #15684: Autotools: Document PHP environment build configuration vars
| From: | petk | Date: | Sun, 01 Sep 2024 00:23:34 +0000 |
| Subject: | [php-src] PR #15684: Autotools: Document PHP environment build configuration vars | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28325@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15684
Author: petk
This is the first part of the https://github.com/php/php-src/pull/12050.
I'm making these in a separate pull request because I'm still rechecking other remaining
variables (EXTENSION_DIR, EXTRA_INCLUDES, EXTRA_CFLAGS, and EXTRA_LDFLAGS) if they can be done a bit
differently.
So, this marks the following environment variables as precious:
- PHP_BUILD_ARCH
- PHP_BUILD_COMPILER
- PHP_BUILD_PROVIDER
- PHP_BUILD_SYSTEM
- PHP_UNAME
Meaning, they are now also shown in the
./configure --help output, and they can be used
like this when configuring the PHP build:
./configure PHP_BUILD_ARCH="..." PHP_BUILD_COMPILER="..." ...