* libtool.m4 Switch on basename $CC not $CC

This commit is contained in:
Samuel Meder 2003-04-09 16:32:12 +00:00 committed by Robert Boehne
parent d0a64f0b50
commit 98dab60b5c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-04-09 Samuel Meder <meder@mcs.anl.gov>
* libtool.m4 Switch on `basename $CC` not $CC
2003-04-05 Peter O'Gorman <peter@pogma.com>
* libtool.m4: if ZSH_VERSION is set then setopt NO_GLOB_SUBST so

2
libtool.m4 vendored
View File

@ -4848,7 +4848,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
;;
linux*)
case $CC in
case `basename $CC` in
icc|ecc)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'