mirror of
https://github.com/verilator/verilator.git
synced 2025-01-05 22:27:35 +00:00
Configure: Show bison/flex version.
This commit is contained in:
parent
8cdecd5668
commit
f8a67b2fe8
@ -153,14 +153,20 @@ AC_PATH_PROG(PERL,perl)
|
|||||||
if test "x$PERL" = "x" ; then
|
if test "x$PERL" = "x" ; then
|
||||||
AC_MSG_ERROR([Cannot find "perl" in your PATH, please install it])
|
AC_MSG_ERROR([Cannot find "perl" in your PATH, please install it])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_PATH_PROG(LEX,flex)
|
AC_PATH_PROG(LEX,flex)
|
||||||
if test "x$LEX" = "x" ; then
|
if test "x$LEX" = "x" ; then
|
||||||
AC_MSG_ERROR([Cannot find "flex" in your PATH, please install it])
|
AC_MSG_ERROR([Cannot find "flex" in your PATH, please install it])
|
||||||
fi
|
fi
|
||||||
|
flex_version=$($LEX --version | head -1)
|
||||||
|
AC_MSG_RESULT([$LEX --version = $flex_version])
|
||||||
|
|
||||||
AC_PATH_PROG(YACC,bison)
|
AC_PATH_PROG(YACC,bison)
|
||||||
if test "x$YACC" = "x" ; then
|
if test "x$YACC" = "x" ; then
|
||||||
AC_MSG_ERROR([Cannot find "bison" in your PATH, please install it])
|
AC_MSG_ERROR([Cannot find "bison" in your PATH, please install it])
|
||||||
fi
|
fi
|
||||||
|
bison_version=$($YACC --version | head -1)
|
||||||
|
AC_MSG_RESULT([$YACC --version = $bison_version])
|
||||||
|
|
||||||
AC_CHECK_PROG(OBJCACHE,ccache,ccache)
|
AC_CHECK_PROG(OBJCACHE,ccache,ccache)
|
||||||
if test "x$OBJCACHE" != "x" ; then
|
if test "x$OBJCACHE" != "x" ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user