Allow configure override of AR program (#2999).

This commit is contained in:
Wilson Snyder 2021-06-19 10:00:31 -04:00
parent 52cde49a6f
commit 8d737271ca
3 changed files with 9 additions and 4 deletions

View File

@ -21,6 +21,7 @@ Verilator 4.205 devel
* Optimize a lot more model variables into function locals (#3027). [Geza Lore]
* Remove deprecated --no-relative-cfuncs option (#3024). [Geza Lore]
* Merge const static data globally into a new constant pool (#3013). [Geza Lore]
* Allow configure override of AR program (#2999). [ahouska]
* Fix error on unsupported recursive functions (#2957). [Trefor Southwell]

View File

@ -163,6 +163,11 @@ AC_RUN_IFELSE(
AC_MSG_RESULT(no);AC_MSG_ERROR([a working C++ compiler is required]),
AC_MSG_RESULT(yes))
AC_CHECK_PROG(AR,ar,ar)
if test "x$AR" = "x" ; then
AC_MSG_ERROR([Cannot find "ar" in your PATH, please install it])
fi
AC_PATH_PROG(PERL,perl)
if test "x$PERL" = "x" ; then
AC_MSG_ERROR([Cannot find "perl" in your PATH, please install it])

View File

@ -9,13 +9,12 @@
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
######################################################################
PERL = @PERL@
PYTHON3 = @PYTHON3@
AR = @AR@
CXX = @CXX@
LINK = @CXX@
AR = ar
RANLIB = ranlib
OBJCACHE ?= @OBJCACHE@
PERL = @PERL@
PYTHON3 = @PYTHON3@
CFG_WITH_CCWARN = @CFG_WITH_CCWARN@
CFG_WITH_LONGTESTS = @CFG_WITH_LONGTESTS@