157 |
test -z "$AS" && AS=as |
test -z "$AS" && AS=as |
158 |
test -z "$CC" && CC=cc |
test -z "$CC" && CC=cc |
159 |
test -z "$LTCC" && LTCC=$CC |
test -z "$LTCC" && LTCC=$CC |
160 |
|
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
161 |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
162 |
test -z "$LD" && LD=ld |
test -z "$LD" && LD=ld |
163 |
test -z "$LN_S" && LN_S="ln -s" |
test -z "$LN_S" && LN_S="ln -s" |
228 |
# If no C compiler was specified, use CC. |
# If no C compiler was specified, use CC. |
229 |
LTCC=${LTCC-"$CC"} |
LTCC=${LTCC-"$CC"} |
230 |
|
|
231 |
|
# If no C compiler flags were specified, use CFLAGS. |
232 |
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
233 |
|
|
234 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
235 |
compiler=$CC |
compiler=$CC |
236 |
])# _LT_AC_SYS_COMPILER |
])# _LT_AC_SYS_COMPILER |
1802 |
AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) |
AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) |
1803 |
fi |
fi |
1804 |
fi |
fi |
1805 |
|
if test -z "$LTCFLAGS"; then |
1806 |
|
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" |
1807 |
|
fi |
1808 |
|
|
1809 |
# Extract list of available tagged configurations in $ofile. |
# Extract list of available tagged configurations in $ofile. |
1810 |
# Note that this assumes the entire list is on one line. |
# Note that this assumes the entire list is on one line. |
4108 |
# Now quote all the things that may contain metacharacters while being |
# Now quote all the things that may contain metacharacters while being |
4109 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
4110 |
# variables and quote the copies for generation of the libtool script. |
# variables and quote the copies for generation of the libtool script. |
4111 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
4112 |
SED SHELL STRIP \ |
SED SHELL STRIP \ |
4113 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
4114 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
4277 |
# A C compiler. |
# A C compiler. |
4278 |
LTCC=$lt_LTCC |
LTCC=$lt_LTCC |
4279 |
|
|
4280 |
|
# LTCC compiler flags. |
4281 |
|
LTCFLAGS=$lt_LTCFLAGS |
4282 |
|
|
4283 |
# A language-specific compiler. |
# A language-specific compiler. |
4284 |
CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) |
CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) |
4285 |
|
|