Autotools: Document the EXTENSION_DIR environment variable (#15743)

This commit is contained in:
Peter Kokot 2024-09-04 23:25:50 +02:00 committed by GitHub
parent f9d01e46fe
commit 6cd0e50845
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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], [