Commit Graph

87 Commits

Author SHA1 Message Date
Patrick Winnertz 1301ad0e10 Applied first patch from debian to enable utf8 for mc-4.6
BIG FAT WARNING!!!:
   WE CURRENTLY DON'T SUPPORT UTF8, USE THIS ON YOUR OWN RISK!
2009-03-20 18:10:22 +01:00
Patrick Winnertz 0c7d399300 Reverted Enricos backport from master which removes accidentially slang1.x support
Enrico has accidentially removed the slang1.x support in mc-4.6 branch as
this is a structural change which clearly doesn't belong into mc-4.6.

Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-04 20:37:00 +01:00
Enrico Weigelt, metux IT service 03ec5ef574 backported #199 branch 2009-02-04 00:29:28 +01:00
Pavel Tsekov 4d56b647fa * acinclude.m4 (AC_GET_FS_INFO): Add erronously removed call to
gl_FSTYPENAME.
* m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Add missing
include directive for sys/param.h.
2006-09-07 15:59:51 +00:00
Pavel Tsekov f588181dc6 * acinclude.m4 (AC_GET_FS_INFO): Revert a failed attempt to properly detect
getmntinfo() returning its result in struct statvfs.
* src/mountlist.c: Revert a failed attempt to properly detect and use
getmntinfo() returning its result in struct statvfs.
2006-09-07 14:20:57 +00:00
Pavel Tsekov e599536b2c * acinclude.m4 (AC_GET_FS_INFO): Check the return value of getmntinfo()
properly.
2006-06-30 07:44:18 +00:00
Pavel Tsekov 9e1dd4594d * m4/fstypename.m4: New file.
* acinclude.m4 (AC_GET_FS_INFO): Add a check to determine whether
getmntinfo() takes struct statvfs instead of struct statfs as its
first argument. Define MOUNTED_GETMNTINFO_STATVFS if it does.
Add a check to determine whether struct statvfs has a field named
f_fstypename.
Use gl_FSTYPENAME tp determine whether struct statfs has a field
named f_fstypename.
* src/mountlist.c (HAVE_F_FSTYPENAME): Define when getmntinfo() is
used and the struct which it fills has a field named f_fstypename.
(read_filesystem_list) [MOUNTED_GETMNTINFO]: Use
MOUNTED_GETMNTINFO_STATVFS to determine the type of the first
argument to getmntinfo().
2006-06-17 15:39:07 +00:00
Pavel Tsekov 40ef73306f * acinclude.m4 (AC_GET_FS_INFO): Make it work again - the last commit broke
it.
* m4/onceonly.m4: New file.
2006-04-18 13:03:11 +00:00
Leonard den Ottolander 9801c06027 * acinclude.m4 (AC_GET_FS_INFO): Replace old fileutils code to get
mount and file system information with m4_includes of the corresponding
	GNU coreutils-5.94 files (ls-mntd-fs.m4 (#20) and fsusage.m4 (#16)).

	* m4/fsusage.m4, m4/ls-mntd-fs.m4: Create.
2006-03-18 13:17:50 +00:00
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