Skip to content

Commit 8853cf3

Browse files
committed
Autotools: Add note about PHP_ADD_EXTENSION_DEP usage
Until the AWK regex is implemented better, this macro must be called on its own line with unquoted arguments. [skip ci]
1 parent b0ac9bf commit 8853cf3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/php.m4

+4-1
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,10 @@ dnl $1 = name of extension, $2 = extension upon which it depends
986986
dnl $3 = optional: if true, it's ok for $2 to have not been configured default
987987
dnl is false and should halt the build. To be effective, this macro must be
988988
dnl invoked *after* PHP_NEW_EXTENSION. The extension on which it depends must
989-
dnl also have been configured. See ADD_EXTENSION_DEP in win32 build.
989+
dnl also have been configured. Due to the limited genif.sh parsing and regex
990+
dnl matching implementation, this macro must be called on its own line, and its
991+
dnl arguments must be passed unquoted (without Autoconf '[' and ']' characters.
992+
dnl For Windows, see 'ADD_EXTENSION_DEP' in the win32 build.
990993
dnl
991994
AC_DEFUN([PHP_ADD_EXTENSION_DEP], [
992995
am_i_shared=$[PHP_]translit($1,a-z_-,A-Z__)[_SHARED]

0 commit comments

Comments
 (0)