4 dnl OLD: We prefer byacc or yacc because they do not use `alloca'
6 dnl CURRENT: We don't mind `alloca', but we do mind `bison -y' because
7 dnl newer versions of `bison', with `-y' complain about %expect and
8 dnl anything that yacc didn't document. Because `bison' typically
9 dnl also installs a `yacc' link that acts like `bison y', we put
10 dnl `yacc' last in this list.
13 AC_DEFUN([AC_KRB_PROG_YACC],
14 [AC_CHECK_PROGS(YACC, 'bison -d' 'byacc -d' yacc)
15 if test "$YACC" = ""; then
16 AC_MSG_WARN([byacc and bison not found - some stuff will not build])