summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-05-20 14:06:32 -0400
committerColin Walters <walters@verbum.org>2013-05-20 14:18:02 -0400
commit1944e0368db9cadd7133ac5ce57f3428a15c86fd (patch)
tree75f0766ebb3bba4b8bb59c76aa6bcc7124c8b84d /modules
parent155caad4267e6e59b9c4859ab448c96875df4404 (diff)
downloadgtk+-1944e0368db9cadd7133ac5ce57f3428a15c86fd.tar.gz
modules/input: Only build quartz module if we're targeting quartz
Otherwise the build is broken on GNU/Linux and Win32.
Diffstat (limited to 'modules')
-rw-r--r--modules/input/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/input/Makefile.am b/modules/input/Makefile.am
index 902bad318e..3ad28d1172 100644
--- a/modules/input/Makefile.am
+++ b/modules/input/Makefile.am
@@ -159,8 +159,10 @@ im_quartz_la_LIBADD = $(LDADDS)
if INCLUDE_IM_QUARTZ
STATIC_QUARTZ_MODULE = libstatic-im-quartz.la
else
+if USE_QUARTZ
QUARTZ_MODULE = im-quartz.la
endif
+endif
multipress_defs = -DMULTIPRESS_LOCALEDIR=\""$(mplocaledir)"\" -DMULTIPRESS_CONFDIR=\""$(sysconfdir)/gtk-2.0"\"
im_multipress_la_CPPFLAGS = $(AM_CPPFLAGS) $(multipress_defs)