mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* acinclude.m4: Clarify some help texts, add defaults in square
brackets, use more consistent spacing. * configure.in: Likewise.
This commit is contained in:
parent
0e0dc9d33a
commit
bc77fff113
@ -1,5 +1,9 @@
|
|||||||
2002-09-12 Pavel Roskin <proski@gnu.org>
|
2002-09-12 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* acinclude.m4: Clarify some help texts, add defaults in square
|
||||||
|
brackets, use more consistent spacing.
|
||||||
|
* configure.in: Likewise.
|
||||||
|
|
||||||
* lib/mc.menu: Don't call tarballs "releases". Don't
|
* lib/mc.menu: Don't call tarballs "releases". Don't
|
||||||
dereference symlinks.
|
dereference symlinks.
|
||||||
|
|
||||||
|
16
acinclude.m4
16
acinclude.m4
@ -95,12 +95,12 @@ AC_DEFUN([MC_WITH_VFS],[
|
|||||||
dnl mcfs support
|
dnl mcfs support
|
||||||
dnl
|
dnl
|
||||||
AC_ARG_WITH(mcfs,
|
AC_ARG_WITH(mcfs,
|
||||||
[--with-mcfs Support mc-specific networking file system],[
|
[ --with-mcfs Support mc-specific networking file system [[no]]],
|
||||||
if test "x$withval" != "xno"; then
|
[if test "x$withval" != "xno"; then
|
||||||
AC_DEFINE(WITH_MCFS, 1, [Define to enable mc-specific networking file system])
|
AC_DEFINE(WITH_MCFS, 1, [Define to enable mc-specific networking file system])
|
||||||
vfs_flags="$vfs_flags, mcfs"
|
vfs_flags="$vfs_flags, mcfs"
|
||||||
fi
|
fi]
|
||||||
])
|
)
|
||||||
vfs_flags="$vfs_flags, ftpfs, fish"
|
vfs_flags="$vfs_flags, ftpfs, fish"
|
||||||
use_net_code=true
|
use_net_code=true
|
||||||
fi
|
fi
|
||||||
@ -111,8 +111,8 @@ AC_DEFUN([MC_WITH_VFS],[
|
|||||||
smbfs=""
|
smbfs=""
|
||||||
SAMBAFILES=""
|
SAMBAFILES=""
|
||||||
AC_ARG_WITH(samba,
|
AC_ARG_WITH(samba,
|
||||||
[--with-samba Support smb virtual file system],[
|
[ --with-samba Support smb virtual file system [[no]]],
|
||||||
if test "x$withval" != "xno"; then
|
[if test "x$withval" != "xno"; then
|
||||||
AC_DEFINE(WITH_SMBFS, 1, [Define to enable VFS over SMB])
|
AC_DEFINE(WITH_SMBFS, 1, [Define to enable VFS over SMB])
|
||||||
vfs_flags="$vfs_flags, smbfs"
|
vfs_flags="$vfs_flags, smbfs"
|
||||||
smbfs="smbfs.o"
|
smbfs="smbfs.o"
|
||||||
@ -127,7 +127,7 @@ AC_DEFUN([MC_WITH_VFS],[
|
|||||||
# set Samba configuration directory location
|
# set Samba configuration directory location
|
||||||
configdir="/etc"
|
configdir="/etc"
|
||||||
AC_ARG_WITH(configdir,
|
AC_ARG_WITH(configdir,
|
||||||
[ --with-configdir=DIR Where the Samba configuration files are (/etc)],
|
[ --with-configdir=DIR Where the Samba configuration files are [[/etc]]],
|
||||||
[ case "$withval" in
|
[ case "$withval" in
|
||||||
yes|no)
|
yes|no)
|
||||||
#
|
#
|
||||||
@ -176,7 +176,7 @@ dnl MC_VFS_LIBS=
|
|||||||
AC_DEFUN([MC_VFS_CHECKS],[
|
AC_DEFUN([MC_VFS_CHECKS],[
|
||||||
use_vfs=yes
|
use_vfs=yes
|
||||||
AC_ARG_WITH(vfs,
|
AC_ARG_WITH(vfs,
|
||||||
[--with-vfs Compile with the VFS code],
|
[ --with-vfs Compile with the VFS code [[yes]]],
|
||||||
use_vfs=$withval
|
use_vfs=$withval
|
||||||
)
|
)
|
||||||
case $use_vfs in
|
case $use_vfs in
|
||||||
|
65
configure.in
65
configure.in
@ -52,7 +52,7 @@ dnl We use only part of the functionality of mmap, so on AIX,
|
|||||||
dnl it's possible to use mmap, even if it doesn't pass the autoconf test.
|
dnl it's possible to use mmap, even if it doesn't pass the autoconf test.
|
||||||
dnl
|
dnl
|
||||||
AC_ARG_WITH(mmap,
|
AC_ARG_WITH(mmap,
|
||||||
[--with-mmap To force using the mmap call (AIX)],
|
[ --with-mmap Force using the mmap call (only useful on AIX)],
|
||||||
[case $withval in
|
[case $withval in
|
||||||
yes)
|
yes)
|
||||||
ac_cv_func_mmap_fixed_mapped=yes
|
ac_cv_func_mmap_fixed_mapped=yes
|
||||||
@ -214,7 +214,7 @@ dnl
|
|||||||
|
|
||||||
textmode_x11_support="no"
|
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 Get keyboard events from X Window System [[no]]],
|
||||||
[if test x$withval = xyes; then
|
[if test x$withval = xyes; then
|
||||||
AC_PATH_XTRA
|
AC_PATH_XTRA
|
||||||
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
|
||||||
@ -272,7 +272,7 @@ dnl
|
|||||||
dnl Install mcserv only if explicitly enabled
|
dnl Install mcserv only if explicitly enabled
|
||||||
dnl
|
dnl
|
||||||
AC_ARG_ENABLE([mcserv-install],
|
AC_ARG_ENABLE([mcserv-install],
|
||||||
[--enable-mcserv-install Install mcserv - Midnight Commander file server])
|
[ --enable-mcserv-install Install mcserv - Midnight Commander file server [[no]]])
|
||||||
|
|
||||||
vfs_type="normal"
|
vfs_type="normal"
|
||||||
if test $use_vfs = yes
|
if test $use_vfs = yes
|
||||||
@ -291,7 +291,8 @@ mouse_lib="xterm only"
|
|||||||
case $host_os in
|
case $host_os in
|
||||||
linux*)
|
linux*)
|
||||||
AC_ARG_WITH(gpm-mouse,
|
AC_ARG_WITH(gpm-mouse,
|
||||||
[--with-gpm-mouse[[=base-dir]] Compile with gpm mouse support (Linux only)],
|
[ --with-gpm-mouse[[=base-dir]] Compile with gpm mouse support (Linux only)
|
||||||
|
[[yes if found]]],
|
||||||
[if test x$withval != xno
|
[if test x$withval != xno
|
||||||
then
|
then
|
||||||
if test x$withval != xyes
|
if test x$withval != xyes
|
||||||
@ -315,7 +316,7 @@ linux*)
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
AC_ARG_WITH(ncurses,
|
AC_ARG_WITH(ncurses,
|
||||||
[--with-ncurses[[=base-dir]] Compile with ncurses/locate base dir],
|
[ --with-ncurses[[=base-dir]] Compile with ncurses [[no]]],
|
||||||
[if test x$withval != xno; then
|
[if test x$withval != xno; then
|
||||||
if test x$withval != xyes; then
|
if test x$withval != xyes; then
|
||||||
LDFLAGS="$LDFLAGS -L$withval/lib"
|
LDFLAGS="$LDFLAGS -L$withval/lib"
|
||||||
@ -340,7 +341,8 @@ fi
|
|||||||
])
|
])
|
||||||
|
|
||||||
AC_ARG_WITH(hsc,
|
AC_ARG_WITH(hsc,
|
||||||
[--with-hsc Compile with support for the HSC firewall],
|
[ --with-hsc Compile with support for HSC firewall instead
|
||||||
|
of FTP proxy [[no]]],
|
||||||
[if test x$withval = xyes; then
|
[if test x$withval = xyes; then
|
||||||
AC_DEFINE(HSC_PROXY, 1,
|
AC_DEFINE(HSC_PROXY, 1,
|
||||||
[Define if you want to use the HSC firewall])
|
[Define if you want to use the HSC firewall])
|
||||||
@ -457,8 +459,8 @@ fi
|
|||||||
|
|
||||||
AC_MSG_CHECKING([for subshell support])
|
AC_MSG_CHECKING([for subshell support])
|
||||||
AC_ARG_WITH(subshell,
|
AC_ARG_WITH(subshell,
|
||||||
[--with-subshell=optional To disable concurrent shell by default
|
[ --with-subshell Compile in concurrent subshell [[yes]]
|
||||||
--without-subshell To disable concurrent shell completely],
|
--with-subshell=optional Don't run concurrent shell by default [[no]]],
|
||||||
[result=no
|
[result=no
|
||||||
if test x$withval = xoptional
|
if test x$withval = xoptional
|
||||||
then
|
then
|
||||||
@ -494,36 +496,37 @@ if test "x$screen_type" != xncurses; then
|
|||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_ARG_WITH(slang,
|
||||||
|
[ --with-slang Compile with S-Lang screen manager [[yes]]],
|
||||||
|
[if test x$withval = xyes; then
|
||||||
|
AC_WITH_SLANG
|
||||||
|
fi]
|
||||||
|
)
|
||||||
|
|
||||||
|
AC_ARG_WITH(included-slang,
|
||||||
|
[ --with-included-slang Use S-Lang library included with mc sources
|
||||||
|
[[use installed library if found]]],
|
||||||
|
[if test x$withval = xyes; then
|
||||||
|
slang_use_system_installed_lib=false
|
||||||
|
slang_check_lib=true
|
||||||
|
fi]
|
||||||
|
)
|
||||||
|
|
||||||
AC_ARG_WITH(termcap,
|
AC_ARG_WITH(termcap,
|
||||||
[--with-termcap SLANG: Force usage of termcap],[
|
[ --with-termcap Same as above, and try using termcap database [[no]]],
|
||||||
if test x$withval = xyes; then
|
[if test x$withval = xyes; then
|
||||||
AC_USE_TERMCAP
|
AC_USE_TERMCAP
|
||||||
slang_check_lib=false
|
slang_check_lib=false
|
||||||
slang_use_system_installed_lib=false
|
slang_use_system_installed_lib=false
|
||||||
fi]
|
fi]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_WITH(included-slang,
|
|
||||||
[--with-included-slang SLANG: use the SLang library included here],[
|
|
||||||
if test x$withval = xyes; then
|
|
||||||
slang_use_system_installed_lib=false
|
|
||||||
slang_check_lib=true
|
|
||||||
fi]
|
|
||||||
)
|
|
||||||
|
|
||||||
AC_ARG_WITH(slang,
|
|
||||||
[--with-slang Compile with the slang screen manager],[
|
|
||||||
if test x$withval = xyes; then
|
|
||||||
AC_WITH_SLANG
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
LIBEDIT_A=""
|
LIBEDIT_A=""
|
||||||
MCEDIT=""
|
MCEDIT=""
|
||||||
LEDIT=""
|
LEDIT=""
|
||||||
EDIT_msg=""
|
EDIT_msg=""
|
||||||
AC_ARG_WITH(edit,
|
AC_ARG_WITH(edit,
|
||||||
[--with-edit Enable internal editor],
|
[ --with-edit Enable internal editor [[yes]]],
|
||||||
[if test x$withval = xyes
|
[if test x$withval = xyes
|
||||||
then
|
then
|
||||||
AC_WITH_EDIT
|
AC_WITH_EDIT
|
||||||
@ -541,11 +544,9 @@ undelfs_o=""
|
|||||||
|
|
||||||
if test $use_vfs = yes; then
|
if test $use_vfs = yes; then
|
||||||
AC_ARG_WITH(ext2undel,
|
AC_ARG_WITH(ext2undel,
|
||||||
[--with-ext2undel Compile with ext2 undelete code],[
|
[ --with-ext2undel Compile with ext2 undelete code [[yes if found]]],
|
||||||
if test x$withval != xno;
|
[if test x$withval != xno; then
|
||||||
then
|
if test x$withval != xyes; then
|
||||||
if test x$withval != xyes
|
|
||||||
then
|
|
||||||
LDFLAGS="$LDFLAGS -L$withval/lib"
|
LDFLAGS="$LDFLAGS -L$withval/lib"
|
||||||
CPPFLAGS="$CPPFLAGS -I$withval/include"
|
CPPFLAGS="$CPPFLAGS -I$withval/include"
|
||||||
fi
|
fi
|
||||||
@ -621,7 +622,7 @@ dnl
|
|||||||
dnl User visible support for charset conversion.
|
dnl User visible support for charset conversion.
|
||||||
dnl
|
dnl
|
||||||
AC_ARG_ENABLE([charset],
|
AC_ARG_ENABLE([charset],
|
||||||
[--enable-charset Support for charset selection and conversion])
|
[ --enable-charset Support for charset selection and conversion [[no]]])
|
||||||
have_charset=
|
have_charset=
|
||||||
if test "x$enable_charset" = xyes; then
|
if test "x$enable_charset" = xyes; then
|
||||||
if test "x$am_cv_func_iconv" != xyes; then
|
if test "x$am_cv_func_iconv" != xyes; then
|
||||||
|
Loading…
Reference in New Issue
Block a user