diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-07 21:10:55 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-07 21:10:55 +0000 |
commit | 2ee407b0577ea538556be3af464a27ef6e501db7 (patch) | |
tree | 78e595c3c5157389d7beecacb6ccdf52904f2046 /libbacktrace | |
parent | b0b557aecdd162a95fb13adbd2a234c0ed419d91 (diff) | |
download | gcc-2ee407b0577ea538556be3af464a27ef6e501db7.tar.gz |
PR target/58710
* configure.ac: Use AC_LINK_IFELSE in check for
_Unwind_GetIPInfo.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207612 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libbacktrace')
-rw-r--r-- | libbacktrace/ChangeLog | 7 | ||||
-rw-r--r-- | libbacktrace/Makefile.in | 2 | ||||
-rwxr-xr-x | libbacktrace/configure | 5 | ||||
-rw-r--r-- | libbacktrace/configure.ac | 2 |
4 files changed, 12 insertions, 4 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 2b0b43919a8..5ad616228e4 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,10 @@ +2014-02-07 Misty De Meo <misty@brew.sh> + + PR target/58710 + * configure.ac: Use AC_LINK_IFELSE in check for + _Unwind_GetIPInfo. + * configure: Regenerate. + 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> Update copyright years diff --git a/libbacktrace/Makefile.in b/libbacktrace/Makefile.in index a1e144aca17..18c1ecaca54 100644 --- a/libbacktrace/Makefile.in +++ b/libbacktrace/Makefile.in @@ -16,7 +16,7 @@ @SET_MAKE@ # Makefile.am -- Backtrace Makefile. -# Copyright (C) 2012-2013 Free Software Foundation, Inc. +# Copyright (C) 2012-2014 Free Software Foundation, Inc. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are diff --git a/libbacktrace/configure b/libbacktrace/configure index d6bda6e67b6..f4f9d058ec8 100755 --- a/libbacktrace/configure +++ b/libbacktrace/configure @@ -11675,12 +11675,13 @@ return _Unwind_GetIPInfo (context, &ip_before_insn); return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_link "$LINENO"; then : have_unwind_getipinfo=yes else have_unwind_getipinfo=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5 $as_echo "$have_unwind_getipinfo" >&6; } diff --git a/libbacktrace/configure.ac b/libbacktrace/configure.ac index 5e7e0395858..878bd2c1580 100644 --- a/libbacktrace/configure.ac +++ b/libbacktrace/configure.ac @@ -144,7 +144,7 @@ else ac_save_CFFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror-implicit-function-declaration" AC_MSG_CHECKING([for _Unwind_GetIPInfo]) - AC_COMPILE_IFELSE( + AC_LINK_IFELSE( [AC_LANG_PROGRAM( [#include "unwind.h" struct _Unwind_Context *context; |