mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Document recent changes.
This commit is contained in:
parent
29d948d3fa
commit
0c1e2030ae
66
INSTALL
66
INSTALL
@ -79,19 +79,10 @@ incomplete, use `configure --help' to get the full list):
|
|||||||
built-in file editor. The built-in editor is compiled in by
|
built-in file editor. The built-in editor is compiled in by
|
||||||
default.
|
default.
|
||||||
|
|
||||||
`--with-ext2undel[=PATH]'
|
`--with-ext2undel'
|
||||||
On systems that use the ext2 or ext3 file system and have the
|
On systems that use the ext2 or ext3 file system and have the
|
||||||
libext2fs library available, this option add support for recovering
|
libext2fs library available, this option adds support for
|
||||||
deleted files (the undel virtual file system).
|
recovering deleted files (the undel virtual file system).
|
||||||
Use =PATH if libext2fs is installed in a non-standard place.
|
|
||||||
The configure will append `lib' and `include' to PATH to find the
|
|
||||||
ext2fs library and include files respectively.
|
|
||||||
|
|
||||||
`--with-gpm-mouse[=PATH]'
|
|
||||||
Use this flag if the gpm mouse package cannot be detected by the
|
|
||||||
configure. Use =PATH if it is installed in a non-standard place.
|
|
||||||
The configure will append `lib' and `include' to PATH to find the
|
|
||||||
gpm library and include files respectively.
|
|
||||||
|
|
||||||
`--without-gpm-mouse'
|
`--without-gpm-mouse'
|
||||||
Use this flag to disable gpm mouse support (e.g. if you want to
|
Use this flag to disable gpm mouse support (e.g. if you want to
|
||||||
@ -143,33 +134,26 @@ incomplete, use `configure --help' to get the full list):
|
|||||||
but support for 64-bit offsets is available. May be useful for
|
but support for 64-bit offsets is available. May be useful for
|
||||||
slow processors and embedded systems.
|
slow processors and embedded systems.
|
||||||
|
|
||||||
You may also tell configure which display library you want to use with the
|
You may also tell configure which screen library you want to use with
|
||||||
Midnight Commander. The configure script will use S-Lang as default, but
|
the Midnight Commander. The configure script will use S-Lang as
|
||||||
you can override this by using any of the following flags (please note
|
default, and prefers an already installed S-Lang library over the
|
||||||
that S-Lang is included as part of the distribution and is tested much
|
included one, but you can override this by using the following flag
|
||||||
better than ncurses),
|
(please note that since S-Lang is default, it is tested better than
|
||||||
|
ncurses):
|
||||||
|
|
||||||
`--with-slang' (default)
|
`--with-screen={slang|mcslang|ncurses}'
|
||||||
This is used to configure the program to use the S-Lang screen
|
Choose the library used to manage interaction with the terminal.
|
||||||
library. This is included as part of GNU Midnight Commander,
|
`slang' means S-Lang library already installed on the system,
|
||||||
you don't need it installed on your system. If S-Lang is installed
|
`mcslang' means S-Lang library included with the sources of
|
||||||
on your system it will be used if possible. You can force usage of
|
GNU Midnight Commander, `ncurses' means ncurses library already
|
||||||
the included S-Lang with the `--with-included-slang' option.
|
installed on the system. The installed S-Lang library is used
|
||||||
|
by default if found, otherwise the included S-Lang library is
|
||||||
|
used.
|
||||||
|
|
||||||
S-Lang tries to use the terminfo database if it's available,
|
`--with-termcap'
|
||||||
otherwise it uses the termcap database. At the compile time, you
|
If the included S-Lang library is used, this option forces it to
|
||||||
may force using the termcap database by using the option
|
use the termcap database, as opposed to the default terminfo
|
||||||
`--with-termcap', which also enables `--with-included-slang'.
|
database.
|
||||||
|
|
||||||
`--with-ncurses[=PATH]'
|
|
||||||
Use this flag (either with or without the =PATH part) if
|
|
||||||
you want to compile with ncurses instead of the default S-Lang.
|
|
||||||
|
|
||||||
Use the =PATH part if ncurses cannot be found by the configure
|
|
||||||
script. The configure will append lib and include to PATH to find
|
|
||||||
the ncurses library and headers respectively. For example, if you
|
|
||||||
have installed ncurses under /gnu/lib and /gnu/include, you
|
|
||||||
specify `--with-ncurses=/gnu'
|
|
||||||
|
|
||||||
On systems that require unusual options for compilation or linking that
|
On systems that require unusual options for compilation or linking that
|
||||||
the package's `configure' script does not know about, you can give
|
the package's `configure' script does not know about, you can give
|
||||||
@ -197,6 +181,14 @@ value that `configure' decides to use:
|
|||||||
- Variable: LIBS
|
- Variable: LIBS
|
||||||
Libraries to link with, in the form `-lfoo -lbar...'.
|
Libraries to link with, in the form `-lfoo -lbar...'.
|
||||||
|
|
||||||
|
- Variable: LDFLAGS
|
||||||
|
Linker flags, e.g. -L<lib dir> if you have libraries in a
|
||||||
|
nonstandard directory <lib dir>
|
||||||
|
|
||||||
|
- Variable: CPPFLAGS
|
||||||
|
C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
||||||
|
headers in a nonstandard directory <include dir>
|
||||||
|
|
||||||
If you need to do unusual things to compile the package, we encourage
|
If you need to do unusual things to compile the package, we encourage
|
||||||
you to figure out how `configure' could check whether to do them, and
|
you to figure out how `configure' could check whether to do them, and
|
||||||
mail diffs or instructions to the address given in the README so we can
|
mail diffs or instructions to the address given in the README so we can
|
||||||
|
27
INSTALL.FAST
27
INSTALL.FAST
@ -24,25 +24,14 @@ The most often needed options to configure are following:
|
|||||||
You can specify an installation prefix other than default by
|
You can specify an installation prefix other than default by
|
||||||
giving `configure' the option `--prefix=PATH'.
|
giving `configure' the option `--prefix=PATH'.
|
||||||
|
|
||||||
`--with-included-slang'
|
`--with-screen={slang|mcslang|ncurses}'
|
||||||
Use the included S-Lang sources rather than any installed
|
Choose the library used to manage interaction with the terminal.
|
||||||
S-Lang library. The included library is rather old, but it
|
`slang' means S-Lang library already installed on the system,
|
||||||
works fine on most terminals.
|
`mcslang' means S-Lang library included with the sources of
|
||||||
|
GNU Midnight Commander, `ncurses' means ncurses library already
|
||||||
`--with-ncurses[=PATH]'
|
installed on the system. The installed S-Lang library is used
|
||||||
Use the flag without =PATH if you want to compile with ncurses
|
by default if found, otherwise the included S-Lang library is
|
||||||
Use this flag with =PATH part if you want to compile with
|
used.
|
||||||
ncurses, and your ncurses is not installed in any of the places
|
|
||||||
configure normally checks. The configure script will append
|
|
||||||
`lib' and `include' to find the libncurses.a and ncurses.h files
|
|
||||||
respectively.
|
|
||||||
|
|
||||||
`--with-gpm-mouse[=PATH]'
|
|
||||||
Use this flag if your GPM mouse package cannot be detected by the
|
|
||||||
configure. Use =PATH if it is installed in a non-standard place.
|
|
||||||
The configure will append `lib' and `include' to find the libgpm.a
|
|
||||||
and gpm.h files respectively. Note that GPM is only available on
|
|
||||||
GNU/Linux systems.
|
|
||||||
|
|
||||||
You may also want to specify CFLAGS for the compiler, even if it finds
|
You may also want to specify CFLAGS for the compiler, even if it finds
|
||||||
itself some defaults by typing e.g.
|
itself some defaults by typing e.g.
|
||||||
|
Loading…
Reference in New Issue
Block a user