]> Pileus Git - ~andy/gtk/commitdiff
Unbreak win32 build
authorAlexander Larsson <alexl@redhat.com>
Fri, 16 Mar 2012 09:32:06 +0000 (10:32 +0100)
committerAlexander Larsson <alexl@redhat.com>
Fri, 16 Mar 2012 09:34:11 +0000 (10:34 +0100)
Commit de62a1096 broke win32 as it removed the HAVE_X11R6 checks for
building xim, but did not replace them with USE_X11. This made
it try to build xim on non-X targets.

modules/input/Makefile.am

index da989eb4ba6bf47cd8383aed47b9dbcb638db1bf..46e00fb43e0129e7389350bc671c3b2ef781013e 100644 (file)
@@ -30,11 +30,13 @@ im_xim_la_SOURCES =                 \
        imxim.c
 libstatic_im_xim_la_SOURCES = $(im_xim_la_SOURCES)
 im_xim_la_LIBADD = $(LDADDS)
+if USE_X11
 if INCLUDE_IM_XIM
 STATIC_XIM_MODULE = libstatic-im-xim.la
 else
 XIM_MODULE=im-xim.la
 endif
+endif
 
 im_am_et_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
 im_am_et_la_SOURCES = imam-et.c