Avoid potential negative array index access to cached text.
[LibreOffice.git] / external / libqxp / ax_gcc_func_attribute.m4.patch
blob8f7457816efd13a55ea244d2dc6bd20958c6e375
1 --- configure
2 +++ configure
3 @@ -18136,7 +18136,7 @@
5 _ACEOF
6 if ac_fn_cxx_try_link "$LINENO"; then :
7 - if test -s conftest.err; then :
8 + if grep -- -Wattributes conftest.err; then :
9 ax_cv_have_func_attribute_visibility=no
10 else
11 ax_cv_have_func_attribute_visibility=yes