From 24d6c1b8a3270d726cc7f0c1df78ada42cd2baaf Mon Sep 17 00:00:00 2001 From: Samuel Meder Date: Thu, 10 Apr 2003 03:49:44 +0000 Subject: [PATCH] * libtool.m4 Switch on $CC and add paterns to cases. --- ChangeLog | 4 ++++ libtool.m4 | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 04ff9070a..0136c6745 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-04-09 Samuel Meder + + * libtool.m4 Switch on $CC and add paterns to cases. + 2003-04-09 Peter O'Gorman * libtool.m4: Move the AC_LIBTOOL_SYS_DYNAMIC_LINKER check diff --git a/libtool.m4 b/libtool.m4 index bfcdcc886..d3888850a 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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' -- 2.47.2