diff --git a/configure b/configure index 1083e1d8a5..a8b9e776b4 100755 --- a/configure +++ b/configure @@ -36943,7 +36943,7 @@ $as_echo "$wx_cv_lib_gdiplus" >&6; } elif test "$WXGTK1" = "1"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext not supported with GTK +1" >&5 $as_echo "$as_me: WARNING: wxGraphicsContext not supported with GTK +1" >&2;} - elif test "$wxUSE_GTK" = 1 -o "$wxUSE_QT" = 1 -o "$wxUSE_X11" = 1; then + elif test "$wxUSE_GTK" = 1 -o "$wxUSE_QT" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MAC" = 1; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5 diff --git a/configure.in b/configure.in index 8bb9d71a20..030e9febed 100644 --- a/configure.in +++ b/configure.in @@ -7533,7 +7533,7 @@ if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then fi elif test "$WXGTK1" = "1"; then AC_MSG_WARN([wxGraphicsContext not supported with GTK +1]) - elif test "$wxUSE_GTK" = 1 -o "$wxUSE_QT" = 1 -o "$wxUSE_X11" = 1; then + elif test "$wxUSE_GTK" = 1 -o "$wxUSE_QT" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MAC" = 1; then PKG_CHECK_MODULES(CAIRO, cairo, [wx_has_graphics=1], [AC_MSG_WARN([Cairo library not found])]