summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-05 04:19:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-05 04:19:31 +0000
commit1c6886fb2750c776e9a5c4ea7dd1ec4ba69787b5 (patch)
treee2de667bad46aa21707a9fa63b276e32b5119ea9 /configure.in
parent0a663381cd2fc3dcad65811be1c066119e01456a (diff)
downloadruby-1c6886fb2750c776e9a5c4ea7dd1ec4ba69787b5.tar.gz
ruby-1c6886fb2750c776e9a5c4ea7dd1ec4ba69787b5.tar.xz
ruby-1c6886fb2750c776e9a5c4ea7dd1ec4ba69787b5.zip
* configure.in: default ac_cv_prog_CC to CC.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 0c6f2fcde..f0f8c0a12 100644
--- a/configure.in
+++ b/configure.in
@@ -112,6 +112,7 @@ then
AC_MSG_ERROR(cached CC is different -- throw away $cache_file
(it is also a good idea to do 'make clean' before compiling))
fi
+test -z "$CC" || ac_cv_prog_CC="$CC"
if test "$program_prefix" = NONE; then
program_prefix=