Index: libtool.m4 =================================================================== RCS file: /cvsroot/libtool/libtool/libtool.m4,v retrieving revision 1.305 diff -u -r1.305 libtool.m4 --- libtool.m4 26 Feb 2003 04:26:10 -0000 1.305 +++ libtool.m4 26 Feb 2003 04:51:39 -0000 @@ -4749,7 +4749,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'