about summary refs log tree commit diff
path: root/sysdeps/riscv/preconfigure.ac
Commit message (Collapse)AuthorAgeFilesLines
* RISC-V: Use an autoconf template to produce `preconfigure'Maciej W. Rozycki2022-05-131-0/+64
Avoid fiddling with autoconf internals and use AC_DEFINE_UNQUOTED to define macros in the configuration headers rather than handcoding an equivalent shell sequence with the use of the `as_echo' undocumented variable. Switch to using AC_MSG_ERROR rather than `echo' and `exit' directly for error handling. Owing to the lack of any kind of error annotation it makes it difficult to spot the message in the flood in a parallel build and neither it is logged in `config.log'. Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com> Acked-by: Palmer Dabbelt <palmer@rivosinc.com>