Commit Graph

78 Commits

Author SHA1 Message Date
Pavel Roskin
91b9a36acf One more check missed in the previous commit. 2005-11-15 23:27:27 +00:00
Pavel Roskin
f9f69feabb * acinclude.m4 (MC_WITH_MCSLANG): Add type tests from S-Lang
configuration scripts.
2005-11-15 23:12:48 +00:00
Pavel Roskin
40e26a8530 * configure.ac: Use gettext 0.14.3.
* acinclude.m4 (MC_ASM_LABELS): Remove, it's not needed with
recent versions of gettext.
2005-11-11 01:14:51 +00:00
Pavel Roskin
685ec466c2 * acinclude.m4 (MC_ASM_LABELS): Make the test function global
and move its definition above main().  That's closer to what
gettext is actually doing.
2005-11-10 23:37:21 +00:00
Pavel Roskin
bc9ae64cab * acinclude.m4: Remove gettext 0.10.x compatibility. 2005-09-28 21:49:05 +00:00
Roland Illig
e34ffeeb36 Fixed a typo noted by Jindrich Novy. 2005-07-18 10:03:26 +00:00
Roland Illig
2aae4390da * acinclude.m4 (MC_WITH_VFS): Don't link with libnsl
unnecessarily.
	* configure.ac: Simplified detection of the necessary libraries
	for socket() and gethostbyname().

	Patch provided by Tomasz Kloczko at 2005-06-15 on mc-devel.
2005-07-03 11:50:30 +00:00
Pavel Roskin
4f09f45404 * acinclude.m4: Remove MC_ARG_ENABLE_DEVELOPER_MODE.
* configure.ac: Replace MC_ARG_ENABLE_DEVELOPER_MODE with a
simpler and more user-friendly piece of code.
2005-05-11 21:56:57 +00:00
Roland Illig
957f3d180d * acinclude.m4: Renamed AS_HELP_STRING to AC_HELP_STRING for
compatibility with autoconf-2.57.
2005-04-26 17:29:58 +00:00
Roland Illig
26c8b13218 * acinclude.m4: Added macro MC_ARG_ENABLE_DEVELOPER_MODE. 2005-04-21 22:28:48 +00:00
Pavel Roskin
a4cf54d41c * acinclude.m4 (MC_WITH_SLANG): Partly restore original order of
checks and add a comment with a warning.
From Pavel S. Shirshov <me@pavelsh.pp.ru>
2005-03-19 21:53:24 +00:00
Pavel Roskin
d89c5eb128 * acinclude.m4 (MC_WITH_SLANG): Reorder checks. Move termcap
checks ...
(MC_SLANG_TERMCAP): ... here.
(MC_SLANG_PRIVATE): Check if private functions are available.
It's not the case on Debian unstable.
2005-03-19 19:16:35 +00:00
Pavel Roskin
0074c885f2 * acinclude.m4 (MC_WITH_SLANG): Define HAVE_SYSTEM_SLANG after
all fallbacks so it shows whether we are using system S-Lang.
* configure.ac: Remove USE_INCLUDED_SLANG, since it's now fully
dependent on HAVE_SLANG and HAVE_SYSTEM_SLANG.
* src/myslang.h: Likewise.
2005-03-19 17:27:36 +00:00
Andrew V. Samoilov
33e157631c * acinclude.m4: Fix '--with-screen' configure option. 2005-01-11 09:16:52 +00:00
Andrew V. Samoilov
7e75c2d423 * acinclude.m4: Fix "make distcheck".
* NEWS: Update.
2004-12-13 17:56:27 +00:00
Andrew V. Samoilov
319cdb81bc * acinclude.m4: Fix compiling mc with system slang on FreeBSD. 2004-11-16 19:23:40 +00:00
Andrew V. Samoilov
3253bdf876 * acinclude.m4 (MC_WITH_MCSLANG): Set screen_type to mcslang.
* configure.ac: Define USE_INCLUDED_SLANG if screen_type is mcslang.
2004-10-12 04:35:55 +00:00
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