[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: set cc_basename for gcj, rc
From: |
Ralf Wildenhues |
Subject: |
FYI: set cc_basename for gcj, rc |
Date: |
Mon, 28 Mar 2005 11:34:04 +0200 |
User-agent: |
Mutt/1.4.1i |
First patch applied to HEAD and branch-2-0, second to branch-1-5.
This is necessary because $cc_basename will also be tested for these
tags.
Regards,
Ralf
2005-03-28 Ralf Wildenhues <address@hidden>
* m4/libtool.m4 (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG):
Set $cc_basename.
Index: m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v
retrieving revision 1.176
diff -u -r1.176 libtool.m4
--- m4/libtool.m4 22 Mar 2005 16:55:14 -0000 1.176
+++ m4/libtool.m4 28 Mar 2005 09:30:28 -0000
@@ -5878,6 +5878,8 @@
CC=${GCJ-"gcj"}
compiler=$CC
_LT_TAGVAR(compiler, $1)=$CC
+cc_basename=`$ECHO "X$compiler" \
+ | $Xsed -e 's%.*/%%;s%^[ ]*\([^ ]*\).*$%\1%'`
# GCJ did not exist at the time GCC didn't implicitly link libc in.
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
@@ -5934,6 +5936,8 @@
CC=${RC-"windres"}
compiler=$CC
_LT_TAGVAR(compiler, $1)=$CC
+cc_basename=`$ECHO "X$compiler" \
+ | $Xsed -e 's%.*/%%;s%^[ ]*\([^ ]*\).*$%\1%'`
_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
if test -n "$compiler"; then
2005-03-28 Ralf Wildenhues <address@hidden>
* m4/libtool.m4 (AC_LIBTOOL_LANG_GCJ_CONFIG, AC_LIBTOOL_LANG_RC_CONFIG):
Set $cc_basename.
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.75
diff -u -r1.314.2.75 libtool.m4
--- libtool.m4 22 Mar 2005 10:22:36 -0000 1.314.2.75
+++ libtool.m4 28 Mar 2005 09:32:01 -0000
@@ -3816,6 +3816,8 @@
CC=${GCJ-"gcj"}
compiler=$CC
_LT_AC_TAGVAR(compiler, $1)=$CC
+cc_basename=`$echo "X$compiler" \
+ | $Xsed -e 's%.*/%%;s%^[ ]*\([^ ]*\).*$%\1%'`
# GCJ did not exist at the time GCC didn't implicitly link libc in.
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
@@ -3871,6 +3873,8 @@
CC=${RC-"windres"}
compiler=$CC
_LT_AC_TAGVAR(compiler, $1)=$CC
+cc_basename=`$echo "X$compiler" \
+ | $Xsed -e 's%.*/%%;s%^[ ]*\([^ ]*\).*$%\1%'`
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
AC_LIBTOOL_CONFIG($1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: set cc_basename for gcj, rc,
Ralf Wildenhues <=