Skip to content

Commit 678f5b6

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fix #79895: support = in PHP_CHECK_GCC_ARG m4 macro
2 parents 12bd3cc + e767ca6 commit 678f5b6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ PHP NEWS
66
. Fixed bug #79884 (PHP_CONFIG_FILE_PATH is meaningless). (cmb)
77
. Fixed bug #77932 (File extensions are case-sensitive). (cmb)
88
. Fixed bug #79806 (realpath() erroneously resolves link to link). (cmb)
9+
. Fixed bug #79895 (PHP_CHECK_GCC_ARG does not allow flags with equal sign).
10+
(Santiago M. Mola)
911

1012
- LDAP:
1113
. Fixed memory leaks. (ptomulik)

build/php.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ dnl
308308
dnl PHP_CHECK_GCC_ARG(arg, action-if-found, action-if-not-found)
309309
dnl
310310
AC_DEFUN([PHP_CHECK_GCC_ARG],[
311-
gcc_arg_name=[ac_cv_gcc_arg]translit($1,A-Z-,a-z_)
312-
AC_CACHE_CHECK([whether $CC supports $1], [ac_cv_gcc_arg]translit($1,A-Z-,a-z_), [
311+
gcc_arg_name=[ac_cv_gcc_arg]translit($1,A-Z=-,a-z__)
312+
AC_CACHE_CHECK([whether $CC supports $1], [ac_cv_gcc_arg]translit($1,A-Z=-,a-z__), [
313313
echo 'void somefunc() { };' > conftest.c
314314
cmd='$CC $1 -c conftest.c'
315315
if eval $cmd 2>&1 | $EGREP -e $1 >/dev/null ; then

0 commit comments

Comments
 (0)