mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-05 11:04:42 +03:00
* configure.in: When checking for ncurses, check for
has_colors(), not curses_version() - the later is missing in older version of ncurses.
This commit is contained in:
parent
1517700adf
commit
7db8a05550
@ -1,3 +1,9 @@
|
|||||||
|
2002-07-15 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* configure.in: When checking for ncurses, check for
|
||||||
|
has_colors(), not curses_version() - the later is missing in
|
||||||
|
older version of ncurses.
|
||||||
|
|
||||||
2002-07-13 Pavel Roskin <proski@gnu.org>
|
2002-07-13 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* acinclude.m4 (AC_EXT2_UNDEL): Add ext2fs libraries to MC_LIBS,
|
* acinclude.m4 (AC_EXT2_UNDEL): Add ext2fs libraries to MC_LIBS,
|
||||||
|
@ -342,7 +342,7 @@ AC_ARG_WITH(ncurses,
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dnl curses_version is specific to ncurses, it's not in old curses
|
dnl curses_version is specific to ncurses, it's not in old curses
|
||||||
AC_CHECK_LIB(ncurses, curses_version, [MCLIBS="$MCLIBS -lncurses"],
|
AC_CHECK_LIB(ncurses, has_colors, [MCLIBS="$MCLIBS -lncurses"],
|
||||||
[AC_MSG_ERROR([Could not find ncurses library])])
|
[AC_MSG_ERROR([Could not find ncurses library])])
|
||||||
|
|
||||||
screen_type="ncurses"
|
screen_type="ncurses"
|
||||||
|
Loading…
Reference in New Issue
Block a user