You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2023/03/14 15:12:09 UTC

[trafficserver] branch master updated: Adds the AR env variable to config.nice (#9515)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new c8d88e9de Adds the AR env variable to config.nice (#9515)
c8d88e9de is described below

commit c8d88e9de8187890c8b3615fc0ffd22f8f92c8bd
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Tue Mar 14 09:12:00 2023 -0600

    Adds the AR env variable to config.nice (#9515)
---
 build/common.m4 | 9 +++++++++
 configure.ac    | 3 +++
 2 files changed, 12 insertions(+)

diff --git a/build/common.m4 b/build/common.m4
index 1cf815513..35059b926 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 d8fdcdbb5..a5b2b498a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2438,6 +2438,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