3f5c947f44
us up to version 2.17.50.20070703, at the last GPLv2 commit. Amongst others, this added upstream support for some FreeBSD-specific things that we previously had to manually hack in, such as the OSABI label support, and so on. There are also quite a number of new files, some for cpu's (e.g. SPU) that we may or may not be interested in, but those can be cleaned up later on, if needed.
23 lines
651 B
Plaintext
23 lines
651 B
Plaintext
dnl
|
|
dnl Check whether _Unwind_GetIPInfo is available.
|
|
dnl
|
|
AC_DEFUN([GCC_CHECK_UNWIND_GETIPINFO], [
|
|
AC_LANG_SAVE
|
|
AC_LANG_CPLUSPLUS
|
|
ac_save_CXXFLAGS="$CXXFLAGS"
|
|
CXXFLAGS="$CXXFLAGS -fno-exceptions"
|
|
AC_MSG_CHECKING([for _Unwind_GetIPInfo])
|
|
AC_CACHE_VAL(gcc_cv_getipinfo, [
|
|
AC_TRY_LINK([extern "C" { extern void _Unwind_GetIPInfo(); }],
|
|
[_Unwind_GetIPInfo();],
|
|
[gcc_cv_getipinfo=yes],
|
|
[gcc_cv_getipinfo=no])
|
|
])
|
|
if test $gcc_cv_getipinfo = yes; then
|
|
AC_DEFINE(HAVE_GETIPINFO, 1, [Define if _Unwind_GetIPInfo is available.])
|
|
fi
|
|
AC_MSG_RESULT($gcc_cv_getipinfo)
|
|
CXXFLAGS="$ac_save_CXXFLAGS"
|
|
AC_LANG_RESTORE
|
|
])
|