# HG changeset patch # User Gerd Moellmann # Date 962033887 0 # Node ID f660cfaca2dbc300d4e0c83b1d3b2c0f2be87e9e # Parent 95e03dfd4c65a0394b44f643c42629da49a68719 (--with-xim): New option. diff -r 95e03dfd4c65 -r f660cfaca2db configure.in --- a/configure.in Mon Jun 26 15:06:07 2000 +0000 +++ b/configure.in Mon Jun 26 15:38:07 2000 +0000 @@ -94,7 +94,9 @@ [ --with-png use -lpng for displaying PNG images]) AC_ARG_WITH(toolkit-scroll-bars, [ --without-toolkit-scroll-bars - don't use Motif or Xaw3d scroll bars]) + don't use Motif or Xaw3d scroll bars]) +AC_ARG_WITH(xim, +[ --without-xim don't use X11 XIM]) #### Make srcdir absolute, if it isn't already. It's important to #### avoid running the path through pwd unnecessary, since pwd can @@ -1742,6 +1744,13 @@ fi fi +dnl Don't use X11 input methods if user specifies he doesn't want it +dnl with `--with-xim=no'. + +if test "${with_xim}" != "no"; then + AC_DEFINE(USE_XIM) +fi + ### Use -lXpm if available, unless `--with-xpm=no'. HAVE_XPM=no if test "${HAVE_X11}" = "yes"; then