Commit c6c51600 by Andreas Schwab Committed by Andreas Schwab

re PR bootstrap/12276 (Configure check for libunwind does not work with cross)

	PR bootstrap/12276
	* configure.in: Check for libunwind on the host only if building
	a native compiler.
	* configure: Regenerated.

From-SVN: r72072
parent 290f6157
2003-10-03 Andreas Schwab <schwab@suse.de>
PR bootstrap/12276
* configure.in: Check for libunwind on the host only if building
a native compiler.
* configure: Regenerated.
2003-10-03 Paolo Carlini <pcarlini@unitus.it>
* unwind-pe.h (read_encoded_value_with_base): Constify u and
......
......@@ -941,7 +941,11 @@ AC_ARG_ENABLE(sjlj-exceptions,
AC_DEFINE_UNQUOTED(CONFIG_SJLJ_EXCEPTIONS, $sjlj,
[Define 0/1 to force the choice for exception handling model.])])
AC_CHECK_LIB(unwind, main, use_libunwind_default=yes, use_libunwind_default=no)
if test x$host = x$target; then
AC_CHECK_LIB(unwind, main, use_libunwind_default=yes, use_libunwind_default=no)
else
use_libunwind_default=no
fi
# Use libunwind based exception handling.
AC_ARG_ENABLE(libunwind-exceptions,
[ --enable-libunwind-exceptions force use libunwind for 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