2013-04-06 16:48:33 +02:00

7 lines
224 B
Plaintext

dnl find bison/yacc, but error if none found
AC_DEFUN([AMU_PROG_YACC],
[AC_CHECK_PROGS(YACC, 'bison -y' byacc yacc, :)
if test "x$YACC" = "x:"; then
AC_MSG_ERROR([cannot find bison/yacc/byacc -- needed for am-utils])
fi])