1 dnl GEANY_CHECK_MAC_INTEGRATION
2 dnl Check for gtk-mac-integration to enable improved OS X integration
4 AC_DEFUN([GEANY_CHECK_MAC_INTEGRATION],
6 AC_ARG_ENABLE([mac-integration],
7 [AS_HELP_STRING([--enable-mac-integration],
8 [use gtk-mac-integration to enable improved OS X integration [default=no]])],
9 [geany_enable_mac_integration="$enableval"],
10 [geany_enable_mac_integration="no"])
12 AM_CONDITIONAL(ENABLE_MAC_INTEGRATION, [test "x$geany_enable_mac_integration" = "xyes"])
13 AM_COND_IF(ENABLE_MAC_INTEGRATION,
15 PKG_CHECK_MODULES(MAC_INTEGRATION, gtk-mac-integration-gtk3)