X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=configure.ac;h=e361877da2a50db38b1424b280e7c639bdc611f7;hb=cd1e73b4eda7ec555f2cb832fe98d618c377ea65;hp=ea64de74830fdd22615463e93634ecd2a146b0eb;hpb=c71db7787b63fc1ab0c57672c9e469711748bda9;p=riscv-isa-sim.git diff --git a/configure.ac b/configure.ac index ea64de7..e361877 100644 --- a/configure.ac +++ b/configure.ac @@ -51,7 +51,8 @@ AC_PROG_CC AC_PROG_CXX AC_CHECK_TOOL([AR],[ar]) AC_CHECK_TOOL([RANLIB],[ranlib]) -AC_PATH_PROG([DTC],[dtc]) +AC_PATH_PROG([DTC],[dtc],[no]) +AS_IF([test x"$DTC" == xno],AC_MSG_ERROR([device-tree-compiler not found])) AC_DEFINE_UNQUOTED(DTC, ["$DTC"], [Path to the device-tree-compiler]) AC_C_BIGENDIAN(AC_MSG_ERROR([Spike requires a little-endian host]))