From 761ed61e7bcdd1579942482e0c035ca7773fc892 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 9 Jan 2024 20:57:53 -0500 Subject: [PATCH] gdbsupport: tighten up libiberty code a bit with dnl No functional change here, just touch up generated output slightly. Approved-By: Tom Tromey --- 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 c55d17df735..d0fd1760b88 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 6a913189dc5..0942ef173d4 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 83bc7ce8361..b45f12de45b 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 5345a621a5a..7e784133072 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 . 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 29ea7ee95a5..36cadce3ca2 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