]> gcc.gnu.org Git - gcc.git/commitdiff
Makefile.in (build_canonical, [...]): Let configure substitute values for these varia...
authorJeffrey A Law <law@cygnus.com>
Mon, 18 May 1998 00:48:07 +0000 (00:48 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 18 May 1998 00:48:07 +0000 (18:48 -0600)
        * 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

gcc/ChangeLog
gcc/Makefile.in
gcc/configure
gcc/configure.in

index c96e8c2adc881c3fcef4ba22ef6404db5bcabe27..94d3c2c93a47093b06c1f2ce0d5ab748dccc8fd7 100644 (file)
@@ -1,5 +1,10 @@
 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.
 
index 88b0202aecd6fcae0541ef5d42fb852bb644aae1..029ed142f4bc5d1eff2ea3a765ff5937628687ba 100644 (file)
@@ -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.
index 37b499cf425fcdbf115cf35e47528f3ecd1121ee..c88ad6e78c85864c8fed980abf6b96b8ced758ba 100755 (executable)
@@ -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
index d8bc744e63466c10db48ac8dea323a88ed8a7c1a..0ee19c4b545c462f566f24df84f3a168b642937d 100644 (file)
@@ -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
This page took 1.407793 seconds and 5 git commands to generate.