summaryrefslogtreecommitdiff
path: root/libbacktrace/configure
diff options
context:
space:
mode:
authorMisty De Meo <misty@brew.sh>2014-02-07 21:10:55 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2014-02-07 21:10:55 +0000
commit63fefb4bc9364120209dd9cefcf22e2e93cf6b8c (patch)
tree78e595c3c5157389d7beecacb6ccdf52904f2046 /libbacktrace/configure
parent6726b9071c4f53695dbd894cef24f08562a5c587 (diff)
downloadgcc-63fefb4bc9364120209dd9cefcf22e2e93cf6b8c.tar.gz
re PR libgcc/58710 (HAVE_GETIPINFO is incorrectly set on Mac OS X 10.4)
PR target/58710 * configure.ac: Use AC_LINK_IFELSE in check for _Unwind_GetIPInfo. * configure: Regenerate. From-SVN: r207612
Diffstat (limited to 'libbacktrace/configure')
-rwxr-xr-xlibbacktrace/configure5
1 files changed, 3 insertions, 2 deletions
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; }