summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 65459b33d5..e346200b8f 100755
--- a/configure
+++ b/configure
@@ -376,12 +376,12 @@ fi
# Checking CC version...
-# gcc-3.0 merges optimizations coming from egcs, pgcc, agcc, ...
if test "$_skip_cc_check" != yes ; then
- for _cc in $_cc gcc3 cc; do
+ for _cc in $_cc gcc-3.1 gcc3 gcc-3.0 cc ; do
echocheck "$_cc version"
cc_name=`$_cc -v 2>&1 | tail -1 | cut -d ' ' -f 1`
- cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'`
+ #cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'`
+ cc_version=`$_cc -dumpversion`
case $cc_version in
'')
cc_version="v. ?.??, bad"