changeset 51823:01bf5601e788

(use_xim) [!USE_XIM]: Default to disable XIM if emacs was configured with --without-xim.
author Kim F. Storm <storm@cua.dk>
date Tue, 08 Jul 2003 21:46:58 +0000
parents 03b18fb153d1
children 9f5665eb77bd
files src/xterm.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Tue Jul 08 21:46:21 2003 +0000
+++ b/src/xterm.c	Tue Jul 08 21:46:58 2003 +0000
@@ -159,7 +159,12 @@
 #define abs(x)	((x) < 0 ? -(x) : (x))
 
 /* Default to using XIM if available.  */
+#ifdef USE_XIM
 int use_xim = 1;
+#else
+int use_xim = 0;  /* configure --without-xim */
+#endif
+
 
 
 /* Non-nil means Emacs uses toolkit scroll bars.  */