From: Karsten Ballüder Date: Tue, 7 Dec 1999 15:06:51 +0000 (+0000) Subject: Test for XIM support in gdk added, relevant code for window.cpp follows this X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7799a2d76f42c91b136dabb3225367b99034aa95 Test for XIM support in gdk added, relevant code for window.cpp follows this evening. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure.in b/configure.in index 4f36a1e0fd..bd10c4cde2 100644 --- a/configure.in +++ b/configure.in @@ -1524,6 +1524,10 @@ if test "$wxUSE_GTK" = 1; then UNIXOBJS="\$(UNIX_OBJS)" UNIXDEPS="\$(UNIX_DEPS)" GUIDIST=GTK_DIST + +dnl test for XIM support in libgdk +AC_CHECK_LIB(gdk, gdk_im_open, AC_DEFINE(HAVE_GDK_XIM)) + fi if test "$wxUSE_WINE" = 1; then diff --git a/setup.h.in b/setup.h.in index be5879c04b..a6e821cc62 100644 --- a/setup.h.in +++ b/setup.h.in @@ -1,4 +1,4 @@ - +G /* This define (__WX_SETUP_H__) is used both to insure setup.h is included * only once and to indicate that we are building using configure. */ #ifndef __WX_SETUP_H__ @@ -734,4 +734,7 @@ /* Define if you have the header file. */ #undef HAVE_WCSTR_H +/* Define this if you are using gtk and gdk contains support for X11R6 XIM */ +#undef HAVE_GDK_XIM + #endif /* __WX_SETUP_H__ */