summaryrefslogtreecommitdiffstats
path: root/third_party/heimdal/cf/krb-prog-yacc.m4
blob: 4c0afd9b7c33ba9718474e6e2b18521cd121e61b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
dnl $Id$
dnl
dnl
dnl OLD: We prefer byacc or yacc because they do not use `alloca'
dnl
dnl CURRENT: We don't mind `alloca', but we do mind `bison -y' because
dnl          newer versions of `bison', with `-y' complain about %expect and
dnl          anything that yacc didn't document.  Because `bison' typically
dnl          also installs a `yacc' link that acts like `bison y', we put
dnl          `yacc' last in this list.
dnl

AC_DEFUN([AC_KRB_PROG_YACC],
[AC_CHECK_PROGS(YACC, 'bison -d' 'byacc -d' yacc)
if test "$YACC" = ""; then
  AC_MSG_WARN([byacc and bison not found - some stuff will not build])
fi
])