[gtk+] modules/input: Only build quartz module if we're targeting quartz



commit 1944e0368db9cadd7133ac5ce57f3428a15c86fd
Author: Colin Walters <walters verbum org>
Date:   Mon May 20 14:06:32 2013 -0400

    modules/input: Only build quartz module if we're targeting quartz
    
    Otherwise the build is broken on GNU/Linux and Win32.

 modules/input/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/modules/input/Makefile.am b/modules/input/Makefile.am
index 902bad3..3ad28d1 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]