comparison configure.in @ 29945:f660cfaca2db

(--with-xim): New option.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 26 Jun 2000 15:38:07 +0000
parents 19caebb8eb1f
children 98af0f021739
comparison
equal deleted inserted replaced
29944:95e03dfd4c65 29945:f660cfaca2db
92 [ --with-gif use -lungif for displaying GIF images]) 92 [ --with-gif use -lungif for displaying GIF images])
93 AC_ARG_WITH(png, 93 AC_ARG_WITH(png,
94 [ --with-png use -lpng for displaying PNG images]) 94 [ --with-png use -lpng for displaying PNG images])
95 AC_ARG_WITH(toolkit-scroll-bars, 95 AC_ARG_WITH(toolkit-scroll-bars,
96 [ --without-toolkit-scroll-bars 96 [ --without-toolkit-scroll-bars
97 don't use Motif or Xaw3d scroll bars]) 97 don't use Motif or Xaw3d scroll bars])
98 AC_ARG_WITH(xim,
99 [ --without-xim don't use X11 XIM])
98 100
99 #### Make srcdir absolute, if it isn't already. It's important to 101 #### Make srcdir absolute, if it isn't already. It's important to
100 #### avoid running the path through pwd unnecessary, since pwd can 102 #### avoid running the path through pwd unnecessary, since pwd can
101 #### give you automounter prefixes, which can go away. We do all this 103 #### give you automounter prefixes, which can go away. We do all this
102 #### so Emacs can find its files when run uninstalled. 104 #### so Emacs can find its files when run uninstalled.
1740 USE_TOOLKIT_SCROLL_BARS=yes 1742 USE_TOOLKIT_SCROLL_BARS=yes
1741 fi 1743 fi
1742 fi 1744 fi
1743 fi 1745 fi
1744 1746
1747 dnl Don't use X11 input methods if user specifies he doesn't want it
1748 dnl with `--with-xim=no'.
1749
1750 if test "${with_xim}" != "no"; then
1751 AC_DEFINE(USE_XIM)
1752 fi
1753
1745 ### Use -lXpm if available, unless `--with-xpm=no'. 1754 ### Use -lXpm if available, unless `--with-xpm=no'.
1746 HAVE_XPM=no 1755 HAVE_XPM=no
1747 if test "${HAVE_X11}" = "yes"; then 1756 if test "${HAVE_X11}" = "yes"; then
1748 if test "${with_xpm}" != "no"; then 1757 if test "${with_xpm}" != "no"; then
1749 old_c_flags="${CFLAGS}" 1758 old_c_flags="${CFLAGS}"