diff options
| author | Ulf Hermann <[email protected]> | 2018-07-13 18:32:53 +0200 |
|---|---|---|
| committer | Ulf Hermann <[email protected]> | 2018-07-13 18:32:53 +0200 |
| commit | 731aa2b1b0f73b443c8ed7538c134849935d0ba1 (patch) | |
| tree | 9179c5a58889c4725751856bf75d6a91810d5bf8 /configure.ac | |
| parent | d9483eb79086970df1dd875f6914bd0a442e8566 (diff) | |
| parent | aa36de0335e3ce12898954985a208f6336731289 (diff) | |
Merge tag 'elfutils-0.173'
elfutils 0.173 release
Change-Id: I83dc56dd15c26fe7acf4ce73c29df65b8b65e757
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac index 38498893..9d06bce0 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. dnl Configure input file for elfutils. -*-autoconf-*- dnl -dnl Copyright (C) 1996-2017 Red Hat, Inc. +dnl Copyright (C) 1996-2018 Red Hat, Inc. dnl dnl This file is part of elfutils. dnl @@ -17,7 +17,7 @@ dnl GNU General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program. If not, see <http://www.gnu.org/licenses/>. -AC_INIT([elfutils],[0.170],[https://sourceware.org/bugzilla],[elfutils],[http://elfutils.org/]) +AC_INIT([elfutils],[0.173],[https://sourceware.org/bugzilla],[elfutils],[http://elfutils.org/]) dnl Workaround for older autoconf < 2.64 m4_ifndef([AC_PACKAGE_URL], @@ -41,7 +41,7 @@ fi AC_CONFIG_AUX_DIR([config]) AC_CONFIG_FILES([config/Makefile]) -AC_COPYRIGHT([Copyright (C) 1996-2017 The elfutils developers.]) +AC_COPYRIGHT([Copyright (C) 1996-2018 The elfutils developers.]) AC_PREREQ(2.63) dnl Minimum Autoconf version required. dnl We use GNU make extensions; automake 1.10 defaults to -Wportability. @@ -257,17 +257,6 @@ fi AC_SUBST([dso_LDFLAGS]) -rdynamic_LDFLAGS="-rdynamic" -AC_CACHE_CHECK([whether gcc supports $rdynamic_LDFLAGS], ac_cv_rdynamic, [dnl -save_LDFLAGS="$LDFLAGS" -LDFLAGS="$rdynamic_LDFLAGS $save_LDFLAGS" -AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_cv_rdynamic=yes, ac_cv_rdynamic=no) -LDFLAGS="$save_LDFLAGS" -]) -if test "$ac_cv_rdynamic" = "no"; then - rdynamic_LDFLAGS="" -fi - AC_CACHE_CHECK([for rpath support], ac_cv_rpath, [dnl save_LDFLAGS="$LDFLAGS" LDFLAGS="$save_LDFLAGS -Wl,--enable-new-dtags,-rpath,/foo/bar" @@ -459,6 +448,8 @@ char *basename(const char *path); AC_FUNC_STRERROR_R +AC_CHECK_FUNCS([process_vm_readv]) + AC_CHECK_LIB([stdc++], [__cxa_demangle], [dnl AC_DEFINE([USE_DEMANGLE], [1], [Defined if demangling is enabled])]) AM_CONDITIONAL(DEMANGLE, test "x$ac_cv_lib_stdcpp___cxa_demangle" = "xyes") @@ -484,7 +475,10 @@ int foo(int x) { return x + 1; } NEW_VERSION (foo, ELFUTILS_12.12) ])], ac_cv_symbol_versioning=yes, ac_cv_symbol_versioning=no)]) if test "$ac_cv_symbol_versioning" = "no"; then - enable_symbol_versioning=no + if test "x$enable_symbol_versioning" != "xno"; then + AC_MSG_ERROR([Symbol versioning is not supported. + Use --disable-symbol-versioning to build without.]) + fi fi AM_CONDITIONAL(SYMBOL_VERSIONING, [test "x$enable_symbol_versioning" != "xno"]) @@ -542,6 +536,12 @@ CFLAGS="$old_CFLAGS"]) AM_CONDITIONAL(HAVE_IMPLICIT_FALLTHROUGH_WARNING, [test "x$ac_cv_implicit_fallthrough" != "xno"]) +# Assume the fallthrough attribute is supported if -Wimplict-fallthrough is supported +if test "$ac_cv_implicit_fallthrough" = "yes"; then + AC_DEFINE([HAVE_FALLTHROUGH], [1], + [Defined if __attribute__((fallthrough)) is supported]) +fi + dnl Check if gettext is available form libc AC_LINK_IFELSE( [AC_LANG_PROGRAM( |
