Don't check stderr in configure tests as this causes them to fail when unexpected warnings are emitted, such as deprecation of i386 in Xcode 10. https://gitlab.freedesktop.org/cairo/cairo/-/issues/121 Updated version of this patch: https://bugs.freedesktop.org/show_bug.cgi?id=30910#c6 --- configure.orig 2023-02-03 20:33:05.000000000 -0600 +++ configure 2023-02-03 20:38:32.000000000 -0600 @@ -14998,7 +14998,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - if test "x$cairo_cc_stderr" != "x"; then + if false; then cairo_cc_flag=no fi @@ -15045,7 +15045,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - if test "x$cairo_cc_stderr" != "x"; then + if false; then cairo_cc_flag=no fi @@ -15096,7 +15096,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - if test "x$cairo_cc_stderr" != "x"; then + if false; then cairo_cc_flag=no fi @@ -15143,7 +15143,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - if test "x$cairo_cc_stderr" != "x"; then + if false; then cairo_cc_flag=no fi @@ -15212,7 +15212,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - if test "x$cairo_cc_stderr" != "x"; then + if false; then cairo_cc_flag=no fi @@ -15268,7 +15268,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - if test "x$cairo_cc_stderr" != "x"; then + if false; then cairo_cc_flag=no fi @@ -16852,7 +16852,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - if test "x$cairo_cc_stderr" != "x"; then + if false; then cairo_cc_flag=no fi @@ -16899,7 +16899,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - if test "x$cairo_cc_stderr" != "x"; then + if false; then cairo_cc_flag=no fi @@ -27730,7 +27730,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - if test "x$cairo_cc_stderr" != "x"; then + if false; then cairo_cc_flag=no fi @@ -27849,7 +27849,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - if test "x$cairo_cc_stderr" != "x"; then + if false; then cairo_cc_flag=no fi @@ -27930,7 +27930,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - if test "x$cairo_cc_stderr" != "x"; then + if false; then cairo_cc_flag=no fi