1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-01-22 16:20:29 +01:00

Don't check C++ ABI when it's not enabled.

This commit is contained in:
Arun Sharma 2009-03-15 20:01:23 -07:00
parent 576b59e4b1
commit 83cef8b8f5
2 changed files with 4 additions and 1 deletions

View file

@ -168,6 +168,7 @@ AC_SUBST(PKG_MAJOR)
AC_SUBST(PKG_MINOR)
AC_SUBST(PKG_EXTRA)
AC_SUBST(PKG_MAINTAINER)
AC_SUBST(enable_cxx_exceptions)
AC_CONFIG_FILES(Makefile src/Makefile tests/Makefile tests/check-namespace.sh
doc/Makefile doc/common.tex include/libunwind-common.h)

View file

@ -242,7 +242,9 @@ if [ $plat = $build_plat ]; then
fetch_symtab $LIBUNWIND
filter_misc
check_local_unw_abi
check_cxx_abi
if [ x@enable_cxx_exceptions@ = yes ]; then
check_cxx_abi
fi
check_empty
fi