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