From: Theodore Tso Date: Fri, 23 Sep 1994 01:14:35 +0000 (+0000) Subject: Fix so that autoconf actually checks for bison/yacc/byacc, so that systems X-Git-Tag: krb5-1.0-beta4.3~100 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b6384434a6d3bbbaf578f1092d9bf0820817d82a;p=krb5.git Fix so that autoconf actually checks for bison/yacc/byacc, so that systems without yacc will win. (Previously, the com_err and ss libraries assumed that yacc existed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4331 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/config/pre.in b/src/config/pre.in index aeaa77f1e..c5fd6d982 100644 --- a/src/config/pre.in +++ b/src/config/pre.in @@ -43,6 +43,7 @@ LN = @LN_S@ AWK = @AWK@ LEX = @LEX@ LEXLIB = @LEXLIB@ +YACC = @YACC@ SRCTOP = $(srcdir)/$(BUILDTOP) SUBDIRS = @SUBDIRS@ diff --git a/src/util/et/configure.in b/src/util/et/configure.in index f5200944c..0d1edb9ae 100644 --- a/src/util/et/configure.in +++ b/src/util/et/configure.in @@ -3,6 +3,7 @@ WITH_CCOPTS CONFIG_RULES AC_SET_BUILDTOP AC_PROG_LEX +AC_PROG_YACC AC_PROG_ARCHIVE AC_PROG_RANLIB HAVE_YYLINENO diff --git a/src/util/ss/Makefile.in b/src/util/ss/Makefile.in index 6dbba219f..6bf519f24 100644 --- a/src/util/ss/Makefile.in +++ b/src/util/ss/Makefile.in @@ -94,7 +94,7 @@ depend:: ss_err.h ct.tab.c ct.tab.h: ct.y $(RM) ct.tab.* y.* - yacc -d $(srcdir)/ct.y + $(YACC) -d $(srcdir)/ct.y $(MV) y.tab.c ct.tab.c $(MV) y.tab.h ct.tab.h diff --git a/src/util/ss/configure.in b/src/util/ss/configure.in index aa374738b..e81508266 100644 --- a/src/util/ss/configure.in +++ b/src/util/ss/configure.in @@ -3,6 +3,7 @@ WITH_CCOPTS CONFIG_RULES AC_SET_BUILDTOP AC_PROG_LEX +AC_PROG_YACC AC_PROG_ARCHIVE AC_PROG_RANLIB HAVE_YYLINENO