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