regex makefile updates: better responce to environment variables, and correct linker options for gcc-shared.mak

[SVN r9393]
This commit is contained in:
John Maddock
2001-03-03 11:31:04 +00:00
parent ee8c9873bc
commit 833740c25b
10 changed files with 743 additions and 534 deletions

View File

@ -1013,12 +1013,23 @@ AC_TRY_COMPILE(
#include <memory>
#include "confdefs.h"
template <class A>
struct tester
{
typedef typename A::BOOST_RE_NESTED_TEMPLATE_DECL rebind<int> binder;
typedef typename binder::other alloc_type;
alloc_type a;
tester(A al): a(al) {}
};
std::allocator<char> a;
std::allocator<double> d(a);
typedef std::allocator<char> alloc_type;
alloc_type::BOOST_RE_NESTED_TEMPLATE_DECL rebind<int>::other o(a);
tester<std::allocator<char> > t(a);
],
[
],
@ -1708,5 +1719,6 @@ rm -f jm_opt.out