* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): Add support for

the Compaq C compiler for Alpha Linux.
This commit is contained in:
Bob McElrath 2003-02-26 07:01:40 +00:00 committed by Robert Boehne
parent f5b73023e8
commit 98eaee035f
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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

11
libtool.m4 vendored
View File

@ -4749,11 +4749,18 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
;;
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*)