mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
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:
parent
e60eac12cc
commit
63dd71c39c
4
INSTALL
4
INSTALL
@ -23,10 +23,10 @@ project is tested automatically to build cleanly for the following
|
||||
- MacOS X 10.14 (Xcode 10.2)
|
||||
|
||||
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:
|
||||
$ 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
|
||||
==================
|
||||
|
@ -624,13 +624,7 @@ AC_ARG_ENABLE([ipmishell],
|
||||
|
||||
dnl check for readline library to enable ipmi shell
|
||||
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])
|
||||
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
|
||||
AC_MSG_ERROR([** Unable to find readline required by ipmishell.])
|
||||
xenable_ipmishell=no
|
||||
|
Loading…
x
Reference in New Issue
Block a user