Fix so that autoconf actually checks for bison/yacc/byacc, so that systems
authorTheodore Tso <tytso@mit.edu>
Fri, 23 Sep 1994 01:14:35 +0000 (01:14 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 23 Sep 1994 01:14:35 +0000 (01:14 +0000)
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

src/config/pre.in
src/util/et/configure.in
src/util/ss/Makefile.in
src/util/ss/configure.in

index aeaa77f1e37fb9220acaa8dd49943190253fe97f..c5fd6d982e70cdfbba4e5a4bcf36969e3614b024 100644 (file)
@@ -43,6 +43,7 @@ LN = @LN_S@
 AWK = @AWK@
 LEX = @LEX@
 LEXLIB = @LEXLIB@
+YACC = @YACC@
 
 SRCTOP = $(srcdir)/$(BUILDTOP)
 SUBDIRS = @SUBDIRS@
index f5200944c122c09d6102494d1230150d049a6296..0d1edb9ae87b86edd1fb4679207bd8e41ad4e1d1 100644 (file)
@@ -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
index 6dbba219f1172de87d8e8002ecfa8a81a0f95e9a..6bf519f2403b23270ab097a451ca4830d938f1a3 100644 (file)
@@ -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
 
index aa374738b09bc14a6f6b1441e4a9cb0a3387c878..e81508266978d9c79c2b02b2917aab04be5fa661 100644 (file)
@@ -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