aboutsummaryrefslogtreecommitdiff
path: root/config
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 /config
parent5a8f592c7618ba2054683469e0c8909273ca4e7d (diff)
downloadgdb-29496481662736f0a24bfc1daf31dbfc9d2bb7ee.zip
gdb-29496481662736f0a24bfc1daf31dbfc9d2bb7ee.tar.gz
gdb-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 'config')
-rw-r--r--config/acx.m44
-rw-r--r--config/lthostflags.m42
2 files changed, 3 insertions, 3 deletions
diff --git a/config/acx.m4 b/config/acx.m4
index 7efe98a..69f4bfa 100644
--- a/config/acx.m4
+++ b/config/acx.m4
@@ -107,9 +107,9 @@ AC_SUBST([target_subdir]) []dnl
####
-# _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
+# _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_TARGET
# or AC_INIT.
-# These demand that AC_CANONICAL_SYSTEM be called beforehand.
+# These demand that AC_CANONICAL_HOST and AC_CANONICAL_TARGET be called beforehand.
AC_DEFUN([_NCN_TOOL_PREFIXES],
[ncn_tool_prefix=
test -n "$host_alias" && ncn_tool_prefix=$host_alias-
diff --git a/config/lthostflags.m4 b/config/lthostflags.m4
index bc0f59e..4a389a7 100644
--- a/config/lthostflags.m4
+++ b/config/lthostflags.m4
@@ -10,7 +10,7 @@ dnl Defines and AC_SUBSTs lt_host_flags
AC_DEFUN([ACX_LT_HOST_FLAGS], [
-AC_REQUIRE([AC_CANONICAL_SYSTEM])
+AC_REQUIRE([AC_CANONICAL_HOST])
case $host in
*-cygwin* | *-mingw*)