configure.in: Make $(target_subdir) correspond with top level usage.

* configure.in: Make $(target_subdir) correspond with top level usage.
	* Makefile.in: Likewise.
	* configure: Regenerate.

From-SVN: r67575
This commit is contained in:
Nathanael Nerode 2003-06-07 02:51:06 +00:00
parent eba441c018
commit 6a1b7268b9
4 changed files with 350 additions and 349 deletions

View File

@ -1,3 +1,9 @@
2003-06-06 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in: Make $(target_subdir) correspond with top level usage.
* Makefile.in: Likewise.
* configure: Regenerate.
2003-06-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_COMMON,

View File

@ -3230,7 +3230,7 @@ uninstall: intl.uninstall lang.uninstall
# These targets are for the dejagnu testsuites. The file site.exp
# contains global variables that all the testsuites will use.
# Set to $(target_alias)/ for cross.
# Set to $(target_alias).
target_subdir = @target_subdir@
site.exp: ./config.status Makefile
@ -3261,9 +3261,10 @@ site.exp: ./config.status Makefile
# ??? Another way to solve this might be to rely on linker scripts. Then
# theoretically the -B won't be needed.
# We also need to pass -L ../ld so that the linker can find ldscripts.
@if [ -d $(objdir)/../$(target_subdir)newlib ] ; then \
echo "set newlib_cflags \"-I$(objdir)/../$(target_subdir)newlib/targ-include -I\$$srcdir/../newlib/libc/include\"" >> ./tmp0; \
echo "set newlib_ldflags \"-B$(objdir)/../$(target_subdir)newlib/\"" >> ./tmp0; \
@if [ -d $(objdir)/../$(target_subdir)/newlib ] \
&& [ "${host_canonical}" != "${target}" ]; then \
echo "set newlib_cflags \"-I$(objdir)/../$(target_subdir)/newlib/targ-include -I\$$srcdir/../newlib/libc/include\"" >> ./tmp0; \
echo "set newlib_ldflags \"-B$(objdir)/../$(target_subdir)/newlib/\"" >> ./tmp0; \
echo "append CFLAGS \" \$$newlib_cflags\"" >> ./tmp0; \
echo "append CXXFLAGS \" \$$newlib_cflags\"" >> ./tmp0; \
echo "append LDFLAGS \" \$$newlib_ldflags\"" >> ./tmp0; \

679
gcc/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -38,10 +38,7 @@ host_canonical=${host}
AC_SUBST(build_canonical)
AC_SUBST(host_canonical)
target_subdir=
if test "${host}" != "${target}" ; then
target_subdir=${target_alias}/
fi
target_subdir=${target_alias}
AC_SUBST(target_subdir)
# Set program_transform_name