Commit Graph

127 Commits

Author SHA1 Message Date
Slava Zanko f606e64861 Version of project now formed automatically from current git-describe output
* File version.h will be created (or changed) automatically
 * Fixed versions for rpm packages - all '-' changed to '.' in RPM_VERSION variable
 * when version.h is changed (or deleted) ./configure script will be invoked

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-06-07 00:56:07 +03:00
Slava Zanko 6c2c253f34 configure.ac: Remove deprecated check of glib-1.2 2009-06-01 11:32:23 +03:00
Slava Zanko c583b303da Delete src/profile.[ch] files
Also:
 * add check for minimal version of glib (>= 2.6)
 * add subdir src/mcconfig into build action (by make)
2009-06-01 10:55:06 +03:00
Slava Zanko f0182a6969 Fix compile mcserv helper
Changes logic in m4 files for more sense of configure options.
Renamed --with-mcfs ro --enable-mcserver
2009-05-27 21:50:02 +03:00
Slava Zanko 1e4cc93320 Moved the main help file (xnc.hlp) and translated help files (es, hu, it, pl, ru and sr directories) to doc/hlp
Also, created symlinks in src_root directory to some doc/* files
2009-05-26 17:32:32 +03:00
Sergei Trofimovich fd55b916de Revert "Replace self-made code for work with ini-files to glib native code"
This reverts commit 4648ad8bf9.
2009-05-19 10:22:24 +03:00
Sergei Trofimovich df5160aaf3 Revert "Added check for glib version in mc_config_del_param and mc_config_del_group functions"
This reverts commit 483a1a05aa.
2009-05-19 10:22:17 +03:00
Slava Zanko 483a1a05aa Added check for glib version in mc_config_del_param and mc_config_del_group functions
configure.ac: Added check for minimal version of Glib2

Since Glib2-2.15 API of file-ini module was changed.
Old API:
void g_key_file_remove_key(...)
New API:
gboolean g_key_file_remove_key(...)

Therefore need to check version of Glib and fix return parameter from mc_config_del_param and mc_config_del_group for success build

Work with ini-file added in Glib2 since version 2.6, therefore in configure.ac added this check.
2009-05-14 16:21:28 +03:00
Slava Zanko 4648ad8bf9 Replace self-made code for work with ini-files to glib native code 2009-05-14 16:21:22 +03:00
Slava Zanko 428ea1b406 Change name of automake constant 'USE_MCFS' to 'ENABLE_VFS_MCFS' 2009-05-11 13:42:49 +03:00
Slava Zanko f49ce170f0 Move some files from contrib into misc directory
Also fix error with make install action
2009-05-08 16:56:02 +03:00
Mikhail S. Pobolovets a55a505160 Move all stuff from lib to contrib
Also added template in contrib/distr for some distro-related files (spec, deb, ebuild, etc)
2009-05-08 15:12:48 +03:00
Slava Zanko 73159dbc32 Move all hints-files from lib to doc/hints 2009-05-08 13:23:42 +03:00
Enrico Weigelt, metux IT service 52897029dc mc.qpg.in mc.spec.in pkginfo.in prototype.in: moved to contrib/dist 2009-05-08 13:23:42 +03:00
Enrico Weigelt, metux IT service 13d5c72108 2009-01-10 Enrico Weigelt, metux ITS <weigelt@metux.de>
* doc/*: moved manpages to doc/man/
    * NEWS INSTALL README: moved to doc and left a symlink in .
    * FAQ HACKING INSTALL.FAST MAINTAINERS README.QNX TODO: moved to doc
2009-05-08 13:21:52 +03:00
Slava Zanko 0e6b076666 Remove autogenerated stuff from git-tracking.
* Remove m4/* files
 * Reorganize all M4-stuff into m4.include subdur
 * move doxygen-include.am into doc/doxygen-include.am
2009-05-07 15:38:06 +03:00
Slava Zanko 2ebdf91079 Merge branch 'm-utf-8'
* m-utf-8: (223 commits)
  Fix wildcard pattern in file select and file find dialogs
  Project builds with option --disable-charsets
  Deleted build-glib1.sh because glib1 don't work with utf-8
  fix building without --enable-charset
  Total replacement to mc_search stuff in all places
  Search engine: if found_len parameter NULL, then mc_search_run don't try to fill them
  src/view.c: Reworked search stuff to usage src/search
  refactoring: rename edit/editcmd_dialog.c:editcmd_dialog__get_search_types_list to
  Search engine: development of hex search complete
  Search engine: remove forgotten debug string and reindent file
  Search engine:
  configure.ac: if present glib-2.14 and higher, libpcre don't linked
  Search engine: now used regexp external engines:
  src/find.c: Fixed core dump if content search pattern no present
  edit/editcmd_dialogs.c: fixed state of search type between dialog window calls
  Find files: checkbox 'Regular expression' for content search now default unchecked
  Find files: changes for usage of new search engine:
  Fix copy of current/opposite path to command line: remove charset info from path
  src/Makefile.am: add some header files to Make-tracking
  Fixed editor menu reloading.
2009-05-07 13:01:01 +03:00
Slava Zanko 7ec7294713 configure.ac: if present glib-2.14 and higher, libpcre don't linked 2009-05-05 21:34:09 +03:00
Slava Zanko 2276e9b513 Search engine: now used regexp external engines:
* glib
 * pcre
 * POSIX regex

External engine selected automatically, if present.
2009-05-05 16:19:32 +03:00
Slava Zanko c2455b246c Make search module more independ (and prepare for future mclib :) ) 2009-04-25 11:09:47 +03:00
Slava Zanko 43ff624d84 Remove "check" package from build requires 2009-04-22 09:52:26 +03:00
Slava Zanko f2fd5f49e5 Added doxygen stuff.
doc/doxygen.cfg:
    - added some options for better output
m4.include/dx_doxygen.m4:
    - calculate sources top dir
2009-04-15 17:28:38 +03:00
Ilia Maslakov 3b5e2c052f Merge branch 'utf-8' into master
resolve conflicts:
	configure.ac
	src/complete.c
	src/file.c
	src/layout.c
	src/main.c
	src/menu.c
	src/screen.c
	src/util.c
	src/widget.c
	src/widget.h
2009-04-04 19:50:46 +00:00
Patrick Winnertz bbf507b237 Merge branch '161_drop_bundled_slang'
* 161_drop_bundled_slang:
  Removed bundled slang

Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-05 10:40:59 +01:00
Enrico Weigelt, metux IT service f2a745a47d merged #242 2009-02-04 00:47:29 +01:00
Enrico Weigelt, metux IT service d4927f99ef Merge commit 'origin/201_historic_compressors' 2009-02-04 00:41:30 +01:00
Enrico Weigelt, metux IT service 463a18623d removed obsolete own memmove implementation (#242) 2009-02-03 19:51:01 +01:00
Enrico Weigelt, metux IT service 4f9185a3ee Removed bundled slang 2009-02-02 04:23:06 +01:00
Slava Zanko 987a1890bb AC_USE_SYSTEM_EXTENSIONS macro requires autoconf >= 2.60
Thanks to andrey_b for issue.
2009-01-29 11:12:29 +02:00
Slava Zanko 5d626982b0 patches by Rostislav Beneš: mc-40-ncursesw-old
Added support of old ncursesw library
2009-01-26 12:05:43 +02:00
Patrick Winnertz a320431503 We will release 4.6.2 and not 4.6.2-pre1. Therefore setting the version
correct in configure.ac
2009-01-25 18:22:35 +01:00
Enrico Weigelt, metux IT service 173ca89fca merged jpelletier's patch for historic archive formats 2009-01-24 04:59:34 +01:00
Slava Zanko b255684363 fix use of obsolete autoconf macros 2009-01-09 02:20:50 +02:00
Pavel Tsekov 56eccaadb4 * configure.ac: Determine the size of `long', `long long' and
off_t.
* vfs/fish.c (fish_linear_start): Use strtol() or strtoll() to retrieve
the size of the file being retrieved.
2007-10-11 12:32:42 +00:00
Pavel Tsekov 834cbed64f * configure.ac: Update the version number to 4.6.2-pre1.
* doc/mc.1.in: Likewise.
2007-09-10 14:25:30 +00:00
Pavel Tsekov e9996b613b * configure.ac: Revert last commit. 2006-06-07 12:00:10 +00:00
Roland Illig d647096f53 Fixed detection of the filesystem information on NetBSD 3.0. 2006-05-21 10:06:39 +00:00
Pavel Roskin f52a3276cc * configure.ac: Catch unexpanded MC_* macros. 2005-11-11 02:03:55 +00:00
Pavel Roskin 0418637b54 Actually remove MC_ASM_LABELS. 2005-11-11 01:57:10 +00:00
Pavel Roskin f3aa417af7 * configure.ac: Use AC_GNU_SOURCE, which prevents redefining
_GNU_SOURCE.  Bump Autoconf version to 2.54, where AC_GNU_SOURCE
appeared.
Reported by Leonard den Ottolander <leonard@den.ottolander.nl>
2005-11-11 01:40:18 +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
Roland Illig a0aa9fd9d4 Reverted the addition of the check for libintl_gettext in -lintl. It
didn't help.
2005-11-02 22:26:19 +00:00
Roland Illig b415dc87b9 * configure.ac: Include -lintl if it is needed for
libintl_gettext(). Needed for NetBSD-1.6.2.
2005-10-07 01:15:05 +00:00
Pavel Roskin 76c21d9dfe * configure.ac: Require gettext with ngettext support. It's
already used in src/info.c.
2005-10-03 21:00:22 +00:00
Roland Illig f79711252d The various get[ug]id functions are used, so add checks for them. Same
for isascii.
2005-08-15 21:02:17 +00:00
Roland Illig 2b6d96d72d * configure.ac: The function getgrouplist() is not used anymore,
so there is no need to check for it.
2005-08-15 20:59:13 +00:00
Pavel Roskin 680ccc7e56 * configure.ac: Add vfs/extfs/ualz to AC_CONFIG_FILES.
* lib/mc.ext.in: Add support for ALZip archives.
2005-07-20 19:07:18 +00:00
Leonard den Ottolander 8383793469 configure.ac: Rename AS_HELP_STRING to AC_HELP_STRING (fix undefined macro). 2005-07-10 10:45:28 +00:00
Roland Illig d5ec027964 * configure.ac: Removed detection of the umode_t type. All
references to it have been replaced with mode_t.
2005-07-05 20:15:41 +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
Andrew V. Samoilov abe4dddc99 New file. Configuration files for Sun Solaris pkgmk(1). 2005-05-31 03:20:43 +00:00
Roland Illig 2e7fa0fa37 * configure.ac: Removed the extra definition of
HAVE_C_TYPE_SOCKLEN_T, which is unused.
2005-05-17 17:06:14 +00:00
Pavel Roskin 0e2177c8cd * configure.ac: Require Autoconf 2.53 or newer.
* m4/Makefile.am: Remove isc-posix.m4, it's obsolete.
* m4/isc-posix.m4: Remove.
2005-05-13 15:27:21 +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 4a96e50b13 * configure.ac: Using MC_ARG_ENABLE_DEVELOPER_MODE instead of
the --maintainer-mode.
2005-04-21 22:31:58 +00:00
Roland Illig d34c405387 * configure.ac: Add -DNDEBUG to CPPFLAGS if the maintainer mode
is not enabled.
2005-04-13 18:39:15 +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
Miguel de Icaza 324f4c5644 2005-01-29 Miguel de Icaza <miguel@novell.com>
* utilunix.c (init_groups): Added support for getgrouplist patch
	from Stefan Gohmann <gohmann@univention.de>.

2005-01-29  Miguel de Icaza  <miguel@novell.com>

	* configure.ac: Check for getgrouplist API call.
2005-01-30 05:06:13 +00:00
Roland Illig 7e498cbc2e * configure.ac: Add checks for C headers <sys/mkdev.h> and
<sys/sysmacros.h> to support major/minor arithmetics on
	device numbers.
2005-01-27 22:42:55 +00:00
Andrew V. Samoilov be067bb92e * configure.ac: Bump version to 4.6.1a 2004-12-03 05:45:21 +00:00
Andrew V. Samoilov 549ab0af4d Partially reverted last changes. Sorry. 2004-11-03 20:55:06 +00:00
Andrew V. Samoilov 423fa0ba26 Fix error with output charset enable. 2004-11-03 20:53:16 +00:00
Andrew V. Samoilov 52917be78c * configure.ac: Added information about status of charset enabling. 2004-11-03 20:10:54 +00:00
Roland Illig 52fc211ac8 * configure.ac: Add feature test whether socklen_t is defined
in <sys/socket.h>.
2004-11-02 21:54:58 +00:00
Roland Illig 81112b0e5b * configure.ac: Add check for type socklen_t. 2004-10-27 18:00:20 +00:00
Roland Illig 8da4a08bbd * configure.ac: Only add "-Wall" to CFLAGS if GCC is set to "yes". 2004-10-24 14:48:01 +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
Andrew V. Samoilov 2ee7b81d94 * mc.qpg.in: New file. Description for QNX 6.x packager. 2004-09-28 11:48:57 +00:00
Roland Illig aad0e2151b * autoconf.ac: #define _GNU_SOURCE to an empty value instead of 1,
which conflicted with src/regex.c.
2004-09-25 15:18:10 +00:00
Andrew V. Samoilov bc432cb01e * configure.ac: grantpt is only available with -D_XOPEN_SOURCE
or -D_GNU_SOURCE under Linux.
2004-09-03 22:37:52 +00:00
Roland Illig cb4e8787ab --enable-maintainer-mode does not imply --enable-gcc-warnings. I think that would be too annoying to most developers. 2004-08-18 09:17:29 +00:00
Roland Illig d579b0bc77 Maintainer mode implies additional GCC warnings. 2004-08-17 10:15:45 +00:00
Roland Illig e4b55374d8 Enable GCC version specific warnings. 2004-08-17 09:52:53 +00:00
Roland Illig 64aad2cda5 GCC Warnings are only activated in maintainer-mode. They have been moved some lines down to not disturb feature checking (when CFLAGS="-Werror"). 2004-08-17 08:53:30 +00:00
Roland Illig cc99c400f3 Added check for <security/pam_misc.h>. 2004-08-17 00:53:03 +00:00
Andrew V. Samoilov ff0d2fe54f * configure.ac: Add check for atoll(). 2004-08-09 09:35:40 +00:00
Pavel Roskin bbd66306bf * configure.in: Rename to ...
* configure.ac: ... this.
2004-01-22 06:33:12 +00:00