]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] header vars: remove few old redundant variables
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 27 Jul 2012 08:11:48 +0000 (10:11 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 27 Jul 2012 08:16:13 +0000 (10:16 +0200)
* lib/am/header-vars.am (target_triplet, host_triplet, build_triplet):
Remove these, redundant because aliases respectively for the variables
$(target), $(host) and $(build).  See also:
<http://lists.gnu.org/archive/html/automake/2012-07/msg00058.html>
* lib/am/dejagnu.am: Adjust.
* NG-NEWS: Update.
* doc/automake-ng.texi: Adjust.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
NG-NEWS
doc/automake-ng.texi
lib/am/dejagnu.am
lib/am/header-vars.am

diff --git a/NG-NEWS b/NG-NEWS
index 4e91893752cdc15ae61f93c5972dffe3364a44d4..78a65240d2d5938ac9a0308589e9ccd6a080960f 100644 (file)
--- a/NG-NEWS
+++ b/NG-NEWS
@@ -274,6 +274,11 @@ Obsolete Features Removed
   renamed to '$(am.remake.aclocal-m4)', and should be considered an
   internal detail.
 
+* The variables $(target_triplet), $(host_triplet) and $(build_triplet),
+  which were redundant because aliases respectively for the variables
+  $(target), $(host) and $(build), have been removed.  Simply use this
+  latter variables.
+
 
 Source Files with Unknown Extensions
 ====================================
index 64a31c216d0e2d3735219bf8e8287521df8bb99a..e8b1303cf104bf8af0ae4c21a8ada71e53668765 100644 (file)
@@ -2915,14 +2915,13 @@ Currently recognized macros and their effects are:
 @item AC_CANONICAL_BUILD
 @itemx AC_CANONICAL_HOST
 @itemx AC_CANONICAL_TARGET
-@vindex build_triplet
-@vindex host_triplet
-@vindex target_triplet
+@vindex build
+@vindex host
+@vindex target
 Automake will ensure that @file{config.guess} and @file{config.sub}
-exist.  Also, the @file{Makefile} variables @code{build_triplet},
-@code{host_triplet} and @code{target_triplet} are introduced.  See
-@ref{Canonicalizing, , Getting the Canonical System Type, autoconf,
-The Autoconf Manual}.
+exist.  Also, the @file{Makefile} variables @code{build}, @code{host}
+and @code{target} are introduced.  See @ref{Canonicalizing, ,
+Getting the Canonical System Type, autoconf, The Autoconf Manual}.
 
 @item AC_CONFIG_AUX_DIR
 Automake will look for various helper scripts, such as
index cb8894973ade962f48965a9ca1f59482fc9fa3e1..8c8733df7157642dc9fdac0b63bea5ebd5ff2054 100644 (file)
@@ -57,11 +57,11 @@ site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG)
        @echo "set objdir `pwd`" >>site.tmp
 ## Quote the *_alias variables because they might be empty.
 ?BUILD?        @echo 'set build_alias "$(build_alias)"' >>site.tmp
-?BUILD?        @echo 'set build_triplet $(build_triplet)' >>site.tmp
+?BUILD?        @echo 'set build_triplet $(build)' >>site.tmp
 ?HOST? @echo 'set host_alias "$(host_alias)"' >>site.tmp
-?HOST? @echo 'set host_triplet $(host_triplet)' >>site.tmp
+?HOST? @echo 'set host_triplet $(host)' >>site.tmp
 ?TARGET?       @echo 'set target_alias "$(target_alias)"' >>site.tmp
-?TARGET?       @echo 'set target_triplet $(target_triplet)' >>site.tmp
+?TARGET?       @echo 'set target_triplet $(target)' >>site.tmp
 ## Allow the package author to extend site.exp.
        @list='$(EXTRA_DEJAGNU_SITE_CONFIG)'; for f in $$list; do \
          echo "## Begin content included from file $$f.  Do not modify. ##" \
index 52457ea3ed4295d52344c38381663d8ac8d6807d..de266d8229c4205b9f883b0bc9ec5f4ab7ac8820 100644 (file)
@@ -321,8 +321,3 @@ POST_INSTALL = :
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
-
-## dejagnu.am uses these variables.  Some users might rely on them too.
-?BUILD?build_triplet = @build@
-?HOST?host_triplet = @host@
-?TARGET?target_triplet = @target@