Bug 1317504 - Remove the GNU_LD variable, nothing uses it. r?chmanchester
--- a/build/autoconf/toolchain.m4
+++ b/build/autoconf/toolchain.m4
@@ -10,32 +10,28 @@ dnl the corresponding variables already,
dnl entirely.
define([AC_PROG_CPP],[])
define([AC_PROG_CXXCPP],[])
define([AC_HEADER_STDC], [])
AC_DEFUN([MOZ_TOOL_VARIABLES],
[
GNU_AS=
-GNU_LD=
GNU_CC=
GNU_CXX=
if test "$CC_TYPE" = "gcc"; then
GNU_CC=1
GNU_CXX=1
fi
if test "`echo | $AS -o conftest.out -v 2>&1 | grep -c GNU`" != "0"; then
GNU_AS=1
fi
rm -f conftest.out
-if test "`echo | $LD -v 2>&1 | grep -c GNU`" != "0"; then
- GNU_LD=1
-fi
CLANG_CC=
CLANG_CXX=
CLANG_CL=
if test "$CC_TYPE" = "clang"; then
GNU_CC=1
GNU_CXX=1
CLANG_CC=1
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -294,17 +294,16 @@ if test -n "$SBCONF"; then
QEMU_CANT_RUN_JS_SHELL=1
fi
fi
AC_SUBST(QEMU_CANT_RUN_JS_SHELL)
AC_SUBST(_MSC_VER)
AC_SUBST(GNU_AS)
-AC_SUBST(GNU_LD)
AC_SUBST(GNU_CC)
AC_SUBST(GNU_CXX)
dnl ========================================================
dnl Checks for programs.
dnl ========================================================
if test "$COMPILE_ENVIRONMENT"; then
--- a/old-configure.in
+++ b/old-configure.in
@@ -421,17 +421,16 @@ if test -n "$_WIN32_MSVC"; then
fi
fi # COMPILE_ENVIRONMENT
AC_SUBST(MIDL_FLAGS)
AC_SUBST(_MSC_VER)
AC_SUBST(GNU_AS)
-AC_SUBST(GNU_LD)
AC_SUBST(GNU_CC)
AC_SUBST(GNU_CXX)
AC_SUBST(STL_FLAGS)
AC_SUBST(WRAP_STL_INCLUDES)
AC_SUBST(MOZ_MSVC_STL_WRAP_RAISE)
dnl ========================================================