]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR target/58710
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Feb 2014 21:10:55 +0000 (21:10 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Feb 2014 21:10:55 +0000 (21:10 +0000)
* 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

libbacktrace/ChangeLog
libbacktrace/Makefile.in
libbacktrace/configure
libbacktrace/configure.ac

index 2b0b43919a82f80fe5b06782bf593499eb691e22..5ad616228e495c5f53118337197e62a42c4049a3 100644 (file)
@@ -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
index a1e144aca172bd0d7da1963f0bc8de572c405ceb..18c1ecaca545fc1274ecdd967035143738ec32ee 100644 (file)
@@ -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
index d6bda6e67b682382578877e596c832eeb4f2b9a1..f4f9d058ec8e1a30589dab39a269274ec9a0fcd0 100755 (executable)
@@ -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; }
index 5e7e03958580c15d6a06ec86248e7a20b51ddb9e..878bd2c15806c61790f4928e8140bbb041ae301c 100644 (file)
@@ -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;