Files
packages/lang/php8/Config.in
Florian Eckert 74a3da92b2 php8: add php8 depends and move compile option to Config.in
The php8 Makefile is already quite large. To improve readability, move
config section to a separate 'Config.in' file. To ensure that the PHP8
option is only saved in '.config' if PHP8 has been selected for building. A
depends on 'PACKAGE_php8' is added to the configuration option in the
'Config.in' file.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2026-01-11 20:45:13 +01:00

37 lines
824 B
Plaintext

menu "Configuration"
depends on PACKAGE_php8
config PHP8_LIBXML
bool "PHP8 LIBXML support"
default y
config PHP8_DOM
bool "PHP8 DOM support"
depends on PHP8_LIBXML
default y
config PHP8_SYSTEMTZDATA
bool "Use system timezone data instead of php's built-in database"
depends on PACKAGE_php8-cli || PACKAGE_php8-cgi || PACKAGE_apache-mod-php8
default y
help
Enabling this feature automatically selects the zoneinfo-core package
which contains data for UTC timezone. To use other timezones you have
to install the corresponding zoneinfo-... package(s).
config PHP8_GETTEXT
bool "Enable gettext"
default y
config PHP8_INTL
bool "Enable Internationalization"
depends on PHP8_GETTEXT
default y
config PHP8_FULLICUDATA
bool "Add dependency to full ICU Data"
depends on PHP8_INTL
default n
endmenu