aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthieu Longo <matthieu.longo@arm.com>2024-05-28 10:49:43 +0100
committerAlan Modra <amodra@gmail.com>2024-06-10 08:25:55 +0930
commit29496481662736f0a24bfc1daf31dbfc9d2bb7ee (patch)
treee416ca6ffa4390002975e6e16561767eecfbb0c3 /configure.ac
parent5a8f592c7618ba2054683469e0c8909273ca4e7d (diff)
downloadbinutils-29496481662736f0a24bfc1daf31dbfc9d2bb7ee.zip
binutils-29496481662736f0a24bfc1daf31dbfc9d2bb7ee.tar.gz
binutils-29496481662736f0a24bfc1daf31dbfc9d2bb7ee.tar.bz2
autoupdate: replace obsolete macros AC_CANONICAL_SYSTEM
- AC_CANONICAL_SYSTEM by: * AC_CANONICAL_HOST where host, and host_alias are needed * AC_CANONICAL_TARGET where target_alias is needed https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fCANONICAL_005fTARGET-1
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1300a80..9f69d46 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,14 +70,14 @@ ACX_NONCANONICAL_TARGET
dnl Autoconf 2.5x and later will set a default program prefix if
dnl --target was used, even if it was the same as --host. Disable
-dnl that behavior. This must be done before AC_CANONICAL_SYSTEM
+dnl that behavior. This must be done before AC_CANONICAL_TARGET
dnl to take effect.
test "$host_noncanonical" = "$target_noncanonical" &&
test "$program_prefix$program_suffix$program_transform_name" = \
NONENONEs,x,x, &&
program_transform_name=s,y,y,
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET
AC_ARG_PROGRAM
m4_pattern_allow([^AS_FOR_TARGET$])dnl