Check for flex and yacc moved out of XSPICE for making distributions (Stuart Brorson)

This commit is contained in:
pnenzi 2005-08-27 20:45:20 +00:00
parent f8ff8283dc
commit f3069e042a
2 changed files with 7 additions and 4 deletions

View File

@ -312,6 +312,11 @@ fi ;;
esac
dnl Define variables for YACC and LEX
AC_PROG_YACC
AM_PROG_LEX
dnl Check for a few typdefs:
AC_TYPE_PID_T
AC_TYPE_SIGNAL
@ -540,12 +545,11 @@ fi
AC_SUBST(EKVDIR)
AC_SUBST(EKVLIB)
dnl Add new code models to the build by pointing to them here.
if test "$enable_xspice" = "yes"; then
AC_MSG_RESULT(X-Spice features included)
AC_DEFINE(XSPICE,[],[The xspice enhancements])
AC_PROG_YACC
AM_PROG_LEX
XSPICEDIR="xspice"
case $host_os in
*mingw* | *cygwin* )

View File

@ -6,8 +6,7 @@ EXTRA_DIST = ifs_lex.l mod_lex.l ifs_yacc.h mod_yacc.h
MAINTAINERCLEANFILES = Makefile.in
AM_YFLAGS = -d
YACC = @YACC@ -d
LEX = @LEX@ -t
bin_PROGRAMS = cmpp