Merge pull request #1290 from mistydemeo/check_for_term_h

Add a check for term.h
This commit is contained in:
ailin-nemui 2021-04-01 21:28:04 +02:00 committed by GitHub
commit a731525012
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View file

@ -355,6 +355,10 @@ if test "x$want_textui" != "xno"; then
AC_SUBST(TEXTUI_LIBS)
LIBS="$TEXTUI_NO_LIBS"
AC_CHECK_HEADER([term.h], [
AC_DEFINE(HAVE_TERM_H, [], [Define to 1 if you have the `term.h' header.])
])
fi
dnl **