Commit Graph

61 Commits

Author SHA1 Message Date
Pavel Roskin
d6d5688bed * acinclude.m4 (MC_UNDELFS_CHECKS): Try ext2fs/ext2_fs.h before
linux/ext2_fs.h.  Use ext2fs/ext2_fs.h when possible - it's
safer to avoid kernel headers.
2003-11-28 06:18:32 +00:00
Pavel Roskin
c6d7467b7b * acinclude.m4 (MC_UNDELFS_CHECKS): Don't use internal Autoconf variables. 2003-10-29 22:17:41 +00:00
Pavel Roskin
b733f1fa6e * acinclude.m4 (AC_STRUCT_LINGER): Remove, use AC_CHECK_MEMBERS
instead.
2003-10-29 17:18:15 +00:00
Pavel Roskin
3315f35e31 * configure.in: Move ext2fs undelete support ...
* acinclude.m4 (MC_WITH_VFS): ... here.
* extraconf.h: Remove VFS logic, it's enforced in configure now.
2003-10-29 06:55:41 +00:00
Pavel Roskin
fc7dc2ba67 * acinclude.m4 (MC_WITH_VFS): Use AC_SEARCH_LIBS when possible.
Allow disabling network code by --disable-netcode.
2003-10-29 06:41:41 +00:00
Pavel Roskin
ff6aed1002 * acinclude.m4 (MC_WITH_NCURSES): Fix ESCDELAY check on Solaris.
Make sure that linking succeeds.
2003-08-18 04:53:56 +00:00
Pavel Roskin
d6d16e47ef * acinclude.m4 (MC_ASM_LABELS): New macro to work around a bug
gettext.  Define _INTL_REDIRECT_MACROS if needed.
* configure.in: Use MC_ASM_LABELS.
2003-03-12 00:10:23 +00:00
Pavel Roskin
509020b6b5 * acinclude.m4 [AC_G_MODULE_SUPPORTED]: New macro.
* configure.in: Test for gmodule.  Don't link mc with libX11 if
gmodule is supported.
2003-02-23 04:38:24 +00:00
Pavel Roskin
b0c4a45dcf * acinclude.m4 (MC_WITH_NCURSES): Check -lcurses if -lncurses
doesn't work.  Useful on OpenBSD 3.2.
2003-01-30 06:52:26 +00:00
Pavel Roskin
077e1117ff * acinclude.m4 (MC_EXTFS_CHECKS): Fix redirection to /dev/null. 2003-01-23 14:27:11 +00:00
Pavel Roskin
9f903a7545 * acinclude.m4 (_MC_WITH_XSLANG): Drop support for old S-Lang
versions that required the native curses library on some OSes.
2003-01-22 07:10:38 +00:00
Pavel Roskin
c3fd15e72a * acinclude.m4 (MC_WITH_SLANG): Don't add -lslang to MCLIBS if
the system S-Lang is rejected.
2002-12-24 20:13:05 +00:00
Pavel Roskin
7f84fee73d * acinclude.m4 (MC_EXTFS_CHECKS): Add check for Perl.
* configure.in: Substitute Perl location in all extfs scripts
written in Perl.
2002-12-11 20:55:37 +00:00
Pavel Roskin
b246f3c7ea s/Could not/Cannot/ 2002-12-08 01:12:18 +00:00
Pavel Roskin
62f3f2d97d * acinclude.m4 (MC_EXTFS_CHECKS): New macro.
(MC_WITH_VFS): Call MC_EXTFS_CHECKS.
* configure.in: Generate vfs/extfs/uzip.
* vfs/extfs/uzip: Move to vfs/extfs/uzip.in.
* vfs/extfs/Makefile.am: Corresponding adjustments.
2002-11-28 22:59:43 +00:00
Pavel Roskin
9e20efe375 * configure.in: Move check for pwdauth() to MC_MCSERVER_CHECKS.
* acinclude.m4 (MC_MCSERVER_CHECKS): If using crypt(), check for
shadow password support.
2002-11-17 05:44:21 +00:00
Pavel Roskin
fc66f7adb3 * acinclude.m4 (MC_MCSERVER_CHECKS): Don't limit PAM check to
Linux.  Use AC_SEARCH_LIBS to find crypt().  Consolidate mcserv
libraries into MCSERVLIBS.
2002-11-17 00:54:59 +00:00
Pavel Roskin
ac96da0a1d * configure.in: Move all mcserv related checks ...
* acinclude.m4 (MC_MCSERVER_CHECKS): ... here.
2002-11-16 22:56:50 +00:00
Pavel Roskin
6002728a7c * acinclude.m4 (MC_WITH_SLANG): Reject S-Lang with UTF-8
support, unless external S-Lang was explicitly requested.
2002-10-29 21:46:20 +00:00
Pavel Roskin
ed23ead700 * acinclude.m4 (MC_WITH_VFS): cpiofs and extfs were never added
to the final configuration message.
2002-10-21 06:51:59 +00:00
Pavel Roskin
d570124a7a * acinclude.m4 (MC_WITH_MCSLANG): Check for terminfo and use
termcap if terminfo is missing in the known locations.
* configure.in: Remove --with-termcap processing, it is now in
acinclude.m4.
2002-10-08 04:42:10 +00:00
Pavel Roskin
89fb039e0f * configure.in: Complete rewrite of the screen library support.
Add new option --with-screen instead on --with-slang,
--with-included-slang and --with-ncurses.  Only allow
--with-termcap is using the included S-Lang library.
* aclocal.m4: Corresponding changes.
2002-09-30 01:02:02 +00:00
Pavel Roskin
965a9d6b16 * configure.in: Add AM_GNU_GETTEXT_VERSION for autopoint.
Remove "potfiles" command.
* acinclude.m4: Add empty AM_GNU_GETTEXT_VERSION definition for
compatibility with gettext 0.10.x.
2002-09-13 23:09:22 +00:00
Pavel Roskin
6d53415313 * acinclude.m4: Replace undelfs_o with use_undelfs.
* configure.in: Likewise.  Don't substitute it.
2002-09-13 06:55:24 +00:00
Pavel Roskin
99a5d433f0 * configure.in: Simplify processing of without-edit. Replace
several variables with use_edit.
* acinclude.m4: Remove AC_WITH_EDIT.
2002-09-13 06:39:06 +00:00
Pavel Roskin
8578a75476 * acinclude.m4: Replace smbfs and SAMBAFILES variables with
use_smbfs.
* configure.in: Likewise.
* INSTALL: Document --with-samba.
2002-09-13 06:21:54 +00:00
Pavel Roskin
f17e11bc9f * configure.in: Roll --enable-mcserv-install into ...
* acinclude.m4: ... --with-mcfs.  Adjust makefiles.
* INSTALL: Document --with-mcfs.
2002-09-13 06:01:41 +00:00
Pavel Roskin
11861f090b * configure.in: Don't check if crypt() prototype is needed to
avoid warnings - the whole code is not worth avoiding one
legitimate warning.
* acinclude.m4: Remove AC_TRY_WARNINGS.
2002-09-12 22:27:52 +00:00
Pavel Roskin
bc77fff113 * acinclude.m4: Clarify some help texts, add defaults in square
brackets, use more consistent spacing.
* configure.in: Likewise.
2002-09-12 21:03:04 +00:00
Pavel Roskin
15098a5cd1 * configure.in: Eliminate --with-terminfo option, which was
essentially equivalent to --with-included-slang and didn't force
anything.
* acinclude.m4 (AC_USE_TERMINFO): Remove.
* INSTALL: Adjust to match.
* FAQ: Likewise.
2002-09-07 07:52:23 +00:00
Pavel Roskin
529cba289f * acinclude.m4 (AC_USE_TERMCAP): Add -ltermcap to MCLIBS, not LIBS.
* configure.in: Eliminate MCCFLAGS, use CPPFLAGS instead.  Add
"-L" options to LDFLAGS, not to LIBS or MCLIBS - this should fix
test for ncurses in non-standard directories.
2002-09-05 05:43:10 +00:00
Pavel Roskin
0d7af2cdba * acinclude.m4: Remove Termnet support, it's too old and obscure
to be supported properly.
2002-09-03 17:58:26 +00:00
Pavel Roskin
80bc69201d * acinclude.m4 (MC_WITH_VFS): Disable mcfs by default. 2002-08-19 07:27:57 +00:00
Pavel Roskin
0dbf2d1caf * acinclude.m4 (AC_SHORT_D_NAME_LEN): Remove, this test is now
done at runtime.
* configure.in: Don't use AC_SHORT_D_NAME_LEN.
2002-08-15 21:19:52 +00:00
Pavel Roskin
81db2df680 * acinclude.m4 (AC_EXT2_UNDEL): Add ext2fs libraries to MC_LIBS,
not to LIBS.
* configure.in: Fix breakage in ncurses headers check from the
previous commit.  Simplify other instances of AC_CHECK_HEADERS.
Define REGEX_MALLOC here.
2002-07-13 19:09:10 +00:00
Pavel Roskin
05364f344b * acinclude.m4 (AC_NCURSES): Remove.
* configure.in: Use AC_CHECK_HEADERS to find ncurses headers and
AC_CHECK_LIB to check existance of ncurses library.  Eliminate
variables force_ncurses and search_ncurses.
2002-07-13 05:10:41 +00:00
Andrew V. Samoilov
ffd87714d2 * acinclude.m4: New option --with-mcfs and macro WITH_MCFS. 2002-03-26 13:40:14 +00:00
Pavel Roskin
727898de19 * configure.in: Introduce a new variable screen_type that is
either "slang" or "ncurses" without additional text.  Use it
instead of screen_manager whenever possible.  Fix text in
AC_NCURSES call, use m4 quotes and move shell quotes into the
macro.
* acinclude.m4: Likewise.
Reported by Thomas Dickey <dickey@herndon4.his.com>
2002-02-06 04:38:38 +00:00
Andrew V. Samoilov
1fd13c4732 * acinclude.m4: New options for smbfs:
--with-configdir=DIR    Where the Samba configuration files are (/etc)
--with-codepagedir=DIR  Where the Samba codepage files are
2002-01-11 07:45:11 +00:00
Pavel Roskin
274cef3b46 * configure.in: Make help about --with-subshell easier to
understand.  Minor alignment fixes for the help.
* acinclude.m4: Minor alignment fixes for the help.
2002-01-02 17:12:46 +00:00
Pavel Roskin
0b2051a0c3 * acinclude.m4 (AC_WITH_SLANG): Don't add ../slang to includes.
Don't remove slang/slang.h - it's never created.
2001-12-21 22:17:08 +00:00
Pavel Roskin
d043f7eee6 * acinclude.m4 (AC_WITH_SLANG): Don't make symlink from
slang-mc.h to slang.h.  Remove fastdepslang variable, it's
unused.
2001-12-21 20:21:17 +00:00
Pavel Roskin
d85bffa7b2 * acinclude.m4 (MC_UNDELFS_CHECKS): Check for ext2_ino_t,
fallback to ino_t for e2fsprogs version 1.19 and older.
2001-11-14 17:54:44 +00:00
Pavel Roskin
462e063ce4 * configure.in: Fix some cases of overquoting and underquoting.
* acinclude.m4: Likewise.
2001-09-13 19:40:40 +00:00
Pavel Roskin
94ad49d237 * autogen.sh: Add a workaround to ensure that "depcomp" is
distributed.
* configure.in: Replace obsolete macros.  Use AC_MSG_NOTICE
where appropriate.
* acinclude.m4: Likewise.  Fix check whether S-Lang uses
terminfo.
2001-09-12 20:45:46 +00:00
Pavel Roskin
eb67c01aef * acinclude.m4: Put -lncurses to MCLIBS, not LIBS.
* configure.in: Likewise.  Add MCLIBS to LIBS temporarily when
testing for functions in ncurses.
2001-09-11 01:29:29 +00:00
Pavel Roskin
5452cf366a * acinclude.m4: Provide descriptions in all AC_DEFINE macros.
* configure.in: Likewise.  Use AH_BOTTOM to include extraconf.h.
* acconfig.h: Remove.
2001-09-11 00:27:03 +00:00
Pavel Roskin
b55e0f0e18 * configure.in: Eliminate LIBSLANG and LSLANG.
* acinclude.m4: Likewise.  Use MCLIBS for -lslang.

resizeterm() and keyok() only if configuring with ncurses.
2001-09-10 21:54:05 +00:00
Pavel Roskin
22543072c8 * Make.common.in: Remove.
* configure.in: Remove all references to Make.common.in and
MCCPPFLAGS.
* aclocal.m4: Likewise.
2001-09-07 15:29:46 +00:00
Pavel Roskin
09d9b11859 * extraconf.h: Remove all references to HAVE_X.
* acinclude.m4: s/GNOME_/MC_/
* configure.in: Likewise.  Remove or clarify all references to
the "text edition".  Minor fixes.
2001-08-25 03:14:20 +00:00