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
This commit is contained in:
parent
6726b9071c
commit
63fefb4bc9
@ -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>
|
2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
|
||||||
|
|
||||||
Update copyright years
|
Update copyright years
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
|
|
||||||
# Makefile.am -- Backtrace Makefile.
|
# 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
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are
|
# modification, are permitted provided that the following conditions are
|
||||||
|
5
libbacktrace/configure
vendored
5
libbacktrace/configure
vendored
@ -11675,12 +11675,13 @@ return _Unwind_GetIPInfo (context, &ip_before_insn);
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
_ACEOF
|
_ACEOF
|
||||||
if ac_fn_c_try_compile "$LINENO"; then :
|
if ac_fn_c_try_link "$LINENO"; then :
|
||||||
have_unwind_getipinfo=yes
|
have_unwind_getipinfo=yes
|
||||||
else
|
else
|
||||||
have_unwind_getipinfo=no
|
have_unwind_getipinfo=no
|
||||||
fi
|
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"
|
CFLAGS="$ac_save_CFLAGS"
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
|
||||||
$as_echo "$have_unwind_getipinfo" >&6; }
|
$as_echo "$have_unwind_getipinfo" >&6; }
|
||||||
|
@ -144,7 +144,7 @@ else
|
|||||||
ac_save_CFFLAGS="$CFLAGS"
|
ac_save_CFFLAGS="$CFLAGS"
|
||||||
CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
|
CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
|
||||||
AC_MSG_CHECKING([for _Unwind_GetIPInfo])
|
AC_MSG_CHECKING([for _Unwind_GetIPInfo])
|
||||||
AC_COMPILE_IFELSE(
|
AC_LINK_IFELSE(
|
||||||
[AC_LANG_PROGRAM(
|
[AC_LANG_PROGRAM(
|
||||||
[#include "unwind.h"
|
[#include "unwind.h"
|
||||||
struct _Unwind_Context *context;
|
struct _Unwind_Context *context;
|
||||||
|
Loading…
Reference in New Issue
Block a user