[librsvg: 1/2] Check for prefix cargo as well
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/2] Check for prefix cargo as well
- Date: Tue, 24 Nov 2020 00:31:37 +0000 (UTC)
commit 8e98c8a66e422a3f21c661f49a3e60c57b2f4956
Author: Heiko Becker <heirecka exherbo org>
Date: Sun Nov 22 10:44:50 2020 +0100
Check for prefix cargo as well
Similar to 89774df8573ed2c88eb596693dd00c33837c7c61, cargo might be
prefixed with the target arch when cross-compiling.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 29318585..60394eec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,7 +103,7 @@ AC_SUBST(DLOPEN_LIBS)
dnl ===========================================================================
-AC_CHECK_PROGS(CARGO, [cargo], [no])
+AC_CHECK_TOOL(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/])
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]