* configure.in: Only check for X if --with-tm-x-support has been

specified.
This commit is contained in:
Pavel Roskin 2001-09-11 02:35:45 +00:00
parent 13e92aca94
commit 34a95b4942
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2001-09-10 Pavel Roskin <proski@gnu.org>
* configure.in: Only check for X if --with-tm-x-support has been
specified.
* configure.in: Add check for sys/ioctl.h.
* configure.in: Use AC_FUNC_STRCOLL instead of generic test.

View File

@ -194,8 +194,6 @@ AC_FUNC_MMAP
AC_FUNC_ALLOCA
AC_FUNC_STRCOLL
AC_PATH_XTRA
dnl
dnl X11 support.
dnl
@ -210,6 +208,7 @@ textmode_x11_support="no"
AC_ARG_WITH(tm-x-support,
[--with-tm-x-support Try getting events from X Window System],
[if test x$withval = xyes; then
AC_PATH_XTRA
MCCFLAGS="$X_CFLAGS"
MCLIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
AC_DEFINE(HAVE_TEXTMODE_X11_SUPPORT, 1,