]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: Allow compiler variable, CC, CXX, etc. to
authorAlbert Chin-A-Young <china@thewrittenword.com>
Wed, 29 Jan 2003 04:57:52 +0000 (04:57 +0000)
committerRobert Boehne <rboehne@gnu.org>
Wed, 29 Jan 2003 04:57:52 +0000 (04:57 +0000)
be a program name with arguments. Original version stripped
arguments for CC.

ChangeLog
libtool.m4

index 70392296bd43a9c73b5402d6af4aa67a79779c96..81ca13da151857a55528471c862d1168aa9fd72b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-01-28  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * libtool.m4: Allow compiler variable, CC, CXX, etc. to
+       be a program name with arguments. Original version stripped
+       arguments for CC.
+
 2003-01-28  Charles Wilson  <cwilson@ece.gatech.edu>
 
        * ltmain.in: add code for a binary wrapper
index 04d54e7caadbd0cfba40fbd8b655c106d8338496..bf2e2687c2183bba712af9950bcacb167fb614d1 100644 (file)
@@ -240,8 +240,7 @@ AC_DEFUN([_LT_AC_SYS_COMPILER],
 LTCC=${LTCC-"$CC"}
 
 # Allow CC to be a program name with arguments.
-set dummy $CC
-compiler="[$]2"
+compiler=$CC
 ])# _LT_AC_SYS_COMPILER
 
 
@@ -2541,8 +2540,7 @@ _LT_AC_SYS_COMPILER
 # Allow CC to be a program name with arguments.
 lt_save_CC="$CC"
 CC=${CXX-"c++"}
-set dummy $CC
-compiler="[$]2"
+compiler=$CC
 _LT_AC_TAGVAR(compiler, $1)=$CC
 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
@@ -3510,8 +3508,7 @@ _LT_AC_SYS_COMPILER
 # Allow CC to be a program name with arguments.
 lt_save_CC="$CC"
 CC=${F77-"f77"}
-set dummy $CC
-compiler="[$]2"
+compiler=$CC
 _LT_AC_TAGVAR(compiler, $1)=$CC
 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
@@ -3590,8 +3587,7 @@ _LT_AC_SYS_COMPILER
 # Allow CC to be a program name with arguments.
 lt_save_CC="$CC"
 CC=${GCJ-"gcj"}
-set dummy $CC
-compiler="[$]2"
+compiler=$CC
 _LT_AC_TAGVAR(compiler, $1)=$CC
 
 # GCJ did not exist at the time GCC didn't implicitly link libc in.
@@ -3646,8 +3642,7 @@ _LT_AC_SYS_COMPILER
 # Allow CC to be a program name with arguments.
 lt_save_CC="$CC"
 CC=${RC-"windres"}
-set dummy $CC
-compiler="[$]2"
+compiler=$CC
 _LT_AC_TAGVAR(compiler, $1)=$CC
 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes