From: Samuel Meder Date: Wed, 9 Apr 2003 16:32:12 +0000 (+0000) Subject: * libtool.m4 Switch on `basename $CC` not $CC X-Git-Tag: help~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98dab60b5c3a9b384fcaca2e9710fe3a4db62dc7;p=thirdparty%2Flibtool.git * libtool.m4 Switch on `basename $CC` not $CC --- diff --git a/ChangeLog b/ChangeLog index 0284ca4cc..17438aa0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-04-09 Samuel Meder + + * libtool.m4 Switch on `basename $CC` not $CC + 2003-04-05 Peter O'Gorman * libtool.m4: if ZSH_VERSION is set then setopt NO_GLOB_SUBST so diff --git a/libtool.m4 b/libtool.m4 index 19ebaea7c..216fe12a5 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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'