mirror of https://github.com/MidnightCommander/mc
* 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>
|
||||
|
||||
* acinclude.m4 (AC_EXT2_UNDEL): Add ext2fs libraries to MC_LIBS,
|
||||
|
|
|
@ -342,7 +342,7 @@ AC_ARG_WITH(ncurses,
|
|||
fi
|
||||
|
||||
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])])
|
||||
|
||||
screen_type="ncurses"
|
||||
|
|
Loading…
Reference in New Issue