1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/third_party/heimdal/cf/krb-prog-yacc.m4
Joseph Sutton 51569b3152 third_party/heimdal: import lorikeet-heimdal-202203010107 (commit 0e7a12404c388e831fe6933fcc3c86e7eb334825)
NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-03-01 22:34:34 +00:00

19 lines
612 B
Plaintext

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
])