The attached patch actually works...

/Sam

On Tue, 2003-02-25 at 14:16, Samuel Meder wrote:
> The intel compiler on ia64 seems to be called ecc instead of icc. The
> attached patch will make CVS HEAD libtool work with ecc (+ strip the
> path component from the comparsion with "icc").
> 
> /Sam
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libtool.m4,v
retrieving revision 1.304
diff -u -r1.304 libtool.m4
--- libtool.m4	24 Feb 2003 23:49:07 -0000	1.304
+++ libtool.m4	25 Feb 2003 21:17:12 -0000
@@ -4747,7 +4747,8 @@
       ;;
 
     linux*)
-      if test "$CC" = "icc"; then
+      if test "`echo $CC | sed \"s/.*\///\"`" = "icc" || \
+         test "`echo $CC | sed \"s/.*\///\"`" = "ecc" ; then
 	_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to