Let configure fail if no terminal library is found

This commit is contained in:
Rene Kita
2021-09-14 19:10:14 +02:00
parent 72177529d2
commit 0d3416e0c2
2 changed files with 5 additions and 1 deletions

2
configure vendored
View File

@@ -8803,6 +8803,8 @@ eval ac_res=\$$as_ac_Lib
$as_echo "$ac_res" >&6; }
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
W3M_LIBS="$W3M_LIBS -l$lib"; break
else
test "$lib" = curses && as_fn_error $? "No terminal library found" "$LINENO" 5
fi
done