configure: Drop requirement for curses et. al libs

Libraries ncurses, curses, tinfo and termcap are not actually
needed as the tgetent() function listed as required is not actually
used anywhere in the code.

Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
This commit is contained in:
Alexander Amelkin 2019-11-29 13:47:48 +03:00 committed by Alexander Amelkin
parent e60eac12cc
commit 63dd71c39c
2 changed files with 2 additions and 8 deletions

View File

@ -23,10 +23,10 @@ project is tested automatically to build cleanly for the following
- MacOS X 10.14 (Xcode 10.2) - MacOS X 10.14 (Xcode 10.2)
For Ubuntu 16.04 it is recommended to do the following before building: For Ubuntu 16.04 it is recommended to do the following before building:
$ sudo apt install automake gcc git libncurses-dev libreadline-dev libssl-dev libsystemd-dev libtool make wget $ sudo apt install automake gcc git libreadline-dev libssl-dev libsystemd-dev libtool make wget
For Fedora 31 it is recommended to do the following before building: For Fedora 31 it is recommended to do the following before building:
$ sudo dnf install automake gcc git libtool make ncurses-devel openssl-devel readline-devel systemd-devel wget $ sudo dnf install automake gcc git libtool make openssl-devel readline-devel systemd-devel wget
Basic Installation Basic Installation
================== ==================

View File

@ -624,13 +624,7 @@ AC_ARG_ENABLE([ipmishell],
dnl check for readline library to enable ipmi shell dnl check for readline library to enable ipmi shell
if test "x$xenable_ipmishell" = "xyes"; then if test "x$xenable_ipmishell" = "xyes"; then
AC_SEARCH_LIBS([tgetent], [tinfo ncurses curses readline termcap])
AC_SEARCH_LIBS([initscr], [ncurses curses], [have_curses=yes])
AC_SEARCH_LIBS([readline], [readline edit], [have_readline=yes]) AC_SEARCH_LIBS([readline], [readline edit], [have_readline=yes])
if test "x$have_curses" != "xyes"; then
AC_MSG_ERROR([** Unable to find curses required by ipmishell.])
xenable_ipmishell=no
fi
if test "x$have_readline" != "xyes"; then if test "x$have_readline" != "xyes"; then
AC_MSG_ERROR([** Unable to find readline required by ipmishell.]) AC_MSG_ERROR([** Unable to find readline required by ipmishell.])
xenable_ipmishell=no xenable_ipmishell=no