mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Fixed configure options description.
doc/INSTALL: fixed description of configure options. maint/mc-test: fixed configure options. maint/mctest: likewise. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
f53ed400fb
commit
bce8f71087
23
doc/INSTALL
23
doc/INSTALL
@ -173,19 +173,14 @@ VFS options:
|
|||||||
Support for sfs
|
Support for sfs
|
||||||
|
|
||||||
`--enable-vfs-undelfs'
|
`--enable-vfs-undelfs'
|
||||||
|
(off by default)
|
||||||
Support for ext2 undelete filesystem.
|
Support for ext2 undelete filesystem.
|
||||||
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 adds support for
|
libext2fs library available, this option adds support for
|
||||||
recovering deleted files (the undel virtual file system).
|
recovering deleted files (the undel virtual file system).
|
||||||
|
|
||||||
`--disable-netcode'
|
`--with-vfs-smb'
|
||||||
This option disables support for networked virtual filesystems.
|
(off by default)
|
||||||
It's primarily used by developers to make sure that the code would
|
|
||||||
compile and run on operating systems that lack POSIX compatible
|
|
||||||
network support. But you can use it is you know that you won't be
|
|
||||||
accessing remote filesystems from GNU Midnight Commander.
|
|
||||||
|
|
||||||
`--with-samba'
|
|
||||||
This option enables remote VFS over the SMB protocol. A stripped
|
This option enables remote VFS over the SMB protocol. A stripped
|
||||||
down version of samba distributed with the sources is compiled and
|
down version of samba distributed with the sources is compiled and
|
||||||
linked with the mc executable. It is recommended that you install
|
linked with the mc executable. It is recommended that you install
|
||||||
@ -206,11 +201,8 @@ ncurses):
|
|||||||
`--with-screen={slang|ncurses}'
|
`--with-screen={slang|ncurses}'
|
||||||
Choose the library used to manage interaction with the terminal.
|
Choose the library used to manage interaction with the terminal.
|
||||||
`slang' means S-Lang library already installed on the system,
|
`slang' means S-Lang library already installed on the system,
|
||||||
`mcslang' means S-Lang library included with the sources of
|
`ncurses' means ncurses library already installed on the system.
|
||||||
GNU Midnight Commander, `ncurses' means ncurses library already
|
The S-Lang library is used by default if found.
|
||||||
installed on the system. The installed S-Lang library is used
|
|
||||||
by default if found, otherwise the included S-Lang library is
|
|
||||||
used.
|
|
||||||
|
|
||||||
`--with-slang-includes=[DIR]'
|
`--with-slang-includes=[DIR]'
|
||||||
Set path to SLANG includes [default=/usr/include]; make sense
|
Set path to SLANG includes [default=/usr/include]; make sense
|
||||||
@ -220,11 +212,6 @@ ncurses):
|
|||||||
Set path to SLANG library [default=/usr/lib]; mke sense only
|
Set path to SLANG library [default=/usr/lib]; mke sense only
|
||||||
if --with-screen=slang is used.
|
if --with-screen=slang is used.
|
||||||
|
|
||||||
`--with-termcap'
|
|
||||||
If the included S-Lang library is used, this option forces it to
|
|
||||||
use the termcap database, as opposed to the default terminfo
|
|
||||||
database.
|
|
||||||
|
|
||||||
`--with-ncurses-includes=[DIR]'
|
`--with-ncurses-includes=[DIR]'
|
||||||
Set path to ncurses includes [default=/usr/include]; make
|
Set path to ncurses includes [default=/usr/include]; make
|
||||||
sense only if --with-screen=ncurses is used;
|
sense only if --with-screen=ncurses is used;
|
||||||
|
@ -48,7 +48,7 @@ mc_cflags=""
|
|||||||
|
|
||||||
mc_ldflags=""
|
mc_ldflags=""
|
||||||
|
|
||||||
mc_tests="plain glib12 charset no_charset vfs no_vfs samba "\
|
mc_tests="plain charset no_charset vfs no_vfs samba "\
|
||||||
"no_samba ext2undel no_ext2undel slang ncurses maintainer "\
|
"no_samba ext2undel no_ext2undel slang ncurses maintainer "\
|
||||||
"no_maintainer i18n no_i18n no_features all_features"
|
"no_maintainer i18n no_i18n no_features all_features"
|
||||||
|
|
||||||
@ -149,14 +149,14 @@ renice ${mc_nice_value} $$ 1>/dev/null 2>&1 || true
|
|||||||
### Tools ###
|
### Tools ###
|
||||||
|
|
||||||
configure_args_enable_all="--enable-largefile --enable-nls "\
|
configure_args_enable_all="--enable-largefile --enable-nls "\
|
||||||
"--enable-netcode --enable-background --enable-charset "\
|
"--enable-background --enable-charset "\
|
||||||
"--with-mmap --with-included-gettext --with-x "\
|
"--with-mmap --with-included-gettext --with-x "\
|
||||||
"--with-vfs --with-samba --with-ext2undel "\
|
"--enable-vfs --enable-vfs-smb --enable-vfs-undelfs "\
|
||||||
"--with-gpm-mouse --with-subshell --with-edit"
|
"--with-gpm-mouse --with-subshell --with-edit"
|
||||||
configure_args_disable_all="--disable-largefile --disable-nls "\
|
configure_args_disable_all="--disable-largefile --disable-nls "\
|
||||||
"--disable-netcode --disable-background --disable-charset "\
|
"--disable-background --disable-charset "\
|
||||||
"--without-mmap --without-included-gettext --without-x "\
|
"--without-mmap --without-included-gettext --without-x "\
|
||||||
"--without-vfs --without-samba --without-ext2undel "\
|
"--disable-vfs --disable-vfs-smb --disable-vfs-undelfs "\
|
||||||
"--without-gpm-mouse --without-subshell --without-edit"
|
"--without-gpm-mouse --without-subshell --without-edit"
|
||||||
|
|
||||||
errors=0
|
errors=0
|
||||||
@ -359,12 +359,6 @@ test_plain() {
|
|||||||
confbuild
|
confbuild
|
||||||
}
|
}
|
||||||
|
|
||||||
test_glib12() {
|
|
||||||
testname="glib12"
|
|
||||||
configure_args="--with-glib12"
|
|
||||||
confbuild
|
|
||||||
}
|
|
||||||
|
|
||||||
test_charset() {
|
test_charset() {
|
||||||
testname="charset"
|
testname="charset"
|
||||||
configure_args="--enable-charset"
|
configure_args="--enable-charset"
|
||||||
@ -391,37 +385,37 @@ test_no_X11() {
|
|||||||
|
|
||||||
test_vfs() {
|
test_vfs() {
|
||||||
testname="vfs"
|
testname="vfs"
|
||||||
configure_args="--with-vfs"
|
configure_args="--enable-vfs"
|
||||||
confbuild
|
confbuild
|
||||||
}
|
}
|
||||||
|
|
||||||
test_no_vfs() {
|
test_no_vfs() {
|
||||||
testname="no_vfs"
|
testname="no_vfs"
|
||||||
configure_args="--without-vfs"
|
configure_args="--disable-vfs"
|
||||||
confbuild
|
confbuild
|
||||||
}
|
}
|
||||||
|
|
||||||
test_samba() {
|
test_samba() {
|
||||||
testname="samba"
|
testname="samba"
|
||||||
configure_args="--with-samba"
|
configure_args="--enable-vfs-smb"
|
||||||
confbuild
|
confbuild
|
||||||
}
|
}
|
||||||
|
|
||||||
test_no_samba() {
|
test_no_samba() {
|
||||||
testname="no_samba"
|
testname="no_samba"
|
||||||
configure_args="--without-samba"
|
configure_args="--disable-vfs-smb"
|
||||||
confbuild
|
confbuild
|
||||||
}
|
}
|
||||||
|
|
||||||
test_ext2undel() {
|
test_ext2undel() {
|
||||||
testname="ext2undel"
|
testname="ext2undel"
|
||||||
configure_args="--with-ext2undel"
|
configure_args="--enable-vfs-undelfs"
|
||||||
confbuild
|
confbuild
|
||||||
}
|
}
|
||||||
|
|
||||||
test_no_ext2undel() {
|
test_no_ext2undel() {
|
||||||
testname="no_ext2undel"
|
testname="no_ext2undel"
|
||||||
configure_args="--without-ext2undel"
|
configure_args="--disable-vfs-undelfs"
|
||||||
confbuild
|
confbuild
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ distcheck 1
|
|||||||
|
|
||||||
echo "Checking the configuration with maximal code coverage"
|
echo "Checking the configuration with maximal code coverage"
|
||||||
distcheck 2 enable_charset=yes with_samba=yes \
|
distcheck 2 enable_charset=yes with_samba=yes \
|
||||||
with_included_gettext=yes with_glib12=yes
|
with_included_gettext=yes
|
||||||
|
|
||||||
echo "Checking the configuration with minimal code coverage"
|
echo "Checking the configuration with minimal code coverage"
|
||||||
distcheck 3 enable_largefile=no enable_nls=no with_vfs=no \
|
distcheck 3 enable_largefile=no enable_nls=no with_vfs=no \
|
||||||
@ -54,8 +54,7 @@ distcheck 4 enable_largefile=no enable_nls=no with_vfs=no \
|
|||||||
with_screen=ncurses
|
with_screen=ncurses
|
||||||
|
|
||||||
echo "Checking the configuration with experimental and rarely used options"
|
echo "Checking the configuration with experimental and rarely used options"
|
||||||
distcheck 5 with_termcap=yes \
|
distcheck 5 with_mmap=no with_subshell=optional
|
||||||
with_mmap=no with_subshell=optional enable_netcode=no
|
|
||||||
|
|
||||||
RPMBUILD=/usr/bin/rpmbuild
|
RPMBUILD=/usr/bin/rpmbuild
|
||||||
if test -x $RPMBUILD; then
|
if test -x $RPMBUILD; then
|
||||||
|
Loading…
Reference in New Issue
Block a user