configure: run check for gtk-mac-integration only on OSX

This commit is contained in:
Michael Natterer 2013-11-10 18:46:32 +01:00
parent e56344294c
commit 1717cb84ed
1 changed files with 9 additions and 8 deletions

View File

@ -1783,14 +1783,6 @@ if test "x$enable_python" != xno; then
fi
AM_CONDITIONAL(BUILD_PYTHON, test "x$enable_python" != xno)
####################################
# Check for GTK Mac Integration
####################################
if test "x$platform_osx" != xno; then
PKG_CHECK_MODULES(GTK_MAC_INTEGRATION, gtk-mac-integration >= gtk_mac_integration_required_version)
fi
#########################################
# Check whether Script-Fu should be built
@ -1840,6 +1832,15 @@ esac
AM_CONDITIONAL(PLATFORM_OSX, test "x$platform_osx" = xyes)
###############################
# Check for GTK Mac Integration
###############################
if test "x$platform_osx" != xno; then
PKG_CHECK_MODULES(GTK_MAC_INTEGRATION, gtk-mac-integration >= gtk_mac_integration_required_version)
fi
####################################
# Check for Mac OS X TWAIN framework
####################################