diff --git a/ChangeLog b/ChangeLog index 930aeb51..131e392e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,10 @@ -2001-11-15 Gary Vaughan +2001-11-15 Albert Chin-A-Young + + * libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC + macro might add to $CC if options needed by compiler to + grok ANSI. + +2001-11-15 Gary V. Vaughan From Joseph S. Myers : * ltmain.in: Typo. diff --git a/libtool.m4 b/libtool.m4 index d87186b4..aaea2710 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -3248,7 +3248,7 @@ if test -f "$ltmain"; then # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS RANLIB LN_S NM SHELL \ + for var in echo old_CC old_CFLAGS AR AR_FLAGS RANLIB LN_S LTCC NM SHELL \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ @@ -3395,7 +3395,7 @@ AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. -LTCC=$LTCC +LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)