Revert patch that disables building libctf for non-ELF based targets.

Revert:
binutls	2019-05-29  Nick Clifton  <nickc@redhat.com>

	* 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.

top	2019-05-29  Nick Clifton  <nickc@redhat.com>

	* configure.ac (noconfigdirs): Add libctf if the target does not use
	the ELF file format.
	* configure: Regenerate.
This commit is contained in:
Nick Clifton
2019-06-03 16:28:15 +01:00
parent 4f6d070adb
commit 79b377b3cf
12 changed files with 37 additions and 182 deletions

16
configure vendored
View File

@ -3604,22 +3604,6 @@ case "${target}" in
;;
esac
# Targets that do not use the ELF file format cannot support libctf.
case "${target}" in
*-*-pe | *-*-*vms* | *-*-darwin | *-*-*coff* | *-*-wince | *-*-mingw*)
noconfigdirs="$noconfigdirs libctf"
;;
*-*-aout | *-*-osf* | *-*-go32 | *-*-macos* | *-*-rhapsody*)
noconfigdirs="$noconfigdirs libctf"
;;
*-*-netbsdpe | *-*-cygwin* | *-*-pep | *-*-msdos | *-*-winnt)
noconfigdirs="$noconfigdirs libctf"
;;
ns32k-*-* | pdp11-*-* | *-*-aix* | *-*-netbsdaout)
noconfigdirs="$noconfigdirs libctf"
;;
esac
case "${target}" in
*-*-chorusos)
;;