* configure.in: Test for bison.
* Makefile.in (YACC): New variable. (lib-src/Makefile.in): Edit YACC into the makefile. * Makefile.in (YACC): New variable, to be set by top-level Makefile.
This commit is contained in:
parent
2756d8ee8d
commit
4b5a51c1fe
3 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,7 @@ LN_S=@LN_S@
|
|||
CFLAGS=@CFLAGS@
|
||||
C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
|
||||
LD_SWITCH_X_SITE=@LD_SWITCH_X_SITE@
|
||||
YACC=@YACC@
|
||||
|
||||
### These help us choose version- and architecture-specific directories
|
||||
### to install files in.
|
||||
|
@ -256,6 +257,7 @@ lib-src/Makefile: ${srcdir}/lib-src/Makefile.in Makefile
|
|||
-e 's|^\(VPATH *=\).*$$|\1'"${srcdir}"'/lib-src|' \
|
||||
-e 's|^\(archlibdir *=\).*$$|\1'"${archlibdir}"'|' \
|
||||
-e 's|^\(ALLOCA *=\).*$$|\1'"${ALLOCA}"'|' \
|
||||
-e 's|^\(YACC *=\).*$$|\1'"${YACC}"'|' \
|
||||
-e 's|^CC *=.*$$|CC='"${CC}"'|' \
|
||||
-e 's|^CFLAGS *=.*$$|CFLAGS='"${CFLAGS}"'|' \
|
||||
-e 's|^C_SWITCH_SYSTEM *=.*$$|C_SWITCH_SYSTEM='"${C_SWITCH_SYSTEM}"'|' \
|
||||
|
|
|
@ -929,6 +929,7 @@ dnl checks for programs
|
|||
AC_LN_S
|
||||
AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_YACC
|
||||
|
||||
dnl checks for UNIX variants that set `DEFS'
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ CFLAGS=-g
|
|||
ALLOCA=
|
||||
C_SWITCH_SYSTEM=
|
||||
LOADLIBES=
|
||||
YACC=yacc
|
||||
version=version-not-set
|
||||
configname=configuration-name-not-set
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue