mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
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
This commit is contained in:
@ -33,7 +33,16 @@ AM_PROG_CC_STDC
|
||||
AM_PROG_INSTALL_STRIP
|
||||
|
||||
AC_CONFIG_AUX_DIR(..)
|
||||
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
|
||||
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
# We require a C++11 compiler. Check if one is available, and if
|
||||
|
Reference in New Issue
Block a user