compaq cxx doesn't like exception declarations when exceptions are disabled.

More fallout from bug #149032
This commit is contained in:
seawood%netscape.com 2002-07-04 01:31:05 +00:00
parent 92456dcb49
commit 01e6beba4f
2 changed files with 359 additions and 351 deletions

702
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1203,6 +1203,9 @@ alpha*-*-osf*)
AC_DEFINE(NSCAP_DISABLE_TEST_DONTQUERY_CASES)
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
fi
if test -z "$GNU_CXX"; then
COMPAQ_CXX=1
fi
AC_DEFINE(NEED_USLEEP_PROTOTYPE)
;;
@ -4032,8 +4035,9 @@ else
fi
_MOZ_CPP_EXCEPTIONS=1 ])
# Irix CC doesn't like exception declarations when exceptions are disabled
if test "$_MOZ_CPP_EXCEPTIONS" -o -n "$MIPSPRO_CXX"; then
# Irix & OSF native compilers do not like exception declarations
# when exceptions are disabled
if test "$_MOZ_CPP_EXCEPTIONS" -o -n "$MIPSPRO_CXX" -o -n "$COMPAQ_CXX"; then
AC_DEFINE(CPP_THROW_NEW, [])
else
AC_DEFINE(CPP_THROW_NEW, [throw()])