From: Matthieu Longo Date: Tue, 28 May 2024 09:49:41 +0000 (+0100) Subject: autoupdate: replace obsolete macros AC_AIX, AC_MINIX, and AC_GNU_SOURCE X-Git-Tag: binutils-2_43~486 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2cac47f5bab66389e96fc9bca6bb683642984b43;p=thirdparty%2Fbinutils-gdb.git 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 --- diff --git a/bfd/configure.ac b/bfd/configure.ac index 29ede92b993..3b65d8fed4a 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 19c5d7d7c34..0373a426495 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 7403ec71cd0..503635072cf 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 2c7a969b97f..0e622c7405a 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 3202303e9fc..b2635680c15 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 84f4044d5fc..cce094380de 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 0888e638896..4f76b62fcfd 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 d812ff54a95..31ab922440e 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 c800f1c8667..9ea2a6b4b5e 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