]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbsupport/libiberty.m4
Update copyright year range in header of all files managed by GDB
[thirdparty/binutils-gdb.git] / gdbsupport / libiberty.m4
CommitLineData
07697489
PA
1dnl Bits libiberty clients must do on their autoconf step.
2dnl
1d506c26 3dnl Copyright (C) 2012-2024 Free Software Foundation, Inc.
07697489
PA
4dnl
5dnl This file is free software; you can redistribute it and/or modify
6dnl it under the terms of the GNU General Public License as published by
7dnl the Free Software Foundation; either version 3 of the License, or
8dnl (at your option) any later version.
9dnl
10dnl This program is distributed in the hope that it will be useful,
11dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
12dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13dnl GNU General Public License for more details.
14dnl
15dnl You should have received a copy of the GNU General Public License
16dnl along with this program; see the file COPYING3. If not see
17dnl <http://www.gnu.org/licenses/>.
18dnl
761ed61e 19dnl
07697489
PA
20dnl Checks for declarations ansidecl.h and libiberty.h themselves
21dnl check with HAVE_DECL_XXX, etc.
07697489 22AC_DEFUN([libiberty_INIT],
761ed61e
MF
23[dnl
24 dnl Check for presence and size of long long.
07697489
PA
25 AC_CHECK_TYPES([long long], [AC_CHECK_SIZEOF(long long)])
26
908ff469
MF
27 AC_CHECK_DECLS([basename(char *)])
28 AC_CHECK_DECLS_ONCE([ffs, asprintf, vasprintf, snprintf, vsnprintf])
29 AC_CHECK_DECLS_ONCE([strtol, strtoul, strtoll, strtoull])
30 AC_CHECK_DECLS_ONCE([strverscmp])
07697489 31])