From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH 5/5] gdbsupport: tighten up libiberty code a bit with dnl
Date: Tue, 9 Jan 2024 20:58:26 -0500 [thread overview]
Message-ID: <20240110015826.19937-5-vapier@gentoo.org> (raw)
In-Reply-To: <20240110015826.19937-1-vapier@gentoo.org>
No functional change here, just touch up generated output slightly.
---
gdb/configure | 4 +---
gdbserver/configure | 4 +---
gdbsupport/configure | 4 +---
gdbsupport/libiberty.m4 | 7 +++----
sim/configure | 5 +----
5 files changed, 7 insertions(+), 17 deletions(-)
diff --git a/gdb/configure b/gdb/configure
index c55d17df7356..d0fd1760b889 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -29342,9 +29342,7 @@ cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_STRVERSCMP $ac_have_decl
_ACEOF
-
- # Check for presence and size of long long.
- ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
+ ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
if test "x$ac_cv_type_long_long" = xyes; then :
cat >>confdefs.h <<_ACEOF
diff --git a/gdbserver/configure b/gdbserver/configure
index 6a913189dc5a..0942ef173d45 100755
--- a/gdbserver/configure
+++ b/gdbserver/configure
@@ -13985,9 +13985,7 @@ cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_STRVERSCMP $ac_have_decl
_ACEOF
-
- # Check for presence and size of long long.
- ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
+ ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
if test "x$ac_cv_type_long_long" = xyes; then :
cat >>confdefs.h <<_ACEOF
diff --git a/gdbsupport/configure b/gdbsupport/configure
index 83bc7ce83613..b45f12de45be 100755
--- a/gdbsupport/configure
+++ b/gdbsupport/configure
@@ -10527,9 +10527,7 @@ cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_STRVERSCMP $ac_have_decl
_ACEOF
-
- # Check for presence and size of long long.
- ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
+ ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
if test "x$ac_cv_type_long_long" = xyes; then :
cat >>confdefs.h <<_ACEOF
diff --git a/gdbsupport/libiberty.m4 b/gdbsupport/libiberty.m4
index 5345a621a5ab..7e784133072d 100644
--- a/gdbsupport/libiberty.m4
+++ b/gdbsupport/libiberty.m4
@@ -16,13 +16,12 @@ dnl You should have received a copy of the GNU General Public License
dnl along with this program; see the file COPYING3. If not see
dnl <http://www.gnu.org/licenses/>.
dnl
-
+dnl
dnl Checks for declarations ansidecl.h and libiberty.h themselves
dnl check with HAVE_DECL_XXX, etc.
-
AC_DEFUN([libiberty_INIT],
-[
- # Check for presence and size of long long.
+[dnl
+ dnl Check for presence and size of long long.
AC_CHECK_TYPES([long long], [AC_CHECK_SIZEOF(long long)])
AC_CHECK_DECLS([basename(char *)])
diff --git a/sim/configure b/sim/configure
index 29ea7ee95a58..36cadce3ca21 100755
--- a/sim/configure
+++ b/sim/configure
@@ -13962,7 +13962,6 @@ fi
-
ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
if test "x$ac_cv_have_decl_ffs" = xyes; then :
ac_have_decl=1
@@ -14073,9 +14072,7 @@ cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_STRVERSCMP $ac_have_decl
_ACEOF
-
- # Check for presence and size of long long.
- ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
+ ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
if test "x$ac_cv_type_long_long" = xyes; then :
cat >>confdefs.h <<_ACEOF
--
2.43.0
next prev parent reply other threads:[~2024-01-10 1:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-10 1:58 [PATCH 1/5] gdb: move libiberty.m4 to gdbsupport Mike Frysinger
2024-01-10 1:58 ` [PATCH 2/5] gdb: libiberty: switch to AC_CHECK_DECLS_ONCE Mike Frysinger
2024-01-10 18:18 ` Tom Tromey
2024-01-10 1:58 ` [PATCH 3/5] sim: ppc: rework defines.h to handle HAVE symbols defined to 0 Mike Frysinger
2024-01-10 1:58 ` [PATCH 4/5] sim: build: switch to gdbsupport/libiberty.m4 Mike Frysinger
2024-01-10 1:58 ` Mike Frysinger [this message]
2024-01-10 18:19 ` [PATCH 5/5] gdbsupport: tighten up libiberty code a bit with dnl Tom Tromey
2024-01-10 18:18 ` [PATCH 1/5] gdb: move libiberty.m4 to gdbsupport Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240110015826.19937-5-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).