aboutsummaryrefslogtreecommitdiffstats
path: root/erts/configure.in
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2010-01-19 13:21:37 +0000
committerErlang/OTP <[email protected]>2010-01-19 13:21:37 +0000
commit9ef7d5424fee7cd703f6fad30786358ec36a3749 (patch)
tree5396f3e6b61e861b3684710f8029a88415d7e6a5 /erts/configure.in
parentcd1a07009858ba01a2a095ffb9f863d2225e572c (diff)
downloadotp-9ef7d5424fee7cd703f6fad30786358ec36a3749.tar.gz
otp-9ef7d5424fee7cd703f6fad30786358ec36a3749.tar.bz2
otp-9ef7d5424fee7cd703f6fad30786358ec36a3749.zip
OTP-8373 ERTS makefiles used to detect the use of a gcc C compiler by
checking if CC equaled gcc. That is, the makefiles failed to detect gcc C compilers with other command line names than gcc. `configure' now substitute GCC into the makefiles. If CC is a gcc C compiler, GCC will have the value yes. (Thanks to Jean-S�bastien P�dron)
Diffstat (limited to 'erts/configure.in')
-rw-r--r--erts/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in
index ea97d73aa8..48d236351b 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -325,6 +325,7 @@ dnl Checks for programs.
dnl ----------------------------------------------------------------------
AC_PROG_CC
+AC_SUBST(GCC)
dnl ---------------------------------------------------------------------
dnl Special stuff regarding CFLAGS and details in the environment...