* libtool.m4: Switch on $CC not $cc_basename.
diff --git a/ChangeLog b/ChangeLog
index 997e785..f365011 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-05  Allan Sandfeld Jensen  <snowwolf@one2one-networks.com>
+
+	* libtool.m4: Switch on $CC not $cc_basename.
+
 2003-04-02  Robert Boehne  <rboehne@gnu.org>
 
 	* tests/defs: Quote $DJGPP to prevent problems with some shells.
diff --git a/libtool.m4 b/libtool.m4
index b66e222..d1711a8 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -4869,7 +4869,7 @@
       ;;
 
     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'