From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from barracuda.ebox.ca (barracuda.ebox.ca [96.127.255.19]) by sourceware.org (Postfix) with ESMTPS id 8B2D6385DC30 for ; Mon, 26 Oct 2020 02:15:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8B2D6385DC30 X-ASG-Debug-ID: 1603678491-0c856e1c44326a40001-fS2M51 Received: from smtp.ebox.ca (smtp.ebox.ca [96.127.255.82]) by barracuda.ebox.ca with ESMTP id KGWE7l0pgLsBfwNP (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 25 Oct 2020 22:14:51 -0400 (EDT) X-Barracuda-Envelope-From: simon.marchi@polymtl.ca X-Barracuda-RBL-Trusted-Forwarder: 96.127.255.82 Received: from simark.localdomain (173-246-6-90.qc.cable.ebox.net [173.246.6.90]) by smtp.ebox.ca (Postfix) with ESMTP id A54C8441B21; Sun, 25 Oct 2020 22:14:51 -0400 (EDT) From: Simon Marchi X-Barracuda-RBL-IP: 173.246.6.90 X-Barracuda-Effective-Source-IP: 173-246-6-90.qc.cable.ebox.net[173.246.6.90] X-Barracuda-Apparent-Source-IP: 173.246.6.90 To: gdb-patches@sourceware.org Subject: [PATCH 00/13] Modernize gdb/gdbserver/gdbsupport configure files Date: Sun, 25 Oct 2020 22:14:34 -0400 X-ASG-Orig-Subj: [PATCH 00/13] Modernize gdb/gdbserver/gdbsupport configure files Message-Id: <20201026021447.3174684-1-simon.marchi@polymtl.ca> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Barracuda-Connect: smtp.ebox.ca[96.127.255.82] X-Barracuda-Start-Time: 1603678491 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://96.127.255.19:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at ebox.ca X-Barracuda-Scan-Msg-Size: 1925 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=8.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.85498 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, KAM_DMARC_QUARANTINE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2020 02:15:04 -0000 I'd like to give a shot at autoconf 2.69c (the preview version of the upcoming 2.70 version) to make sure that if we hit some problems, we can report them before the final release is out. Before doing so, I'd like to make `autoreconf -vf -Wall` clean, to make sure we use what's recommended today. This first patch series changes things in gdb, gdbserver and gdbsupport to remove some warnings. The remaining warnings need changes outside these directories, and will need to be sent to binutils and maybe gcc, so I'll do them later. Simon Marchi (13): gdb, gdbserver, gdbsupport: use AC_CANONICAL_{BUILD,HOST,TARGET} instead of AC_CANONICAL_SYSTEM gdb: use AC_PROG_CC_STDC instead of AM_PROG_CC_STDC gdbserver: modernize configure.ac gdb: modernize configure.ac gdb/testsuite: modernize configure.ac gdb: modernize acinclude.m4 gdbsupport: re-indent ptrace.m4 gdbsupport: replace AC_TRY_COMPILE in ptrace.m4 gdbsupport: replace AC_TRY_COMPILE in warning.m4 gdbsupport: use AC_FUNC_FORK instead of AC_FUNC_VFORK gdbsupport: replace AC_TRY_COMPILE in common.m4 gdb: replace AC_TRY_LINK in sanitize.m4 gdbserver: replace AC_TRY_COMPILE in acinclude.m4 gdb/acinclude.m4 | 156 ++---- gdb/configure | 302 ++++++------ gdb/configure.ac | 378 +++++++++------ gdb/sanitize.m4 | 6 +- gdb/testsuite/configure | 1 + gdb/testsuite/configure.ac | 3 +- gdbserver/acinclude.m4 | 32 +- gdbserver/configure | 135 +++--- gdbserver/configure.ac | 108 +++-- gdbsupport/aclocal.m4 | 29 -- gdbsupport/common.m4 | 21 +- gdbsupport/configure | 943 +++++-------------------------------- gdbsupport/configure.ac | 12 +- gdbsupport/ptrace.m4 | 105 +++-- gdbsupport/warning.m4 | 24 +- 15 files changed, 818 insertions(+), 1437 deletions(-) -- 2.29.0