19 lines
642 B
Plaintext
19 lines
642 B
Plaintext
|
dnl GEANY_CHECK_MAC_INTEGRATION
|
||
|
dnl Check for gtk-mac-integration to enable improved OS X integration
|
||
|
dnl
|
||
|
AC_DEFUN([GEANY_CHECK_MAC_INTEGRATION],
|
||
|
[
|
||
|
AC_ARG_ENABLE([mac-integration],
|
||
|
[AS_HELP_STRING([--enable-mac-integration],
|
||
|
[use gtk-mac-integration to enable improved OS X integration [default=no]])],
|
||
|
[geany_enable_mac_integration="$enableval"],
|
||
|
[geany_enable_mac_integration="no"])
|
||
|
|
||
|
AS_IF([test "x$geany_enable_mac_integration" = "xyes"],
|
||
|
[
|
||
|
AS_IF([test "x$enable_gtk3" = xyes],
|
||
|
[PKG_CHECK_MODULES(MAC_INTEGRATION, gtk-mac-integration-gtk3)],
|
||
|
[PKG_CHECK_MODULES(MAC_INTEGRATION, gtk-mac-integration-gtk2)])
|
||
|
])
|
||
|
])
|