Check for $YACC, from Wei Shih in GitHub issue 3267.

pull/3297/head
Nicholas Marriott 2022-08-02 11:52:09 +01:00
parent 9d9445a48e
commit 00812c9053
1 changed files with 6 additions and 0 deletions

View File

@ -267,6 +267,12 @@ if test "x$found_libevent" = xno; then
AC_MSG_ERROR("libevent not found")
fi
# Look for yacc.
AC_CHECK_PROG(found_yacc, $YACC, yes, no)
if test "x$found_yacc" = xno; then
AC_MSG_ERROR("yacc not found")
fi
# Look for ncurses or curses. Try pkg-config first then directly for the
# library.
PKG_CHECK_MODULES(