forked from boostorg/regex
regex makefile updates: better responce to environment variables, and correct linker options for gcc-shared.mak
[SVN r9393]
This commit is contained in:
12
configure.in
12
configure.in
@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user