Skip to content

Autotools: Document the EXTENSION_DIR environment variable #15743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,10 @@ datadir=$(eval eval echo $datadir)
dnl Build extension directory path.
ZEND_MODULE_API_NO=$($EGREP '#define ZEND_MODULE_API_NO ' $srcdir/Zend/zend_modules.h|"${SED}" 's/#define ZEND_MODULE_API_NO //')

AC_ARG_VAR([EXTENSION_DIR],
[Default directory for dynamically loadable PHP extensions. If left empty, it
is determined automatically. Can be overridden using the PHP 'extension_dir'
INI directive.])
AS_VAR_IF([EXTENSION_DIR],, [
extbasedir=$ZEND_MODULE_API_NO
AS_VAR_IF([oldstyleextdir], [yes], [
Expand Down
Loading