diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure index ccbdb6282f89..57a47836f342 100755 --- a/build/moz.configure/toolchain.configure +++ b/build/moz.configure/toolchain.configure @@ -1171,8 +1171,8 @@ def compiler(language, host_or_target, c_compiler=None, other_compiler=None, '%s_TYPE' % var, valid_compiler.type) add_old_configure_assignment( '%s_TYPE' % var, valid_compiler.type) - add_old_configure_assignment( - '%s_VERSION' % var, valid_compiler.version) + set_config( + '%s_VERSION' % var, depends(valid_compiler.version)(lambda v: str(v))) valid_compiler = compiler_class(valid_compiler, host_or_target) diff --git a/js/src/old-configure.in b/js/src/old-configure.in index 624c60956607..64654df2230b 100644 --- a/js/src/old-configure.in +++ b/js/src/old-configure.in @@ -1672,7 +1672,6 @@ AC_SUBST_LIST(DSO_PIC_CFLAGS) AC_SUBST(DSO_LDOPTS) AC_SUBST(BIN_SUFFIX) AC_SUBST(USE_N32) -AC_SUBST(CC_VERSION) AC_SUBST(MOZ_LINKER) AC_SUBST(WIN32_CONSOLE_EXE_LDFLAGS) AC_SUBST(WIN32_GUI_EXE_LDFLAGS) diff --git a/old-configure.in b/old-configure.in index 4be91798156b..250f75c94e12 100644 --- a/old-configure.in +++ b/old-configure.in @@ -3568,7 +3568,6 @@ AC_SUBST_LIST(DSO_PIC_CFLAGS) AC_SUBST(DSO_LDOPTS) AC_SUBST(BIN_SUFFIX) AC_SUBST(USE_N32) -AC_SUBST(CC_VERSION) AC_SUBST(NS_ENABLE_TSF) AC_SUBST(WIN32_CONSOLE_EXE_LDFLAGS) AC_SUBST(WIN32_GUI_EXE_LDFLAGS)