mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
* configure.in: Enable X11 support by default, use --without-x
to disable.
This commit is contained in:
parent
8f97f5dd21
commit
001cb449d0
@ -1,3 +1,8 @@
|
||||
2002-12-23 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* configure.in: Enable X11 support by default, use --without-x
|
||||
to disable.
|
||||
|
||||
2002-12-19 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* syntax/perl.syntax: Add separate context for function
|
||||
|
9
INSTALL
9
INSTALL
@ -96,13 +96,14 @@ incomplete, use `configure --help' to get the full list):
|
||||
=optional parameter, then the subshell support is turned off by
|
||||
default. To turn it on, specify the `-U' option to the program.
|
||||
|
||||
`--with-tm-x-support'
|
||||
This option enables minimal support for X Window System events.
|
||||
It enables MC to query the status of the keyboard modifiers, such
|
||||
`--without-x'
|
||||
By default, the Midnight Commander tries to connect to the X Window
|
||||
System events to query the status of the keyboard modifiers, such
|
||||
as Control, Shift and Alt, when invoked in a terminal emulator
|
||||
under X11. This is necessary (but not always sufficient) to
|
||||
recognize some optional but handy key combinations like Ctrl-Home
|
||||
and Shift-Cursor keys.
|
||||
and Shift-Cursor keys. Use `--without-x' if the dependency on
|
||||
X11 libraries is not desired.
|
||||
|
||||
`--without-vfs'
|
||||
This option disables the Virtual File System switch code in the
|
||||
|
1
NEWS
1
NEWS
@ -20,6 +20,7 @@ Changes made after 4.6.0-pre1.
|
||||
parent shell, "mc" is now an alias in all shells, not a function.
|
||||
- Behavior of Alt-O is more intuitive now.
|
||||
- Internal editor now saves the cursor position in the file.
|
||||
- X11 support is now enabled by default, use --without-x to disable.
|
||||
|
||||
|
||||
Version 4.6.0-pre1.
|
||||
|
23
configure.in
23
configure.in
@ -207,20 +207,19 @@ AC_FUNC_STRCOLL
|
||||
|
||||
dnl
|
||||
dnl X11 support.
|
||||
dnl Used to read keyboard modifiers when running under X11.
|
||||
dnl
|
||||
|
||||
textmode_x11_support="no"
|
||||
AC_ARG_WITH(tm-x-support,
|
||||
[ --with-tm-x-support Get keyboard events from X Window System [[no]]],
|
||||
[if test x$withval = xyes; then
|
||||
AC_PATH_XTRA
|
||||
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
|
||||
MCLIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
||||
AC_DEFINE(HAVE_TEXTMODE_X11_SUPPORT, 1,
|
||||
[Define to enable getting events from X Window System])
|
||||
textmode_x11_support="yes"
|
||||
fi
|
||||
])
|
||||
AC_PATH_XTRA
|
||||
if test "x$no_x" == xyes; then
|
||||
textmode_x11_support="no"
|
||||
else
|
||||
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
|
||||
MCLIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
||||
AC_DEFINE(HAVE_TEXTMODE_X11_SUPPORT, 1,
|
||||
[Define to enable getting events from X Window System])
|
||||
textmode_x11_support="yes"
|
||||
fi
|
||||
|
||||
dnl
|
||||
dnl Network related functions
|
||||
|
Loading…
Reference in New Issue
Block a user