mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
* Migrate all tools to AC_CHECK_PROG
This commit is contained in:
parent
ff1d20d50c
commit
3572bd2f1a
@ -190,26 +190,26 @@ if test "x$AR" = "x" ; then
|
|||||||
AC_MSG_ERROR([Cannot find "ar" in your PATH, please install it])
|
AC_MSG_ERROR([Cannot find "ar" in your PATH, please install it])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_PATH_PROG(PERL,perl)
|
AC_CHECK_PROG(PERL,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(PYTHON3,python3)
|
AC_CHECK_PROG(PYTHON3,python3,python3)
|
||||||
if test "x$PYTHON3" = "x" ; then
|
if test "x$PYTHON3" = "x" ; then
|
||||||
AC_MSG_ERROR([Cannot find "python3" in your PATH, please install it])
|
AC_MSG_ERROR([Cannot find "python3" in your PATH, please install it])
|
||||||
fi
|
fi
|
||||||
python3_version=$($PYTHON3 --version | head -1)
|
python3_version=$($PYTHON3 --version | head -1)
|
||||||
AC_MSG_RESULT([$PYTHON3 --version = $python3_version])
|
AC_MSG_RESULT([$PYTHON3 --version = $python3_version])
|
||||||
|
|
||||||
AC_PATH_PROG(LEX,flex)
|
AC_CHECK_PROG(LEX,flex,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)
|
flex_version=$($LEX --version | head -1)
|
||||||
AC_MSG_RESULT([$LEX --version = $flex_version])
|
AC_MSG_RESULT([$LEX --version = $flex_version])
|
||||||
|
|
||||||
AC_PATH_PROG(YACC,bison)
|
AC_CHECK_PROG(YACC,bison,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
|
||||||
|
@ -150,6 +150,7 @@ Mladen Slijepcevic
|
|||||||
Morten Borup Petersen
|
Morten Borup Petersen
|
||||||
Mostafa Gamal
|
Mostafa Gamal
|
||||||
Nandu Raj
|
Nandu Raj
|
||||||
|
Nathan Graybeal
|
||||||
Nathan Kohagen
|
Nathan Kohagen
|
||||||
Nathan Myers
|
Nathan Myers
|
||||||
Nolan Poe
|
Nolan Poe
|
||||||
|
Loading…
Reference in New Issue
Block a user