2003-01-07  Klee Dienes  <kdienes@apple.com>

	* libtool.m4 (CC): Replace instances of LT_AC_TAGVAR(compiler)
	with LT_AC_TAGVAR(ltcompiler).  Set the 'ltcompiler' variant to be
	the full path of the appropriate compiler, as opposed to
	'compiler', which is just the basename.

--- libtool.m4	31 Dec 2002 05:43:23 -0000	1.287
+++ libtool.m4	8 Jan 2003 21:44:46 -0000
@@ -242,6 +242,7 @@
 # Allow CC to be a program name with arguments.
 set dummy $CC
 compiler="[$]2"
+ltcompiler="$CC"
 ])# _LT_AC_SYS_COMPILER
 
 
@@ -2518,7 +2519,7 @@
 CC=${CXX-"c++"}
 set dummy $CC
 compiler="[$]2"
-_LT_AC_TAGVAR(compiler, $1)=$CC
+_LT_AC_TAGVAR(ltcompiler, $1)=$CC
 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
 # We don't want -fno-exception wen compiling C++ code, so set the
@@ -3461,7 +3462,7 @@
 CC=${F77-"f77"}
 set dummy $CC
 compiler="[$]2"
-_LT_AC_TAGVAR(compiler, $1)=$CC
+_LT_AC_TAGVAR(ltcompiler, $1)=$CC
 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
 AC_MSG_CHECKING([if libtool supports shared libraries])
@@ -3541,7 +3542,7 @@
 CC=${GCJ-"gcj"}
 set dummy $CC
 compiler="[$]2"
-_LT_AC_TAGVAR(compiler, $1)=$CC
+_LT_AC_TAGVAR(ltcompiler, $1)=$CC
 
 # GCJ did not exist at the time GCC didn't implicitly link libc in.
 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
@@ -3597,7 +3598,7 @@
 CC=${RC-"windres"}
 set dummy $CC
 compiler="[$]2"
-_LT_AC_TAGVAR(compiler, $1)=$CC
+_LT_AC_TAGVAR(ltcompiler, $1)=$CC
 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
 AC_LIBTOOL_CONFIG($1)
@@ -3630,7 +3631,7 @@
     lt_cv_sys_global_symbol_to_c_name_address \
     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
     old_postinstall_cmds old_postuninstall_cmds \
-    _LT_AC_TAGVAR(compiler, $1) \
+    _LT_AC_TAGVAR(ltcompiler, $1) \
     _LT_AC_TAGVAR(CC, $1) \
     _LT_AC_TAGVAR(LD, $1) \
     _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
@@ -3779,7 +3780,7 @@
 LTCC=$lt_LTCC
 
 # A language-specific compiler.
-CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
+CC=$lt_[]_LT_AC_TAGVAR(ltcompiler, $1)
 
 # Is the compiler the GNU C compiler?
 with_gcc=$_LT_AC_TAGVAR(GCC, $1)
