From 98dab60b5c3a9b384fcaca2e9710fe3a4db62dc7 Mon Sep 17 00:00:00 2001 From: Samuel Meder Date: Wed, 9 Apr 2003 16:32:12 +0000 Subject: [PATCH] * libtool.m4 Switch on `basename $CC` not $CC --- ChangeLog | 4 ++++ libtool.m4 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0284ca4c..17438aa0 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 19ebaea7..216fe12a 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'