aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Longo <matthieu.longo@arm.com>2024-05-28 10:49:41 +0100
committerAlan Modra <amodra@gmail.com>2024-06-10 08:25:55 +0930
commit2cac47f5bab66389e96fc9bca6bb683642984b43 (patch)
treedb8bfb41923fc08b7f9b0294c48b22e9fa1a3034
parentc22e3e25de0aa7841c4ef7c6b9e167b5685c2671 (diff)
downloadgdb-2cac47f5bab66389e96fc9bca6bb683642984b43.zip
gdb-2cac47f5bab66389e96fc9bca6bb683642984b43.tar.gz
gdb-2cac47f5bab66389e96fc9bca6bb683642984b43.tar.bz2
autoupdate: replace obsolete macros AC_AIX, AC_MINIX, and AC_GNU_SOURCE
- AC_AIX, AC_MINIX, and AC_GNU_SOURCE by AC_USE_SYSTEM_EXTENSIONS https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fAIX https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fMINIX-1 https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fGNU_005fSOURCE-1
-rw-r--r--bfd/configure.ac1
-rw-r--r--binutils/configure.ac1
-rw-r--r--gas/configure.ac1
-rw-r--r--gold/configure.ac2
-rw-r--r--gprof/configure.ac1
-rw-r--r--ld/configure.ac1
-rw-r--r--libiberty/configure.ac2
-rw-r--r--opcodes/configure.ac1
-rw-r--r--readline/readline/configure.ac3
9 files changed, 2 insertions, 11 deletions
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 29ede92..3b65d8f 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -36,7 +36,6 @@ dnl configure option --enable-shared.
AC_DISABLE_SHARED
AC_PROG_CC
-AC_GNU_SOURCE
AC_USE_SYSTEM_EXTENSIONS
LT_INIT([dlopen])
diff --git a/binutils/configure.ac b/binutils/configure.ac
index 19c5d7d..0373a42 100644
--- a/binutils/configure.ac
+++ b/binutils/configure.ac
@@ -28,7 +28,6 @@ AM_INIT_AUTOMAKE
AM_SILENT_RULES([yes])
AC_PROG_CC
-AC_GNU_SOURCE
AC_USE_SYSTEM_EXTENSIONS
AC_C_BIGENDIAN
diff --git a/gas/configure.ac b/gas/configure.ac
index 7403ec7..5036350 100644
--- a/gas/configure.ac
+++ b/gas/configure.ac
@@ -34,7 +34,6 @@ AM_INIT_AUTOMAKE
AM_SILENT_RULES([yes])
AC_PROG_CC
-AC_GNU_SOURCE
AC_USE_SYSTEM_EXTENSIONS
LT_INIT
diff --git a/gold/configure.ac b/gold/configure.ac
index 2c7a969..0e622c7 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -313,8 +313,6 @@ AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PROG_LN_S
-AC_GNU_SOURCE
-
ZW_GNU_GETTEXT_SISTER_DIR
AM_PO_SUBDIRS
diff --git a/gprof/configure.ac b/gprof/configure.ac
index 3202303..b263568 100644
--- a/gprof/configure.ac
+++ b/gprof/configure.ac
@@ -32,7 +32,6 @@ dnl config.h, to avoid any possible confusion with the bfd config.h.
AC_CONFIG_HEADERS([gconfig.h:gconfig.in])
AC_PROG_CC
-AC_GNU_SOURCE
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_INSTALL
diff --git a/ld/configure.ac b/ld/configure.ac
index 84f4044..cce0943 100644
--- a/ld/configure.ac
+++ b/ld/configure.ac
@@ -31,7 +31,6 @@ AM_MAINTAINER_MODE
AC_PROG_CC
AC_PROG_CXX
AC_PROG_GREP
-AC_GNU_SOURCE
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_INSTALL
PKG_PROG_PKG_CONFIG
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index 0888e63..4f76b62 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -172,7 +172,7 @@ AC_MSG_NOTICE([target_header_dir = $target_header_dir])
GCC_NO_EXECUTABLES
AC_PROG_CC
-AC_GNU_SOURCE
+AC_USE_SYSTEM_EXTENSIONS
AC_SYS_LARGEFILE
AC_PROG_CPP_WERROR
diff --git a/opcodes/configure.ac b/opcodes/configure.ac
index d812ff5..31ab922 100644
--- a/opcodes/configure.ac
+++ b/opcodes/configure.ac
@@ -27,7 +27,6 @@ AM_INIT_AUTOMAKE
AM_SILENT_RULES([yes])
AC_PROG_CC
-AC_GNU_SOURCE
AC_USE_SYSTEM_EXTENSIONS
dnl These must be called before LT_INIT, because it may want
diff --git a/readline/readline/configure.ac b/readline/readline/configure.ac
index c800f1c..9ea2a6b 100644
--- a/readline/readline/configure.ac
+++ b/readline/readline/configure.ac
@@ -115,8 +115,7 @@ test -z "$CFLAGS" && want_auto_cflags=1
AC_PROG_MAKE_SET
AC_PROG_CC
-dnl AC_AIX
-AC_MINIX
+AC_USE_SYSTEM_EXTENSIONS
# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS
if test -n "$want_auto_cflags" ; then