X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Fconfigure.ac;h=385ab01a26c8ef2bbde8518b0df43e9d289447bf;hb=cf6f3e86ded2cd950f59a0f2c164f2c953ef534b;hp=71be51e6a6f2c4de59adef1b9765fad841c3d780;hpb=90bd54236cb8b1c31c3662977159be971044c20d;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/configure.ac b/binutils/configure.ac index 71be51e6a6..385ab01a26 100644 --- a/binutils/configure.ac +++ b/binutils/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. dnl -dnl Copyright (C) 2012-2019 Free Software Foundation, Inc. +dnl Copyright (C) 2012-2020 Free Software Foundation, Inc. dnl dnl This file is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -18,6 +18,7 @@ dnl . dnl m4_include([../bfd/version.m4]) +m4_include([../config/debuginfod.m4]) AC_INIT([binutils], BFD_VERSION) AC_CONFIG_SRCDIR(ar.c) @@ -63,6 +64,8 @@ else default_strings_all=1 fi], [default_strings_all=1]) +AC_DEBUGINFOD + AC_DEFINE_UNQUOTED(DEFAULT_STRINGS_ALL, $default_strings_all, [Should strings use -a behavior by default?]) @@ -393,35 +396,6 @@ changequote([,])dnl fi done - -AC_MSG_CHECKING([for libctf support]) -case "${target}" in - *-*-pe | *-*-*vms* | *-*-darwin | *-*-*coff* | *-*-wince | *-*-mingw*) - AC_CACHE_VAL(bu_cv_libctf_support, bu_cv_libctf_support=no) - ;; - *-*-aout | *-*-osf* | *-*-go32 | *-*-macos* | *-*-rhapsody*) - AC_CACHE_VAL(bu_cv_libctf_support, bu_cv_libctf_support=no) - ;; - *-*-netbsdpe | *-*-cygwin* | *-*-pep | *-*-msdos | *-*-winnt) - AC_CACHE_VAL(bu_cv_libctf_support, bu_cv_libctf_support=no) - ;; - ns32k-*-* | pdp11-*-* | *-*-aix* | *-*-netbsdaout) - AC_CACHE_VAL(bu_cv_libctf_support, bu_cv_libctf_support=no) - ;; - *) - AC_CACHE_VAL(bu_cv_libctf_support, bu_cv_libctf_support=yes) - ;; -esac -AC_MSG_RESULT($bu_cv_libctf_support) -if test $bu_cv_libctf_support = yes; then - AC_DEFINE(HAVE_LIBCTF, 1, [Is libctf available?]) -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="" @@ -478,7 +452,6 @@ AC_SUBST(BUILD_MISC) AC_SUBST(BUILD_INSTALL_MISC) AC_SUBST(OBJDUMP_DEFS) AC_SUBST(OBJDUMP_PRIVATE_OFILES) -AC_SUBST(LIBCTF) AC_DEFINE_UNQUOTED(TARGET, "${target}", [Configured target name.])