Merge pull request #3643 from b4n/prefs-virtual-spaces-no-visual
[geany-mirror.git] / m4 / geany-mac-integration.m4
blob2850682819d7140123a95364215fe7c7708241e3
1 dnl GEANY_CHECK_MAC_INTEGRATION
2 dnl Check for gtk-mac-integration to enable improved OS X integration
3 dnl
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,
14         [
15                 PKG_CHECK_MODULES(MAC_INTEGRATION, gtk-mac-integration-gtk3)
16         ])