[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Allow compiler variable, CC, CXX, etc. to take arguments
From: |
Robert Boehne |
Subject: |
Re: Allow compiler variable, CC, CXX, etc. to take arguments |
Date: |
Tue, 28 Jan 2003 22:57:12 -0600 |
Albert,
Ok, looks good to me, I'm checking this in.
Robert
Albert Chin wrote:
>
> Allows value of CC to contain spaces.
>
> 2003-01-22 Albert Chin-A-Young <address@hidden>
>
> * libtool.m4: Allow compiler variable, CC, CXX, etc. to
> be a program name with arguments. Original version stripped
> arguments for CC.
>
> --
> albert chin (address@hidden)
>
> -- snip snip
> Index: libtool.m4
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/libtool.m4,v
> retrieving revision 1.291
> diff -u -3 -p -r1.291 libtool.m4
> --- libtool.m4 19 Jan 2003 00:18:06 -0000 1.291
> +++ libtool.m4 22 Jan 2003 03:01:42 -0000
> @@ -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
>
>
> @@ -2540,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%^.*/%%'`
>
> @@ -3509,8 +3504,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%^.*/%%'`
>
> @@ -3589,8 +3583,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.
> @@ -3645,8 +3638,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
>
>
> _______________________________________________
> Libtool-patches mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool-patches