Skip to content

Commit

Permalink
Add env var for additional configure options.
Browse files Browse the repository at this point in the history
Add a new env var (`PHP_ADDITIONAL_CONFIGURE_OPTIONS`) to allow adding additional configure options without disabling OS-based configure options.
  • Loading branch information
jpickwell authored Jan 11, 2024
1 parent 1eaf4de commit 0cdde6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ construct_configure_options() {
local configure_options="$PHP_CONFIGURE_OPTIONS $global_config"
fi

if [ -n "${PHP_ADDITIONAL_CONFIGURE_OPTIONS}" ]; then
configure_options="${configure_options} ${PHP_ADDITIONAL_CONFIGURE_OPTIONS}"
fi

if [ "${PHP_WITHOUT_PEAR:-no}" != "no" ]; then
configure_options="$configure_options --without-pear"
else
Expand Down

0 comments on commit 0cdde6a

Please sign in to comment.