Commit ba1f9905 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

build: let ./configure fail (not just warn) when curses.h is missing

This fixes https://savannah.gnu.org/bugs/?52930

.
Reported-by: default avatarMichail Tsiolkas <mtsio@cryptolab.net>
No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
......@@ -565,10 +565,10 @@ if eval "test x$CURSES_LIB_NAME = x"; then
fi
if eval "test x$CURSES_LIB_NAME = x"; then
AC_MSG_WARN([
*** No curses lib available. Consider getting the official ncurses
*** distribution from ftp://ftp.gnu.org/pub/gnu/ncurses if you get
*** errors compiling nano.])
AC_MSG_ERROR([
*** No curses lib was found. Please install the curses header files
*** from libncursesw5-dev (Debian), ncurses-devel (Fedora), or similar.
*** (Or install ncurses from https://ftp.gnu.org/gnu/ncurses/.)])
else
AC_MSG_RESULT([Using $CURSES_LIB_NAME as the curses library])
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment