1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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

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