From da7e6d49e08d46d9fb11d34d3242810de7845d3b Mon Sep 17 00:00:00 2001 From: Leif Hedstrom Date: Sun, 12 Mar 2023 21:44:35 -0600 Subject: [PATCH] Adds the AR env variable to config.nice --- build/common.m4 | 9 +++++++++ configure.ac | 3 +++ 2 files changed, 12 insertions(+) diff --git a/build/common.m4 b/build/common.m4 index 1cf81551338..35059b92632 100644 --- a/build/common.m4 +++ b/build/common.m4 @@ -40,6 +40,15 @@ EOF if test -n "$LD"; then echo "LD=\"$LD\"; export LD" >> $1 fi + if test -n "$AR"; then + echo "AR=\"$AR\"; export AR" >> $1 + fi + if test -n "$RANLIB"; then + echo "RANLIB=\"$RANLIB\"; export RANLIB" >> $1 + fi + if test -n "NM"; then + echo "NM=\"$NM\"; export NM" >> $1 + fi if test -n "$CFLAGS"; then echo "CFLAGS=\"$CFLAGS\"; export CFLAGS" >> $1 fi diff --git a/configure.ac b/configure.ac index 096c08257ec..b7652c45769 100644 --- a/configure.ac +++ b/configure.ac @@ -2446,6 +2446,9 @@ AC_MSG_NOTICE([Build option summary: CXX: $CXX CPP: $CPP LD: $LD + AR: $AR + RANLIB: $RANLIB + NM: $NM CFLAGS: $CFLAGS CXXFLAGS: $CXXFLAGS CPPFLAGS: $CPPFLAGS