when checking for icc/ecc. Allows for setting CC to the full path
to the compiler.
2004-11-17 Mats Rynge <rynge@isi.edu>
+ * libtool.m4 [linux]: Use only the CC basename in case statment
+ when checking for icc/ecc. Allows for setting CC to the full path
+ to the compiler.
+
* libtool.m4 [solaris]: Added missing 'with linker' flags to
-z allextract ... -z defaultextract flags
;;
linux*)
- case $CC in
+ case "$cc_basename" in
icc* | ecc*)
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'