Commit Graph

73 Commits

Author SHA1 Message Date
Evgeny Grin f45d02ba2a Use configure detected or user specified sed in build system
Sometimes system default sed is not the best option.
With this modification user may easily override sed used by build system
without editing any file.

Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2023-05-20 19:56:53 +03:00
Andrew Borodin 89d8fa4ac1 Ticket #1: remove SMB suport.
The mc's built-in samba library which is used to access data across
smb links is taken from an old samba version.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-09-26 10:03:49 +03:00
Andrew Borodin 791acb4611 Ticket #4249: Autoreconf is failing with tarball prepared by make dist.
version.sh: move from maint/utils to the root of the source tree
and make it a part of distributable tarball.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-05-26 21:56:27 +03:00
Andreas Mohr b6cbac1017 Simplify `autogen.sh` by switching to `autoreconf`
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-04-28 09:25:18 +03:00
Andrew Borodin 406765f044 Ticket #1885: minimal gettext version is 0.18.1.
Since 0.18.1, the 'autopoint' program uses the 'git' program instead of
'cvs' one by default.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-28 09:25:18 +03:00
Slava Zanko 1c6d859629 Reorder files in maint/ subdirectory.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-06-03 10:58:14 +03:00
Andrew Borodin 726991fc91 Remove check of uintptr_t type
...because we don't have the regex.c file anymore (see
9db4ae7e2f).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-07 13:03:51 +04:00
Slava Zanko 6c5f5bf768 VFS structure changes:
* moved from lib/vfs/mc-vfs to lib/vfs;
  * split by directories for VFS-plugins and moved to src/vfs;
  * lib/vfs/vfs-impl.h was merged into lib/vfs/vfs.h.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-03-21 11:48:26 +02:00
Slava Zanko 52f6bed7d0 Moved dir $(srcdir)/vfs into $(srcdir)/lib/vfs/mc-vfs
Also, initial support of library directory.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:21 +02:00
Sergei Trofimovich eea108377d version.sh: pregenerate version.h to avoid running ./configure twice in clean environment
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-06-16 20:40:24 +03:00
Slava Zanko 8f7d6de326 Remove autorun configure asript after generating some stuff. 2009-05-07 16:32:44 +03:00
Slava Zanko 009e53198e Added autopoint to maint subdir (and modified autogen.sh) for successfull build on
all cool OSes :)
2009-04-30 20:46:01 +03:00
Slava Zanko c2455b246c Make search module more independ (and prepare for future mclib :) ) 2009-04-25 11:09:47 +03:00
Pavel Roskin 7d9bf6f403 Rename gettext_ui to Q_ for glib compatibility. 2005-10-04 15:22:35 +00:00
Pavel Roskin 28b68a1092 autopoint does version checking already - remove our check. 2005-09-28 22:10:52 +00:00
Pavel Roskin f5e125e5d7 Remove support for gettext 0.10.x - it's too old and lacks ngettext(). 2005-09-28 21:58:52 +00:00
Pavel Roskin f3f7719799 Recognize gettext_ui when generating POTFILES.in 2005-07-27 19:39:58 +00:00
Pavel Roskin d7773a07e0 Fix redirection to stderr.
Thanks to Roland Illig <roland.illig@gmx.de>
2005-05-20 14:29:24 +00:00
Roland Illig d7c54f1fe3 * autogen.sh: Made the gettext version check more portable. The
actual sed command is unchanged.
2005-03-10 09:59:27 +00:00
Andrew V. Samoilov 1605a544c6 * autogen.sh: Fix workaround for automake 1.5. 2004-12-30 06:33:18 +00:00
Andrew V. Samoilov 9ce7ab3b9b * autogen.sh: Comment workaround for Automake 1.5. It's not working
for Automake 1.9.
2004-12-10 06:24:35 +00:00
Andrew V. Samoilov ceb5cf17d4 Don't use \n in sed - a GNU extension, avoid it. 2004-08-02 12:37:22 +00:00
Pavel Roskin a91405e102 Don't use --stringtable-output - it doesn't work in gettext 0.12.1.
Reported by David Sterba <dave@jikos.cz>
2004-03-05 08:30:22 +00:00
Pavel Roskin 0f02dfc327 find without path may be a GNU extension, avoid it. 2004-01-27 17:56:42 +00:00
Pavel Roskin a1e579c415 Generate po/POTFILES.in automatically. 2004-01-26 21:40:30 +00:00
Pavel Roskin d00c4190cf Protect against empty $gettext_ver 2003-12-02 22:53:07 +00:00
Pavel Roskin 4cded37e35 Use "--force" with autopoint to overwrite modified files. 2003-05-20 16:12:26 +00:00
Pavel Roskin 1696ab2361 Add support for forthcoming gettext 0.12. 2003-02-20 19:48:03 +00:00
Andrew V. Samoilov 46349cbf6e * autogen.sh: Fix unportable "+" sed regexp in gettext_ver
calculation.  Reported by vlad@geekizoid.com.
2003-02-03 21:19:57 +00:00
Andrew V. Samoilov 241aac0cbe * autogen.sh: Use $srcdir/configure.mc instead of $srcdir/configure
if first one exists and is executable.
2002-11-29 06:39:41 +00:00
Pavel Roskin b19bd10a5a Strip everything after "-" from the version (for -pre and -rc).
Make version normalization more robust.
Add comments to the sed program.
Errors from autopoint and gettext were ignored because of "if".
2002-10-29 20:58:14 +00:00
Pavel Roskin 4cb62a4957 Typo fix. 2002-09-30 21:15:46 +00:00
Pavel Roskin ef3132d077 Use "set -e", drop "exit 1" where it's now redundant. 2002-09-25 21:53:38 +00:00
Pavel Roskin cfcf9a76df * Makefile.am: Add m4 to SUBDIRS. Set ACLOCAL_AMFLAGS so that
m4 directory is used by aclocal.
* m4/Makefile.am: New file.
* configure.in: Substitute m4/Makefile.
* autogen.sh: Don't copy any macro files, use m4 directory.
2002-09-17 16:13:25 +00:00
Pavel Roskin 49fa4f649c * autogen.sh: Use autopoint for gettext 0.11.5 and above. Don't
allow gettext versions from 0.10.40 to 0.11.5 (not inclusive).
2002-09-13 22:33:44 +00:00
Pavel Roskin ae97181c29 Remove tmpout regardless of whether it's used. 2002-07-28 06:39:48 +00:00
Pavel Roskin 7ca8a22227 Please, no rm without "-f", it can stop and ask "are you sure?" 2002-05-14 23:17:34 +00:00
Pavel Roskin 0c19dfcc35 Create "config" directory before running gettextize - new
gettextize (0.11.x) requires it.
2002-05-14 17:00:22 +00:00
Andrew V. Samoilov 4004ee1264 Use quoted END in here-document 2002-05-14 14:23:01 +00:00
Andrew V. Samoilov 75693b126e * configure.in: Don't generate po/Makefile if
there is 'top_builddir' in po/Makefile.in.
* autogen.sh: More fixes for gettext 0.11+.
2002-05-14 14:16:47 +00:00
Marco Ciampa 987a82ebbb Corrected bug in sed string: gettext_ver was defined only with version numbering != 5 digits. 2002-04-12 11:02:48 +00:00
Andrew V. Samoilov baa2f67b78 gettext_ver: Add leading 0 before one digit minor numbers like 0.11.1 2002-04-12 06:58:36 +00:00
Andrew V. Samoilov 0eaecaf79d * autogen.sh: Fix for gettext 0.11 family (and newer). 2002-04-09 13:16:39 +00:00
Pavel Roskin 3831458bae Check that aclocal, autoheader, automake and autoconf actually generate
output files.  Exit with an error message otherwise.
Reported by
  Petr Kozelka <pkozelka@centrum.cz> - automake
  Frédéric L. W. Meunier" <lists@pervalidus.net> - aclocal
2002-01-28 16:22:04 +00:00
Pavel Roskin 5faeab492b Suppresses copying the gettext macro files if they are already avalable to aclocal.
Reported by Petr Kozelka <pkozelka@centrum.cz>
2002-01-21 07:41:47 +00:00
Pavel Roskin f95559e1c3 Remove vfs/samba/autom4te.cache too. 2001-09-30 19:51:23 +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 692f52ce8d * configure.in: Use three-argument form of AC_INIT. Use
AC_CONFIG_AUX_DIR.  Remove some unused or implied macros.
* Makefile.am (EXTRA_DIST): Remove "depcomp" - this workaround
is not needed if AC_CONFIG_AUX_DIR is used.
* vfs/Make-mc.in: Adjust mkinstalldirs location.
* autogen.sh: Create "config" and remove "autom4te.cache".
2001-09-12 19:18:38 +00:00
Pavel Roskin d0c022f0ca * acinclude.m4: Include all used macros from the macros
directory.
* autogen.sh: Remove all references to "macros".
* Makefile.am: Likewise.
2001-08-24 20:30:05 +00:00
Pavel Roskin fe1df0083f * autogen.sh: Fall back to aclocal without "-I gettext.m4" in
case it already has gettext macros elsewhere and doesn't like
duplicates (i.e. it's aclocal from Automake-1.4).
2001-08-21 04:11:57 +00:00