]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 Switch on $CC and add paterns to cases.
authorSamuel Meder <meder@mcs.anl.gov>
Thu, 10 Apr 2003 03:49:44 +0000 (03:49 +0000)
committerRobert Boehne <rboehne@gnu.org>
Thu, 10 Apr 2003 03:49:44 +0000 (03:49 +0000)
ChangeLog
libtool.m4

index 04ff9070abc71ace08d441ff15e902b0daa1a92c..0136c6745f00f76f59cf98b649c3f8bbb6108705 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-09  Samuel Meder  <meder@mcs.anl.gov>
+
+       * libtool.m4 Switch on $CC and add paterns to cases.
+
 2003-04-09  Peter O'Gorman  <peter@pogma.com>
 
        * libtool.m4: Move the AC_LIBTOOL_SYS_DYNAMIC_LINKER check
index bfcdcc8864e4cdb71facb4cb0349cda2d0178a40..d3888850aca5958a86ad24eba41f7e91f23ad4ae 100644 (file)
@@ -4849,13 +4849,13 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
       ;;
 
     linux*)
-      case `basename $CC` in
-      icc|ecc)
+      case $CC in
+      icc* | ecc*)
        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
         ;;
-      ccc)
+      ccc*)
         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
         # All Alpha code is PIC.
         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'