summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-30 00:57:22 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-30 00:57:22 +0000
commite723fc210bf7b2ed9b8950c6c95284222cd1cfe2 (patch)
treec09ca571cdd8d236ad3d250b8b8561576e01bbbe /Configure
parente39917cc05377a71374ea2bd3b1ae1b2fc2f3c31 (diff)
downloadperl-e723fc210bf7b2ed9b8950c6c95284222cd1cfe2.tar.gz
Introduce ccname to keep track of what compiler kind of we have.
p4raw-id: //depot/perl@6907
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure13
1 files changed, 8 insertions, 5 deletions
diff --git a/Configure b/Configure
index 0133b6cc3f..d4b6dba856 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Tue Aug 29 23:38:50 EET DST 2000 [metaconfig 3.0 PL70]
+# Generated on Wed Aug 30 03:53:15 EET DST 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >/tmp/c1$$ <<EOF
@@ -598,6 +598,7 @@ fflushNULL=''
fflushall=''
fpossize=''
fpostype=''
+ccname=''
gccosandvers=''
gccversion=''
gidformat=''
@@ -2124,7 +2125,7 @@ EOM
fi
fi
case "$ans" in
- [yY]*) cc=gcc; ccflags=''; despair=no ;;
+ [yY]*) cc=gcc; ccname=gcc; ccflags=''; despair=no ;;
esac
fi
fi
@@ -3213,6 +3214,7 @@ if $cc $ldflags -o gccvers gccvers.c; then
case "$gccversion" in
'') echo "You are not using GNU cc." ;;
*) echo "You are using GNU cc $gccversion."
+ ccname=gcc
;;
esac
else
@@ -3261,9 +3263,9 @@ EOM
esac
;;
esac
-
-
-
+case "$ccname" in
+'') ccname="$cc" ;;
+esac
: see how we invoke the C preprocessor
echo " "
@@ -15406,6 +15408,7 @@ cccdlflags='$cccdlflags'
ccdlflags='$ccdlflags'
ccflags='$ccflags'
ccflags_uselargefiles='$ccflags_uselargefiles'
+ccname='$ccname'
ccsymbols='$ccsymbols'
cf_by='$cf_by'
cf_email='$cf_email'