Misc regex fixes: removed BOOST_RE_NO_EXCEPTION_H macro (no longer needed), added hack for VC6+STLPort regression test (missing wstring exports in STLPort dll).

[SVN r9555]
This commit is contained in:
John Maddock
2001-03-14 12:52:06 +00:00
parent f5368b7666
commit 26ccffe3d0
7 changed files with 16 additions and 98 deletions

View File

@ -921,39 +921,6 @@ have_std_namespace="yes"
[AC_MSG_RESULT(no - either STL is not present or in a non-standard namespace.)
AC_MSG_ERROR([Sorry, you can't compile this library unless the standard library is in namespace std.])])
AC_MSG_CHECKING(for <exception>)
AC_TRY_COMPILE(
[
#include <exception>
#include "confdefs.h"
class bad_expression : public std::exception
{
unsigned int code;
public:
bad_expression(unsigned int err) : code(err) {}
bad_expression(const bad_expression& e) : std::exception(e), code(e.code) {}
bad_expression& operator=(const bad_expression& e)
{
std::exception::operator=(e);
code = e.code;
return *this;
}
virtual const char* what()const throw();
};
std::exception e;
std::bad_exception e3;
],
[
],
[AC_MSG_RESULT(yes)
],
[AC_MSG_RESULT(no)
AC_DEFINE(BOOST_RE_NO_EXCEPTION_H, [])
])
AC_MSG_CHECKING(for <iterator>)
AC_TRY_COMPILE(
[