mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4: Fix #79895: support = in PHP_CHECK_GCC_ARG m4 macro
This commit is contained in:
commit
ae8dea0b10
1 changed files with 2 additions and 2 deletions
|
@ -308,8 +308,8 @@ dnl
|
||||||
dnl PHP_CHECK_GCC_ARG(arg, action-if-found, action-if-not-found)
|
dnl PHP_CHECK_GCC_ARG(arg, action-if-found, action-if-not-found)
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN([PHP_CHECK_GCC_ARG],[
|
AC_DEFUN([PHP_CHECK_GCC_ARG],[
|
||||||
gcc_arg_name=[ac_cv_gcc_arg]translit($1,A-Z-,a-z_)
|
gcc_arg_name=[ac_cv_gcc_arg]translit($1,A-Z=-,a-z__)
|
||||||
AC_CACHE_CHECK([whether $CC supports $1], [ac_cv_gcc_arg]translit($1,A-Z-,a-z_), [
|
AC_CACHE_CHECK([whether $CC supports $1], [ac_cv_gcc_arg]translit($1,A-Z=-,a-z__), [
|
||||||
echo 'void somefunc() { };' > conftest.c
|
echo 'void somefunc() { };' > conftest.c
|
||||||
cmd='$CC $1 -c conftest.c'
|
cmd='$CC $1 -c conftest.c'
|
||||||
if eval $cmd 2>&1 | $EGREP -e $1 >/dev/null ; then
|
if eval $cmd 2>&1 | $EGREP -e $1 >/dev/null ; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue