Bug 1317504 - Remove the GNU_LD variable, nothing uses it. r?chmanchester draft
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 24 Nov 2016 15:25:42 +0900
changeset 443326 143548744c070535e8db72b5befaed24f4401bb8
parent 443325 585f3eed842a0c7065af0b2929a0580d93a587b8
child 443327 de75860433d31e7f0fe40ecab68e780c0f226af1
push id36964
push userbmo:mh+mozilla@glandium.org
push dateThu, 24 Nov 2016 09:19:55 +0000
reviewerschmanchester
bugs1317504
milestone53.0a1
Bug 1317504 - Remove the GNU_LD variable, nothing uses it. r?chmanchester
build/autoconf/toolchain.m4
js/src/old-configure.in
old-configure.in
--- 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 ========================================================