Skip to content

Commit 6cd0e50

Browse files
authored
Autotools: Document the EXTENSION_DIR environment variable (#15743)
1 parent f9d01e4 commit 6cd0e50

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configure.ac

+4
Original file line numberDiff line numberDiff line change
@@ -1334,6 +1334,10 @@ datadir=$(eval eval echo $datadir)
13341334
dnl Build extension directory path.
13351335
ZEND_MODULE_API_NO=$($EGREP '#define ZEND_MODULE_API_NO ' $srcdir/Zend/zend_modules.h|"${SED}" 's/#define ZEND_MODULE_API_NO //')
13361336

1337+
AC_ARG_VAR([EXTENSION_DIR],
1338+
[Default directory for dynamically loadable PHP extensions. If left empty, it
1339+
is determined automatically. Can be overridden using the PHP 'extension_dir'
1340+
INI directive.])
13371341
AS_VAR_IF([EXTENSION_DIR],, [
13381342
extbasedir=$ZEND_MODULE_API_NO
13391343
AS_VAR_IF([oldstyleextdir], [yes], [

0 commit comments

Comments
 (0)