]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
ltmain.in: Touch-up to make testsuite pass, and default tagname
authorRobert Boehne <rboehne@gnu.org>
Thu, 14 Mar 2002 21:43:50 +0000 (21:43 +0000)
committerRobert Boehne <rboehne@gnu.org>
Thu, 14 Mar 2002 21:43:50 +0000 (21:43 +0000)
to CC when it isn't explicitly set.

ChangeLog
ltmain.in

index ed5f766e370cb4d37a5693f658d30c9a7a9c250f..2192f08762c2583c519aa70c6875b6382e043670 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-14  Robert Boehne  <rboehne@gnu.org>
+
+       ltmain.in: Touch-up to make testsuite pass, and default tagname
+       to CC when it isn't explicitly set.
+
 2002-03-14  Anthony Green  <green@redhat.com>
 
        * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Albert Chin's gcj fix.
index 7a1bdd6a09e41303e2a822e446bd8f04fe3fd892..a5134efe2e76cfc27dd1074b0581c7f4e8ff5534 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -105,6 +105,9 @@ execute_dlfiles=
 lo2o="s/\\.lo\$/.${objext}/"
 o2lo="s/\\.${objext}\$/.lo/"
 
+# set the tag name so that it defaults to CC
+tagname="CC"
+
 # Parse our command line options once, thoroughly.
 while test "$#" -gt 0
 do
@@ -324,7 +327,8 @@ if test -z "$show_help"; then
     do
       case "$arg_mode" in
       arg  )
-       lastarg="$arg"  # do not "continue".  Instead, add this to base_compile
+       # do not "continue".  Instead, add this to base_compile
+       lastarg="$arg"
        arg_mode=normal
        ;;