aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2024-01-09 20:57:53 -0500
committerMike Frysinger <vapier@gentoo.org>2024-01-10 19:53:14 -0500
commit761ed61e7bcdd1579942482e0c035ca7773fc892 (patch)
treee2651f0e1853632e823087e8a3b9d7fd372f5a1e /gdbsupport
parent72d711c1556abac04845bb00aa2d97ebcc97a85c (diff)
downloadgdb-761ed61e7bcdd1579942482e0c035ca7773fc892.zip
gdb-761ed61e7bcdd1579942482e0c035ca7773fc892.tar.gz
gdb-761ed61e7bcdd1579942482e0c035ca7773fc892.tar.bz2
gdbsupport: tighten up libiberty code a bit with dnl
No functional change here, just touch up generated output slightly. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdbsupport')
-rwxr-xr-xgdbsupport/configure4
-rw-r--r--gdbsupport/libiberty.m47
2 files changed, 4 insertions, 7 deletions
diff --git a/gdbsupport/configure b/gdbsupport/configure
index 83bc7ce..b45f12d 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 5345a62..7e78413 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 *)])