summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Amelkin <alexander@amelkin.msk.ru>2019-11-29 13:47:48 +0300
committerAlexander Amelkin <mocbuhtig@amelkin.msk.ru>2019-12-05 13:45:57 +0300
commit63dd71c39c9bf522ad3a785dd001737a285458eb (patch)
tree4e0491850395341d029647e3788e0a5087143d44
parente60eac12cc7684e9a7592bb9aa49ef27f5b18348 (diff)
downloadipmitool-63dd71c39c9bf522ad3a785dd001737a285458eb.tar.gz
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>
-rw-r--r--INSTALL4
-rw-r--r--configure.ac6
2 files changed, 2 insertions, 8 deletions
diff --git a/INSTALL b/INSTALL
index fc3cbe3..a65794b 100644
--- a/INSTALL
+++ b/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
==================
diff --git a/configure.ac b/configure.ac
index 6cd5e80..adf9bd7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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