Commit Graph

100 Commits

Author SHA1 Message Date
Slava Zanko
12446899f7 Changes for configure and build with samba:
* m4: AC_CONFIG_SUBDIRS() macros should be always called without relation to enable/disable samba support
 * vfs/samba: configure.ac: renamed --with-configdir to --with-smb-configdir
 * vfs/samba: configure.ac: renamed --with-codepagedir to --with-smb-codepagedir

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
9b89d60522 VFS: cleaned up smbfs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
67d6ebfd16 VFS: fishfs can now be switched off
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
05516fbac8 VFS: ftpfs can now be switched off
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
bc1de7cd78 VFS: extfs can now be switched off
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
6f289617d2 VFS: sfs can now be switched off
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
f33f7a5031 VFS: tarfs can now be switched off
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
19390ab2d7 VFS: cpiofs can now be switched off
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Slava Zanko
57b980ccb9 undelfs now switched off by default
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
5df06e7630 VFS: fixups of UNDELFS VFS switch on/off.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Slava Zanko
3ef8854036 Bug: if VFS is disabled, perl is not checked and man2hlp doesn't work.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-21 16:43:49 +04:00
Andrew Borodin
d0de39bcde Ticket #1818: refactoring of VFS building options.
Initial step: removed MVFS references. MVFS is not supported.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:49 +04:00
Andrew Borodin
6a55c9320e Ticket #2279: mcserver is deprecated.
Removed mcserver and mcfs support.

Reasons:
(1) no longer builds
(2) no one is willing to support it
(3) possibly contains unfixed security holes
(4) makes no sense in view of the availability of FISH

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-17 18:36:54 +04:00
Slava Zanko
e07b5598da Fixed broken compile if slang.pc file present in ${libdir}/pkgconfig
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-06-16 10:42:56 +03:00
Slava Zanko
863291ddcd Ticket #1959: Broken master branch after 'AC_TRY_RUN crosscompile break' patch
* split m4.include/mc-with-screen.m4 file in two files: mc-with-screen-slang.m4 and mc-with-screen.m4

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-06-16 10:42:45 +03:00
Slava Zanko
da583e5739 Ticket #1959: AC_TRY_RUN crosscompile break
We have several AC_TRY_RUN's in the configure/m4 stuff,
which obviously breaks crosscompiling.

This changeset contain fixies for S-Lang library. First try to search
library via 'pkg-config slang' and then try to go in old search way.
Macro AC_TRY_RUN() now replaced by AC_RUN_IFELSE()

Also, next changes was made:
 * Removed AC_TRY_RUN() from gmodule checking code.
 * More accuracy in grepping of SLANG_VERSION defined constant
 * avoid autoconf error 'suspicious presence of an AC_DEFINE in the second argument, where no actions should be taken'

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-06-14 12:44:29 +03:00
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