mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* acinclude.m4 (MC_WITH_NCURSES): Check -lcurses if -lncurses
doesn't work. Useful on OpenBSD 3.2.
This commit is contained in:
parent
4f1e8b8d26
commit
b0c4a45dcf
@ -1,3 +1,8 @@
|
|||||||
|
2003-01-30 Pavel Tsekov <ptsekov@gmx.net>
|
||||||
|
|
||||||
|
* acinclude.m4 (MC_WITH_NCURSES): Check -lcurses if -lncurses
|
||||||
|
doesn't work. Useful on OpenBSD 3.2.
|
||||||
|
|
||||||
2003-01-29 Pavel Roskin <proski@gnu.org>
|
2003-01-29 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* lib/mc.ext.in: Fix missing semicolon that affected viewing RPM
|
* lib/mc.ext.in: Fix missing semicolon that affected viewing RPM
|
||||||
|
@ -799,7 +799,9 @@ dnl or you'll have to press Esc three times to dismiss a dialog box.
|
|||||||
dnl
|
dnl
|
||||||
AC_DEFUN([MC_WITH_NCURSES], [
|
AC_DEFUN([MC_WITH_NCURSES], [
|
||||||
dnl has_colors() is specific to ncurses, it's not in the old curses
|
dnl has_colors() is specific to ncurses, it's not in the old curses
|
||||||
AC_CHECK_LIB([ncurses], [has_colors], [MCLIBS="$MCLIBS -lncurses"],
|
save_LIBS="$LIBS"
|
||||||
|
LIBS=
|
||||||
|
AC_SEARCH_LIBS([has_colors], [ncurses curses], [MCLIBS="$MCLIBS $LIBS"],
|
||||||
[AC_MSG_ERROR([Cannot find ncurses library])])
|
[AC_MSG_ERROR([Cannot find ncurses library])])
|
||||||
|
|
||||||
dnl Check the header
|
dnl Check the header
|
||||||
@ -816,8 +818,6 @@ AC_DEFUN([MC_WITH_NCURSES], [
|
|||||||
AC_DEFINE(USE_NCURSES, 1,
|
AC_DEFINE(USE_NCURSES, 1,
|
||||||
[Define to use ncurses for screen management])
|
[Define to use ncurses for screen management])
|
||||||
|
|
||||||
save_LIBS="$LIBS"
|
|
||||||
LIBS="$LIBS -lncurses"
|
|
||||||
AC_CACHE_CHECK([for ESCDELAY variable],
|
AC_CACHE_CHECK([for ESCDELAY variable],
|
||||||
[mc_cv_ncurses_escdelay],
|
[mc_cv_ncurses_escdelay],
|
||||||
[AC_TRY_COMPILE([], [
|
[AC_TRY_COMPILE([], [
|
||||||
|
Loading…
Reference in New Issue
Block a user