Commit Graph

13 Commits

Author SHA1 Message Date
Andrew Borodin 0eae2cb8dc Unify m4 macro names.
Macros get from other projects keep their original names:
gl_FSTYPENAME, AX_PATH_LIB_PCRE, etc.

Macros initially writtem for MC have original names with prefix mc_:
mc_VERSION, mc_CHECK_GLIB, etc

Macros get from other projects and modified for MC keep their
original names with prefix mc_:
mc_cu_PREREQ_STAT_PROG, mc_AC_GET_FS_INFO.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-03-04 09:23:36 +03:00
Andrew Borodin d84e462b89 Cleanup of screen library detection m4 code.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-06 13:19:19 +04: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
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
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 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 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 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