diff options
author | Anders F Bjorklund <afb@users.sourceforge.net> | 2011-04-04 21:34:20 +0200 |
---|---|---|
committer | John Stowers <john.stowers@gmail.com> | 2011-08-06 12:37:16 +1200 |
commit | f655433394b10ccea585f54f38a9531304b4b084 (patch) | |
tree | a8479ecff9bee4494e9b8005c24a43e21862fa81 | |
parent | 5bee5a7850bbe8ce0581afe8b9a71eaa52d7206b (diff) | |
download | pygtk-f655433394b10ccea585f54f38a9531304b4b084.tar.gz |
use objective-c for quartz
https://bugzilla.gnome.org/show_bug.cgi?id=646743
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | gtk/Makefile.am | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d019f604..e2248c5b 100644 --- a/configure.ac +++ b/configure.ac @@ -445,6 +445,11 @@ case $gdk_target in ;; esac +if test "x$gdktarget" = "xquartz"; then + AM_CONDITIONAL(USE_QUARTZ, true) +else + AM_CONDITIONAL(USE_QUARTZ, false) +fi dnl checks to see if numpy is installed. AC_ARG_ENABLE(numpy, diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 7bb5d0c8..44d68700 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -9,6 +9,11 @@ INCLUDES = \ $(PYGOBJECT_CFLAGS) \ -I$(srcdir)/gtk +if USE_QUARTZ +# same as in gtk+/gdk/quartz/Makefile.am +INCLUDES += "-xobjective-c" +endif + # defs files defsdir = $(pkgdatadir)/$(PLATFORM_VERSION)/defs defs_DATA = |