* libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC

macro might add to $CC if options needed by compiler to
grok ANSI.
This commit is contained in:
Albert Chin-A-Young 2001-11-15 01:15:25 +00:00 committed by Gary V. Vaughan
parent 6167b16561
commit b521f8e2b6
2 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,10 @@
2001-11-15 Gary Vaughan <gary@gnu.org>
2001-11-15 Albert Chin-A-Young <china@thewrittenword.com>
* 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 <gary@gnu.org>
From Joseph S. Myers <jsm28@cam.ac.uk>:
* ltmain.in: Typo.

4
libtool.m4 vendored
View File

@ -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)