aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/configure.ac
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-10-31 08:30:57 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-10-31 08:30:57 -0400
commit91e1a0ed0961091d0312982da759d8bf378fca50 (patch)
treef975c28df89bbf2bee9524eb46bfa79113ae2cfc /gdbsupport/configure.ac
parentb5e72fb54a432e5d2b572ce605dd04629491a30f (diff)
downloadfsf-binutils-gdb-91e1a0ed0961091d0312982da759d8bf378fca50.zip
fsf-binutils-gdb-91e1a0ed0961091d0312982da759d8bf378fca50.tar.gz
fsf-binutils-gdb-91e1a0ed0961091d0312982da759d8bf378fca50.tar.bz2
gdb, gdbserver, gdbsupport: use AC_CANONICAL_{BUILD,HOST,TARGET} instead of AC_CANONICAL_SYSTEM
`autoreconf -Wall` notes that AC_CANONICAL_SYSTEM is obsolete: configure.ac:36: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. Replace it by AC_CANONICAL_BUILD, AC_CANONICAL_HOST and AC_CANONICAL_TARGET in configure.ac files in gdb, gdbserver and gdbsupport. All three macros may not be needed everywhere, but it is hard to completely audit the configure files to see which are required, so I think it's better (and that there's no downside) to just call all three. gdb/ChangeLog: * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of AC_CANONICAL_SYSTEM. * configure: Re-generate. gdbserver/ChangeLog: * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of AC_CANONICAL_SYSTEM. * configure: Re-generate. gdbsupport/ChangeLog: * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of AC_CANONICAL_SYSTEM. * configure: Re-generate. Change-Id: Ifd0e21f1e478634e768b5de1b8ee06a7f690d863
Diffstat (limited to 'gdbsupport/configure.ac')
-rw-r--r--gdbsupport/configure.ac11
1 files changed, 10 insertions, 1 deletions
diff --git a/gdbsupport/configure.ac b/gdbsupport/configure.ac
index 401e16f..a62a130 100644
--- a/gdbsupport/configure.ac
+++ b/gdbsupport/configure.ac
@@ -19,7 +19,16 @@ dnl Process this file with autoconf to produce a configure script.
AC_INIT([gdbsupport], 1.0)
AC_CONFIG_SRCDIR(common-defs.h)
AC_CONFIG_HEADER(config.h:config.in)
-AC_CANONICAL_SYSTEM
+
+# Set build, build_cpu, build_vendor and build_os.
+AC_CANONICAL_BUILD
+
+# Set host, host_cpu, host_vendor, and host_os.
+AC_CANONICAL_HOST
+
+# Set target, target_cpu, target_vendor, and target_os.
+AC_CANONICAL_TARGET
+
AM_MAINTAINER_MODE
AC_CONFIG_AUX_DIR(..)
AM_INIT_AUTOMAKE