* 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> 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: Add check for sys/ioctl.h.
* configure.in: Use AC_FUNC_STRCOLL instead of generic test. * configure.in: Use AC_FUNC_STRCOLL instead of generic test.

View File

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