From 63dd71c39c9bf522ad3a785dd001737a285458eb Mon Sep 17 00:00:00 2001 From: Alexander Amelkin Date: Fri, 29 Nov 2019 13:47:48 +0300 Subject: [PATCH] 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 --- INSTALL | 4 ++-- configure.ac | 6 ------ 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