Skip to content

Commit 7f70911

Browse files
committed
Merge branch 'PHP-8.0' into PHP-8.1
2 parents c9ec5cf + 0a47fdf commit 7f70911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/ax_gcc_func_attribute.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ AC_DEFUN([AX_GCC_FUNC_ATTRIBUTE], [
227227
dnl GCC doesn't exit with an error if an unknown attribute is
228228
dnl provided but only outputs a warning, so accept the attribute
229229
dnl only if no warning were issued.
230-
[AS_IF([grep -- -Wattributes conftest.err],
230+
[AS_IF([test -s conftest.err],
231231
[AS_VAR_SET([ac_var], [no])],
232232
[AS_VAR_SET([ac_var], [yes])])],
233233
[AS_VAR_SET([ac_var], [no])])

0 commit comments

Comments
 (0)