binutils-gdb/libctf
Eli Zaretskii 3a657c600b libctf: Add configure check for asprintf (for MinGW)
This commit fixes a compilation warning when compiling libctf
on MinGW:

    libctf/ctf-dump.c:118:8: warning: implicit declaration of function
    'asprintf'; did you mean 'vasprintf'? [-Wimplicit-function-declaration]

	 if (asprintf (&bit, " %lx: [slice 0x%x:0x%x]",
	     ^~~~~~~~
	     vasprintf

MinGW doesn't provide that function, so we depend on the one provided
by libiberty. However, the declaration is guarded by HAVE_DECL_ASPRINTF,
which we do not have in libctf's config.h.

libctf/ChangeLog:

	PR binutils/25155:
	* configure.ac: Add AC_CHECK_DECLS([asprintf]).
	* configure, config.h.in: Regenerate.
2020-01-05 09:50:27 +04:00
..
aclocal.m4 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ChangeLog libctf: Add configure check for asprintf (for MinGW) 2020-01-05 09:50:27 +04:00
config.h.in libctf: Add configure check for asprintf (for MinGW) 2020-01-05 09:50:27 +04:00
configure libctf: Add configure check for asprintf (for MinGW) 2020-01-05 09:50:27 +04:00
configure.ac libctf: Add configure check for asprintf (for MinGW) 2020-01-05 09:50:27 +04:00
ctf-archive.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-create.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-decl.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-decls.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-dump.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-endian.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-error.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-hash.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-impl.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-labels.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-link.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-lookup.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-open-bfd.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-open.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-qsort_r.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-string.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-subr.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-types.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-util.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elf.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
libctf.ver Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
Makefile.am Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
Makefile.in Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
swap.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30