diff --git a/configure.ac b/configure.ac index 7d6fd742d9..55e613a6b3 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ####################################