libabigail/tools
David Seifert 1198798985 Find fts-standalone on musl
When using the musl C library fts is optional.  So we need to detect
its presence by looking at the fts-standalone pkgconfig module.

This patch does that.

This comes from Gentoo bug https://bugs.gentoo.org/831571

	* configure.ac: Invoke AC_CANONICAL_HOST to compute the host_cpu,
	host_vendor, host_os parts of the 'host" variable.  Then if the
	host_os ends up with "musl" then, check for the fts-standalone
	pkgconfig module and record the fts library into
	FTS_{LIBS,CFLAGS}.
	* src/Makefile.am: Link to $FTS_LIBS and use $FTS_CFLAGS for
	compilation.
	* tools/Makefile.am: Likewise.
	* tools/abisym.cc: Include libgen.h
	* tools/kmidiff.cc: Remove useless fts.h header file.

Signed-off-by: David Seifert <soap@gentoo.org>
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2022-02-07 16:26:30 +01:00
..
.gitignore Update .gitignore files to ignore typical dev side products 2019-04-16 16:32:52 +02:00
abicompat.cc Move dwarf_reader::status facilities to an abigail::elf_reader namespace 2021-11-15 11:08:53 +01:00
abidiff.cc abidiff: include ABI XML versions when reporting a mismatch cont. 2022-01-18 17:59:04 +01:00
abidw.cc ctf-reader: Make create_read_context return a smart pointer. 2021-11-23 15:25:05 +01:00
abilint.cc ctf-reader: Use ABG_ASSERT instead of assert 2021-11-23 15:36:06 +01:00
abipkgdiff.cc abipkgdiff: Use 'convert_path_to_relative' in 'create_abi_file_path' 2021-12-20 16:42:13 +01:00
abisym.cc Include <libgen.h> in tools/abisym.cc for basename(3) 2022-01-17 14:32:33 +01:00
binilint.cc Re-license the project to Apache v2 With LLVM Exception 2020-12-02 11:49:13 +01:00
fedabipkgdiff fedabipkgdiff: Also accept MIME type 'application/x-redhat-package-manager' for RPM files 2021-12-21 14:54:46 +01:00
kmidiff.cc Find fts-standalone on musl 2022-02-07 16:26:30 +01:00
Makefile.am Find fts-standalone on musl 2022-02-07 16:26:30 +01:00