nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit ba1f99058236142bab3cbd0cb593d06c3bd9acef
parent 6795d079b1f7d3f3b30f26078de99ccb25def4ec
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 19 Jan 2018 11:11:12 +0100

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

This fixes https://savannah.gnu.org/bugs/?52930.
Reported-by: Michail Tsiolkas <mtsio@cryptolab.net>

Diffstat:
Mconfigure.ac | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -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