aboutsummaryrefslogtreecommitdiff
path: root/binutils/config.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2019-05-29 11:31:16 +0100
committerNick Clifton <nickc@redhat.com>2019-05-29 11:32:34 +0100
commit90bd54236cb8b1c31c3662977159be971044c20d (patch)
treeae40336bf812074b3c26b51190e33a59946ef2e8 /binutils/config.in
parent9698cf9b1c485edbbeabc9f65bfd0fdef92e3854 (diff)
downloadbinutils-90bd54236cb8b1c31c3662977159be971044c20d.zip
binutils-90bd54236cb8b1c31c3662977159be971044c20d.tar.gz
binutils-90bd54236cb8b1c31c3662977159be971044c20d.tar.bz2
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.
Diffstat (limited to 'binutils/config.in')
-rw-r--r--binutils/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/config.in b/binutils/config.in
index 72ead4e..edd7615 100644
--- a/binutils/config.in
+++ b/binutils/config.in
@@ -109,6 +109,9 @@
/* Define if your <locale.h> file defines LC_MESSAGES. */
#undef HAVE_LC_MESSAGES
+/* Is libctf available? */
+#undef HAVE_LIBCTF
+
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H