When checking for operation mode, add a case for 'CC', Irix' C++ compiler.

(Only apply this change to ltmain.sh, this time! ;-)
This commit is contained in:
jschauma 2002-12-25 19:35:21 +00:00
parent 7bcdc57b43
commit 4d51560769
2 changed files with 13 additions and 4 deletions

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.21 2002/12/25 03:30:26 wiz Exp $
$NetBSD: distinfo,v 1.22 2002/12/25 19:35:21 jschauma Exp $
SHA1 (libtool-ml-20010614.tar.gz) = ff746666737e420592c3017d65bf4c47f1430dac
Size (libtool-ml-20010614.tar.gz) = 784246 bytes
SHA1 (patch-aa) = 6efa2e2aba991cd3d40b41cecb58a3ccc8980c1c
SHA1 (patch-ab) = 8bdaa1db82a3c302374bb6833d0296d61851ee39
SHA1 (patch-ab) = f4243afa1a18711abd54c0e1ca18c6ac1f886b29
SHA1 (patch-ac) = 61196acaa12edee0b1209b2ba7c6414453bfa438
SHA1 (patch-ad) = 6aab76688d0f55648e35adc45a3492ba9c87acfb
SHA1 (patch-ae) = 03de2a4fc9d828d62c6e6126ecf2dbbfeb1d82ea

View file

@ -1,7 +1,7 @@
$NetBSD: patch-ab,v 1.26 2002/12/23 19:32:13 jschauma Exp $
$NetBSD: patch-ab,v 1.27 2002/12/25 19:35:22 jschauma Exp $
--- ltmain.sh.orig Thu Jun 14 00:06:50 2001
+++ ltmain.sh Mon Dec 23 13:23:11 2002
+++ ltmain.sh Wed Dec 25 14:29:20 2002
@@ -211,6 +211,8 @@
--mode) prevopt="--mode" prev=mode ;;
--mode=*) mode="$optarg" ;;
@ -11,6 +11,15 @@ $NetBSD: patch-ab,v 1.26 2002/12/23 19:32:13 jschauma Exp $
--quiet | --silent)
show=:
;;
@@ -256,7 +258,7 @@
# Infer the operation mode.
if test -z "$mode"; then
case $nonopt in
- *cc | *++ | gcc* | *-gcc*)
+ *cc | *++ | gcc* | *-gcc* | *CC)
mode=link
for arg
do
@@ -494,11 +496,21 @@
# command doesn't match the default compiler.
if test -n "$available_tags" && test -z "$tagname"; then