diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/acinclude.m4 | 2 | ||||
-rw-r--r-- | gdb/libiberty.m4 | 31 |
2 files changed, 1 insertions, 32 deletions
diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4 index d505fbb..9150820 100644 --- a/gdb/acinclude.m4 +++ b/gdb/acinclude.m4 @@ -48,7 +48,7 @@ m4_include([../config/zstd.m4]) m4_include([../gdbsupport/common.m4]) dnl For libiberty_INIT. -m4_include(libiberty.m4) +m4_include(../gdbsupport/libiberty.m4) dnl For GDB_AC_PTRACE. m4_include(../gdbsupport/ptrace.m4) diff --git a/gdb/libiberty.m4 b/gdb/libiberty.m4 deleted file mode 100644 index 73673a9..0000000 --- a/gdb/libiberty.m4 +++ /dev/null @@ -1,31 +0,0 @@ -dnl Bits libiberty clients must do on their autoconf step. -dnl -dnl Copyright (C) 2012-2023 Free Software Foundation, Inc. -dnl -dnl This file is free software; you can redistribute it and/or modify -dnl it under the terms of the GNU General Public License as published by -dnl the Free Software Foundation; either version 3 of the License, or -dnl (at your option) any later version. -dnl -dnl This program is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -dnl GNU General Public License for more details. -dnl -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 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. - AC_CHECK_TYPES([long long], [AC_CHECK_SIZEOF(long long)]) - - AC_CHECK_DECLS([basename(char *), ffs, asprintf, vasprintf, snprintf, vsnprintf]) - AC_CHECK_DECLS([strtol, strtoul, strtoll, strtoull]) - AC_CHECK_DECLS([strverscmp]) -]) |