+2003-04-09 Samuel Meder <meder@mcs.anl.gov>
+
+ * libtool.m4 Switch on $CC and add paterns to cases.
+
2003-04-09 Peter O'Gorman <peter@pogma.com>
* libtool.m4: Move the AC_LIBTOOL_SYS_DYNAMIC_LINKER check
;;
linux*)
- case `basename $CC` in
- icc|ecc)
+ case $CC in
+ icc* | ecc*)
_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'
;;
- ccc)
+ ccc*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
# All Alpha code is PIC.
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'