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