Skip to content

Commit e767ca6

Browse files
smolanikic
authored andcommitted
Fix #79895: support = in PHP_CHECK_GCC_ARG m4 macro
Closes GH-5890.
1 parent 0b8c83f commit e767ca6

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)

acinclude.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ dnl
329329
dnl PHP_CHECK_GCC_ARG(arg, action-if-found, action-if-not-found)
330330
dnl
331331
AC_DEFUN([PHP_CHECK_GCC_ARG],[
332-
gcc_arg_name=[ac_cv_gcc_arg]translit($1,A-Z-,a-z_)
333-
AC_CACHE_CHECK([whether $CC supports $1], [ac_cv_gcc_arg]translit($1,A-Z-,a-z_), [
332+
gcc_arg_name=[ac_cv_gcc_arg]translit($1,A-Z=-,a-z__)
333+
AC_CACHE_CHECK([whether $CC supports $1], [ac_cv_gcc_arg]translit($1,A-Z=-,a-z__), [
334334
echo 'void somefunc() { };' > conftest.c
335335
cmd='$CC $1 -c conftest.c'
336336
if eval $cmd 2>&1 | $EGREP -e $1 >/dev/null ; then

0 commit comments

Comments
 (0)