Commit 88111b26 by Jeffrey A Law Committed by Jeff Law

Makefile.in (build_canonical, [...]): Let configure substitute values for these variables.

        * Makefile.in (build_canonical, host_canonical): Let configure
        substitute values for these variables.
        * configure.in: Substitute for build_canonical, host_canonical
        and target_subdir in generated Makefile.

From-SVN: r19827
parent d8af60bf
Mon May 18 01:23:33 1998 Jeffrey A Law (law@cygnus.com)
* Makefile.in (build_canonical, host_canonical): Let configure
substitute values for these variables.
* configure.in: Substitute for build_canonical, host_canonical
and target_subdir in generated Makefile.
* output.h (find_basic_blocks): Declare.
(free_basic_block_vars, set_block_num, life_analysis): Likewise.
......
......@@ -170,6 +170,9 @@ ENQUIRE_LDFLAGS = $(LDFLAGS)
program_transform_name = @program_transform_name@
program_transform_cross_name = s,^,$(target_alias)-,
build_canonical = @build_canonical@
host_canonical = @host_canonical@
# Tools to use when building a cross-compiler.
# These are used because `configure' appends `cross-make'
# to the makefile when making a cross-compiler.
......
......@@ -5212,6 +5212,18 @@ if [ ! -f Makefile.in ]; then
echo "source ${srcdir}/.gdbinit" >> .gdbinit
fi
# Define variables host_canonical and build_canonical
# because some Cygnus local changes in the Makefile depend on them.
build_canonical=${build}
host_canonical=${host}
target_subdir=
if [ "${host}" != "${target}" ] ; then
target_subdir=${target}/
fi
# If this is using newlib, then define inhibit_libc in
# LIBGCC2_CFLAGS. This will cause __eprintf to be left out of
# libgcc.a, but that's OK because newib should have its own version of
......@@ -5497,6 +5509,9 @@ s%@doprint@%$doprint%g
s%@manext@%$manext%g
s%@objext@%$objext%g
s%@gthread_flags@%$gthread_flags%g
s%@build_canonical@%$build_canonical%g
s%@host_canonical@%$host_canonical%g
s%@target_subdir@%$target_subdir%g
s%@inhibit_libc@%$inhibit_libc%g
s%@sched_prefix@%$sched_prefix%g
s%@sched_cflags@%$sched_cflags%g
......
......@@ -3368,6 +3368,18 @@ if [[ ! -f Makefile.in ]]; then
echo "source ${srcdir}/.gdbinit" >> .gdbinit
fi
# Define variables host_canonical and build_canonical
# because some Cygnus local changes in the Makefile depend on them.
build_canonical=${build}
host_canonical=${host}
target_subdir=
if [[ "${host}" != "${target}" ]] ; then
target_subdir=${target}/
fi
AC_SUBST(build_canonical)
AC_SUBST(host_canonical)
AC_SUBST(target_subdir)
# If this is using newlib, then define inhibit_libc in
# LIBGCC2_CFLAGS. This will cause __eprintf to be left out of
# libgcc.a, but that's OK because newib should have its own version of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment