[gimp/gimp-2-8] configure: check for gtk-mac-intregration only if GTK+ is built for quartz
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] configure: check for gtk-mac-intregration only if GTK+ is built for quartz
- Date: Sun, 10 Nov 2013 19:53:27 +0000 (UTC)
commit fef663774e90bbf5edc47a1f85ad14fcc45f80f1
Author: Michael Natterer <mitch gimp org>
Date: Sun Nov 10 20:51:37 2013 +0100
configure: check for gtk-mac-intregration only if GTK+ is built for quartz
(cherry picked from commit cfa074628f24211d681b18d96be8eef7d217fcd9)
configure.ac | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d82ca48..d6e4b78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1897,7 +1897,8 @@ AM_CONDITIONAL(PLATFORM_OSX, test "x$platform_osx" = xyes)
# Check for GTK Mac Integration
###############################
-if test "x$platform_osx" != xno; then
+if test "x$platform_osx" != xno &&
+ test "x`$PKG_CONFIG --variable=target gtk+-2.0`" == "xquartz"; then
PKG_CHECK_MODULES(GTK_MAC_INTEGRATION, gtk-mac-integration >= gtk_mac_integration_required_version)
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]