Kaydet (Commit) 0462dd7f authored tarafından Thomas Klausner's avatar Thomas Klausner

Only show "checking exception type" message on platforms where it is checked.

üst afe97f9f
...@@ -2413,9 +2413,9 @@ fi ...@@ -2413,9 +2413,9 @@ fi
dnl ************************************************************* dnl *************************************************************
dnl Testing for exception handling - dwarf2 or sjlj exceptions... dnl Testing for exception handling - dwarf2 or sjlj exceptions...
dnl ************************************************************* dnl *************************************************************
AC_MSG_CHECKING([exception type])
AC_LANG_PUSH([C++])
if test "$WITH_MINGWIN" = "yes"; then if test "$WITH_MINGWIN" = "yes"; then
AC_MSG_CHECKING([exception type])
AC_LANG_PUSH([C++])
AC_TRY_LINK( AC_TRY_LINK(
[#include <iostream> [#include <iostream>
...@@ -2426,10 +2426,10 @@ extern "C" void _Unwind_SjLj_RaiseException(void) __attribute__ ((__noreturn__)) ...@@ -2426,10 +2426,10 @@ extern "C" void _Unwind_SjLj_RaiseException(void) __attribute__ ((__noreturn__))
[exceptions_type="sjlj"], [exceptions_type="sjlj"],
[exceptions_type="dwarf2"] [exceptions_type="dwarf2"]
) )
AC_MSG_RESULT($exceptions_type)
AC_LANG_POP([C++])
fi fi
AC_MSG_RESULT($exceptions_type)
AC_LANG_POP([C++])
EXCEPTIONS="$exceptions_type" EXCEPTIONS="$exceptions_type"
AC_SUBST(EXCEPTIONS) AC_SUBST(EXCEPTIONS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment