configure: raise error if curses is not found

This commit is contained in:
Liss Tarnell 2017-09-25 13:14:35 +01:00
parent 000a019648
commit 6c853f1b95
2 changed files with 8 additions and 0 deletions

View file

@ -24,6 +24,9 @@ AC_PROG_CC
AC_PROG_INSTALL
AX_WITH_CURSES
AS_IF([test "x$ax_cv_curses" != xyes], [
AC_ERROR([XSI/SVR4 curses is required to compile TTS])
])
oLIBS="$LIBS"
LIBS="$LIBS $CURSES_LIB"
AC_CHECK_FUNCS([use_default_colors wcslcpy wcslcat])