Do not build libctf for targets that do not use the ELF file format.
authorNick Clifton <nickc@redhat.com>
Wed, 29 May 2019 10:31:16 +0000 (11:31 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 29 May 2019 10:32:34 +0000 (11:32 +0100)
commit90bd54236cb8b1c31c3662977159be971044c20d
treeae40336bf812074b3c26b51190e33a59946ef2e8
parent9698cf9b1c485edbbeabc9f65bfd0fdef92e3854
Do not build libctf for targets that do not use the ELF file format.

top * configure.ac (noconfigdirs): Add libctf if the target does not use
the ELF file format.
* configure: Regenerate.

binutils* configure.ac (LIBCTF): Export.  Set to empty for non-ELF based
targets.
(HAVE_LIBCTF): Define if libctf support is available.
* Makefile.am (LIBCTF): Set value to @LIBCTF@.
* objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
defined.
* readelf.c: Likewise.
* configure: Regenerate.
* Makefile.in: Regenerate.
* config.in: Regenerate.
12 files changed:
ChangeLog
binutils/ChangeLog
binutils/Makefile.am
binutils/Makefile.in
binutils/config.in
binutils/configure
binutils/configure.ac
binutils/doc/Makefile.in
binutils/objdump.c
binutils/readelf.c
configure
configure.ac