Bug 1897973 - Move MOZ_TOOL_VARIABLES from old-configure to moz.configure r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D211090
This commit is contained in:
serge-sans-paille 2024-06-04 09:42:13 +00:00
parent ba312a93d5
commit 50b32b0a99
3 changed files with 0 additions and 29 deletions

View file

@ -35,31 +35,6 @@ if test "$CC_TYPE" = "clang-cl"; then
fi fi
]) ])
AC_DEFUN([MOZ_TOOL_VARIABLES],
[
GNU_CC=
GNU_CXX=
if test "$CC_TYPE" = "gcc"; then
GNU_CC=1
GNU_CXX=1
fi
CLANG_CC=
CLANG_CXX=
CLANG_CL=
if test "$CC_TYPE" = "clang"; then
GNU_CC=1
GNU_CXX=1
CLANG_CC=1
CLANG_CXX=1
fi
if test "$CC_TYPE" = "clang-cl"; then
CLANG_CL=1
fi
AC_SUBST(CLANG_CXX)
AC_SUBST(CLANG_CL)
])
AC_DEFUN([MOZ_CROSS_COMPILER], AC_DEFUN([MOZ_CROSS_COMPILER],
[ [

View file

@ -78,8 +78,6 @@ else
AC_PROG_CXX AC_PROG_CXX
fi fi
MOZ_TOOL_VARIABLES
dnl Special win32 checks dnl Special win32 checks
dnl ======================================================== dnl ========================================================

View file

@ -69,8 +69,6 @@ else
AC_PROG_CXX AC_PROG_CXX
fi fi
MOZ_TOOL_VARIABLES
dnl ======================================================== dnl ========================================================
dnl Special win32 checks dnl Special win32 checks
dnl ======================================================== dnl ========================================================