From 5b0ad78f01fa2b736e5d76734585a7ab4bc6064d Mon Sep 17 00:00:00 2001 From: Stu Black Date: Thu, 2 Oct 2025 13:24:51 -0400 Subject: [PATCH] Remember to AC_SUBST the Rust compiler environment variables so they're visible in Makefiles. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 37e86edd..78313976 100644 --- a/configure.ac +++ b/configure.ac @@ -54,10 +54,12 @@ AC_CHECK_PROG(CARGO, [cargo], [yes], [no]) AS_IF(test x$CARGO = xno, AC_MSG_ERROR([cargo is required. Please set the CARGO environment variable or install the Rust toolchain from https://www.rust-lang.org/]) ) +AC_SUBST(CARGO, [cargo]) AC_CHECK_PROG(RUSTC, [rustc], [yes], [no]) AS_IF(test x$RUSTC = xno, AC_MSG_ERROR([rustc is required. Please set the RUSTC environment variable or install the Rust toolchain from https://www.rust-lang.org/]) ) +AC_SUBST(RUSTC, [rustc]) dnl libtool library versioning dnl ==========================