the Compaq C compiler for Alpha Linux.
+2003-02-25 Bob McElrath <bob+libtool@mcelrath.org>
+
+ * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): Add support for
+ the Compaq C compiler for Alpha Linux.
+
2003-02-25 Benjamin Reed <ranger@befunk.com>
* libtool.m4 (darwin): Disable hardcoding library paths to
;;
linux*)
- if test "$CC" = "icc"; then
+ case $cc_basename in
+ icc)
_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'
- fi
+ ;;
+ 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'
+ ;;
+ esac
;;
osf3* | osf4* | osf5*)