[gimp] 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] configure: check for gtk-mac-intregration only if GTK+ is built for quartz
- Date: Sun, 10 Nov 2013 19:52:39 +0000 (UTC)
commit cfa074628f24211d681b18d96be8eef7d217fcd9
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
configure.ac | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 55e613a..9a31f7f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1836,7 +1836,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]