]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 Switch on `basename $CC` not $CC
authorSamuel Meder <meder@mcs.anl.gov>
Wed, 9 Apr 2003 16:32:12 +0000 (16:32 +0000)
committerRobert Boehne <rboehne@gnu.org>
Wed, 9 Apr 2003 16:32:12 +0000 (16:32 +0000)
ChangeLog
libtool.m4

index 0284ca4cc10270e94f8cad14d9612d1286d0f9b0..17438aa0db6de6b6954daa7e96bf94cb9f444c8b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 19ebaea7c65c845c9455f93aa1be8a024c409f19..216fe12a5b9efd2f4023ddb249dbaeb993279ce2 100644 (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'