From: Allan Sandfeld Jensen Date: Sat, 5 Apr 2003 19:30:34 +0000 (+0000) Subject: * libtool.m4: Switch on $CC not $cc_basename. X-Git-Tag: release-1-5~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34477dc3332ab87a2b6df0fd216b2b31a0621370;p=thirdparty%2Flibtool.git * libtool.m4: Switch on $CC not $cc_basename. --- diff --git a/ChangeLog b/ChangeLog index 997e78500..f36501172 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-04-05 Allan Sandfeld Jensen + + * libtool.m4: Switch on $CC not $cc_basename. + 2003-04-02 Robert Boehne * tests/defs: Quote $DJGPP to prevent problems with some shells. diff --git a/libtool.m4 b/libtool.m4 index b66e22298..d1711a836 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -4869,7 +4869,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC]) ;; linux*) - case $cc_basename in + case $CC in icc|ecc) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'