|
From: | Benno Schulenberg |
Subject: | Re: [Nano-devel] building fails for lack of libncurses-dev but configure does not fail |
Date: | Wed, 3 Jan 2018 12:22:46 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
Op 02-01-18 om 23:01 schreef mtsio:
On 02/01/2018 10:51 μμ, Benno Schulenberg wrote:Configure does give a warning when it can't find any curses header files. I don't know how this detection of slang and/or curses actually works. If you have suggestions or a patch for how to do this better... I'm all ears.I changed configure.ac to give an error instead of a warning and slightly the error message.
Well... the thing is: there's probably a reason why it gives just a warning and does not fail with an error. Possibly some other implementations of curses (maybe on the BSDs?) cannot (or could not) be detected reliably? But I agree that indeed ./configure should fail when it cannot detect a curses library (when not configured with --with-slang), so I will apply a patch similar to yours and we'll see on what platforms things break. I'm guessing you are Michail Tsiolkas? (For a Reported-by tag.) Benno
[Prev in Thread] | Current Thread | [Next in Thread] |