Commit Graph

84 Commits

Author SHA1 Message Date
Andrew Borodin efa29d7cc7 Fixed messages of PCRE check.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Enrico Weigelt, metux IT service a295a9df47 Ticket #1925: Fixed conditional compile of mcserver 2010-01-27 21:56:46 +01:00
Rainer Tammer 476145a0f5 patches for AIX with ncurses support
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-27 10:04:38 +02:00
Andrew Borodin ec8bab205b Ticket #1905: fix of version calculation.
configure: line 2188: 0: command not found

This error occurs due to incorrect processing of grep command output.
This commit fixed that issue.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-11 09:36:36 +00:00
Enrico Weigelt, metux IT service 8c9619cef1 Replaced WITH_SMBFS by ENABLE_VFS_SMB 2010-01-02 16:29:24 +01:00
Slava Zanko 7f4f0cb660 Ticket #1905: Rework the versioning scheme.
We have a problem with the current mc-x.y.z-preW versioning scheme for
both Redhat and Debian. The problem is that

(1) mc-1:4.7.0-1.fc12.x86_64
(2) mc-1:4.7.0.pre4.231.g8cfffc5-1.fc12.x86_64

(1) is considered to be older than (2)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-30 22:22:53 +02:00
Enrico Weigelt, metux IT service ec1a52fb0a VFS: renamed USE_VFS to ENABLE_VFS 2009-12-30 11:06:11 +02:00
Enrico Weigelt, metux IT service 02a6a6994b VFS: fixed help description for --disable-vfs 2009-12-30 11:06:11 +02:00
Enrico Weigelt, metux IT service 03b6d00976 Ticket #1916: non-vfs build fixups
* removed accidentially merged unfinished mvfs stuff
* added missing AM_CONDITIONAL's for non-vfs build
* fixed clashes between vfs/vfs.h and src/vfsdummy.h
* added missing functions/inlines to non-vfs build
2009-12-30 11:06:09 +02:00
Slava Zanko f3f30e46f6 Fixed incorrect showing name of search library in summary screen
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-24 10:39:36 +02:00
Slava Zanko e67965bd74 Ticket #1396: Fixed logic of processing '--with-search-engine' configure option.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-24 10:39:36 +02:00
Sergei Trofimovich 7670235dfc m4.include/mc-cflags.m4: added -fdiagnostics-show-option (exact warning option)
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-12-16 11:10:41 +02:00
Sergei Trofimovich 053cd1fc52 m4.include/mc-cflags.m4: sorted CFLAGS (no flags were added or removed)
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-12-16 11:10:41 +02:00
Sergei Trofimovich 68417a334f cflags: enable -Wformat in maintainer mode
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-12-16 11:10:41 +02:00
Enrico Weigelt, metux IT service 8f01c7c1f8 m4.include/mc-use-termcap.m4: fixed const char* issue which triggers break on -Wall 2009-11-09 13:49:56 +01:00
Enrico Weigelt, metux IT service 6a4a88ea68 Ticket #1774: Various build fixups (missing includes, name clashes, ...)
m4.include/ac-get-fs-info.m4: fixed const char* issue which triggers break on -Wall

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-09 13:49:40 +01:00
Slava Zanko 2ffb7c6719 Added checks for compiler options.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-30 14:41:03 +02:00
sfionov 1551db2f9f Ticket #1642: filegui.c contains Linux-specific things
mc 4.7.0-pre1 introduced dynamic "Save attributes" checkbox value in Copy/Move dialog.
But code is Linux-specific, and not even isolated by macros.

I suggest to add code specific for BSD and SVR4 systems.

In BSD systems (MacOS X, NetBSD, FreeBSD) there is statfs.f_fstypename which contains name of filesystem.
Valid FS names are: msdos, msdosfs (FreeBSD), ntfs, smbfs, procfs, fusefs (BSD), fusefs_subfstype (Mac)

In SVR4 systems (Solaris and other SVR4 Unixes) there are statvfs.f_basetype and statvfs
syscall instead of statfs and also autotools define STAT_STATVFS.
Valid FS names are: pcfs, proc, ntfs, fuse, smbfs

(Note that NetBSD 3.0+ also use statvfs but with BSD syntax.)

For all other OSes we simply return 1.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-28 10:38:20 +02:00
Ilia Maslakov 9e0316c777 Ticket #1474 (fix slang include)
fix: typo in #include <slang.h> section
2009-08-12 19:32:50 +00:00
Slava Zanko 5b0218337f Added check for version of S-Lang. Minimal version is 2.0
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-12 21:23:55 +04:00
Andrew Borodin d7d3267594 TTY: removed slang1 related code.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-12 21:23:55 +04:00
Stan. S. Krupoderov b9d2d3fc7f Ticket #185 (Check for gethostbyname with nsl)
socket.m4: add nsl in search for gethostbyname
2009-08-04 14:12:39 +04:00
Stan. S. Krupoderov ea4a652275 Ticket #1426 (linking with --with-glib-static option)
Makefile.am: change libs search order to fix link problem with
     --with-glib-static

    m4.include/mc-with-screen.m4, src/Makefile.am: cleanup
2009-08-02 07:49:12 +00:00
Slava Zanko 57cb8390dc Ticket #1428
Fixed error: possibly undefined macro: _m4_text_wrap_word
    Signed-off-by: Slava Zanko <slavazanko@gmail.com>

    Fixed:
    * names of options for cpiofs, extfs, fish, ftp, sfs, tarfs
    * indent for option descriptions
    * option name from --search-engine to --with-search-engine
    Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-07-31 09:38:06 +00:00
Slava Zanko 24e81db0dc Ticket #1423 ([FreeBSD] Fail to compile with option '--with-screen=slang' with already installed slang library)
Fixed error with termcap detecting.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-28 15:05:43 +03:00
Slava Zanko 59f0b4ca49 Fixed test conditions in m4 files for more compability
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-27 13:49:49 +03:00
Slava Zanko 66b91538a5 Ticket #1423 (Fail to compile with option '--with-screen=slang')
Fix issue:
Added additional check for this place.

Reason: If slang installed into /usr/local path, then ./configure
script stopped with 'Slang library not found' error

Also added new two options to configure script:
 --with-slang-includes=PATH
 --with-slang-libs=PATH

Now libslang finds in (by order):
 * --with-slang-includes and --with-slang-libs
 * /usr
 * /usr/local

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-27 13:49:49 +03:00
Slava Zanko 514cdf8340 Fixed bug in calculate version code when run under FreeBSD
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-07 11:17:23 +03:00
Slava Zanko 1b03ffad49 Ticket #1396 (need build option --with-search-engine for select regex engine)
Added '--with-search-engine' into configure script.
Changed behavior of lib_pcre m4-module. Now used pkg-config

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-07 11:17:10 +03:00
Slava Zanko fbcacf4044 Now project don't compile if version of glib less than 2.14 and no have pcre library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-06-19 21:47:38 +03:00
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 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 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 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