[librsvg: 1/2] Check for prefixed rust
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/2] Check for prefixed rust
- Date: Fri, 20 Nov 2020 18:31:19 +0000 (UTC)
commit a2cf04cd8d388f3867a3526f57ba0116430d5550
Author: Heiko Becker <heirecka exherbo org>
Date: Wed Nov 18 23:30:17 2020 +0100
Check for prefixed rust
Sometimes with cross-compile toolchains, the tools are prefixed with the
target arch. AC_CHECK_TOOL looks for such tools.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 086da6fa..29318585 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,7 +107,7 @@ AC_CHECK_PROGS(CARGO, [cargo], [no])
AS_IF(test x$CARGO = xno,
AC_MSG_ERROR([cargo is required. Please install the Rust toolchain from https://www.rust-lang.org/])
)
-AC_CHECK_PROGS(RUSTC, [rustc], [no])
+AC_CHECK_TOOL(RUSTC, [rustc], [no])
AS_IF(test x$RUSTC = xno,
AC_MSG_ERROR([rustc is required. Please install the Rust toolchain from https://www.rust-lang.org/])
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]