aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2019-06-03 16:28:15 +0100
committerNick Clifton <nickc@redhat.com>2019-06-03 16:28:15 +0100
commit79b377b3cf3a0e71e1e4710c4ee1e65e7a27a5d4 (patch)
treea3a53be8e92d9a1dc842a20f2624959f55ca2e80 /binutils/configure
parent4f6d070adb32e61c3c61e621c6566fc2d5af2232 (diff)
downloadgdb-79b377b3cf3a0e71e1e4710c4ee1e65e7a27a5d4.zip
gdb-79b377b3cf3a0e71e1e4710c4ee1e65e7a27a5d4.tar.gz
gdb-79b377b3cf3a0e71e1e4710c4ee1e65e7a27a5d4.tar.bz2
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.
Diffstat (limited to 'binutils/configure')
-rwxr-xr-xbinutils/configure64
1 files changed, 2 insertions, 62 deletions
diff --git a/binutils/configure b/binutils/configure
index a653a71..17cca12 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -636,7 +636,6 @@ LTLIBOBJS
LIBOBJS
EMULATION_VECTOR
EMULATION
-LIBCTF
OBJDUMP_PRIVATE_OFILES
OBJDUMP_DEFS
BUILD_INSTALL_MISC
@@ -11524,7 +11523,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11527 "configure"
+#line 11526 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11630,7 +11629,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11633 "configure"
+#line 11632 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -15083,64 +15082,6 @@ do
fi
done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libctf support" >&5
-$as_echo_n "checking for libctf support... " >&6; }
-case "${target}" in
- *-*-pe | *-*-*vms* | *-*-darwin | *-*-*coff* | *-*-wince | *-*-mingw*)
- if ${bu_cv_libctf_support+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- bu_cv_libctf_support=no
-fi
-
- ;;
- *-*-aout | *-*-osf* | *-*-go32 | *-*-macos* | *-*-rhapsody*)
- if ${bu_cv_libctf_support+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- bu_cv_libctf_support=no
-fi
-
- ;;
- *-*-netbsdpe | *-*-cygwin* | *-*-pep | *-*-msdos | *-*-winnt)
- if ${bu_cv_libctf_support+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- bu_cv_libctf_support=no
-fi
-
- ;;
- ns32k-*-* | pdp11-*-* | *-*-aix* | *-*-netbsdaout)
- if ${bu_cv_libctf_support+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- bu_cv_libctf_support=no
-fi
-
- ;;
- *)
- if ${bu_cv_libctf_support+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- bu_cv_libctf_support=yes
-fi
-
- ;;
-esac
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bu_cv_libctf_support" >&5
-$as_echo "$bu_cv_libctf_support" >&6; }
-if test $bu_cv_libctf_support = yes; then
-
-$as_echo "#define HAVE_LIBCTF 1" >>confdefs.h
-
-fi
-LIBCTF=
-if test $bu_cv_libctf_support = yes; then
- LIBCTF=../libctf/libctf.a
-fi
-
-
# Uniq objdump private vector, build objdump target ofiles.
od_files=
f=""
@@ -15199,7 +15140,6 @@ OBJDUMP_DEFS="${OBJDUMP_DEFS} -DOBJDUMP_PRIVATE_VECTORS=\"${OBJDUMP_PRIVATE_VECT
-
cat >>confdefs.h <<_ACEOF
#define TARGET "${target}"
_ACEOF