[5/5] gdbsupport: tighten up libiberty code a bit with dnl

Message ID 20240110015826.19937-5-vapier@gentoo.org
State New
Headers
Series [1/5] gdb: move libiberty.m4 to gdbsupport |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_gdb_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_gdb_check--master-arm fail Testing failed
linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 success Testing passed

Commit Message

Mike Frysinger Jan. 10, 2024, 1:58 a.m. UTC
  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(-)
  

Comments

Tom Tromey Jan. 10, 2024, 6:19 p.m. UTC | #1
>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:

Mike> No functional change here, just touch up generated output slightly.

Seems fine to me, thanks.
Approved-By: Tom Tromey <tom@tromey.com>

Tom
  

Patch

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