51
51
AC_MSG_WARN([could not find an STL hash_map])
54
[whether hash_map has rehash method],
55
[ac_cv_hash_map_has_rehash],
59
using namespace HASH_NAMESPACE;
61
HASH_MAP_CLASS<int, int> test_hash;
62
test_hash.rehash(100);
64
[ac_cv_hash_map_has_rehash=yes],
65
[ac_cv_hash_map_has_rehash=no])])
66
AS_IF([test $ac_cv_hash_map_has_rehash = yes],[
67
AC_DEFINE(HASH_MAP_HAS_REHASH, 1, [if hash_map<> hash rehash method])
70
[whether hash_map has resize method],
71
[ac_cv_hash_map_has_resize],
75
using namespace HASH_NAMESPACE;
77
HASH_MAP_CLASS<int, int> test_hash;
78
test_hash.resize(100);
80
[ac_cv_hash_map_has_resize=yes],
81
[ac_cv_hash_map_has_resize=no])])
82
AS_IF([test $ac_cv_hash_map_has_resize = yes],[
83
AC_DEFINE(HASH_MAP_HAS_RESIZE, 1, [if hash_map<> hash resize method])
54
86
[whether to redefine hash<string>],
55
87
[ac_cv_redefine_hash_string],
56
88
[AC_COMPILE_IFELSE(