diff options
author | Elliot Lee <sopwith@src.gnome.org> | 2000-11-28 18:46:11 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 2000-11-28 18:46:11 +0000 |
commit | de5298f9ba0ef939f0e6e0392abd459a9a013a0a (patch) | |
tree | 475a17cc314e8b3738b21aae681306bff4cfbc13 /modules | |
parent | 2e39ad6a283c20e9f77b7d3058afdec83744b16d (diff) | |
download | gtk+-de5298f9ba0ef939f0e6e0392abd459a9a013a0a.tar.gz |
Only build im-xim if USE_X11 is enabled s/strcpy/memcpy/ to save a few
* modules/input/Makefile.am: Only build im-xim if USE_X11 is enabled
* gtk/gtkrc.c: s/strcpy/memcpy/ to save a few nanoseconds.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/input/Makefile.am | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/modules/input/Makefile.am b/modules/input/Makefile.am index 44745c0534..725d4b4253 100644 --- a/modules/input/Makefile.am +++ b/modules/input/Makefile.am @@ -33,8 +33,15 @@ LDADDS = @STRIP_BEGIN@ \ @STRIP_END@ moduledir = $(libdir)/gtk-2.0/$(GTK_VERSION)/immodules -module_LTLIBRARIES = im-cyrillic-translit.la im-xim.la im-viqr.la im-thai-broken.la \ - im-inuktitut.la + +im_xim_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module +im_xim_la_SOURCES = \ + gtkimcontextxim.c \ + gtkimcontextxim.h \ + imxim.c +if USE_X11 +IM_XIM_MODULE=im-xim.la +endif im_cyrillic_translit_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module im_cyrillic_translit_la_SOURCES = imcyrillic-translit.c @@ -48,10 +55,5 @@ im_viqr_la_SOURCES = imviqr.c im_inuktitut_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module im_inuktitut_la_SOURCES = iminuktitut.c -im_xim_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module -im_xim_la_SOURCES = \ - gtkimcontextxim.c \ - gtkimcontextxim.h \ - imxim.c - - +module_LTLIBRARIES = im-cyrillic-translit.la $(IM_XIM_MODULE) im-viqr.la im-thai-broken.la \ + im-inuktitut.la |