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 20:13:15 -0000 @@ -4747,7 +4747,8 @@ ;; linux*) - if test "$CC" = "icc"; then + if test "`echo $CC | sed s/.*\///`" = "icc" -or \ + "`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'