#
# add_file "m4/gnucxxhashmap.m4"
#
# add_file "m4/stlporthashmap.m4"
#
# patch "m4/gnucxxhashmap.m4"
# from []
# to [ed3c75a16d203a195448e1be25c9215e458a958f]
#
# patch "m4/stlporthashmap.m4"
# from []
# to [54cd7bb25bf3a74e02263c808e04c981cc4cfaea]
#
========================================================================
--- m4/gnucxxhashmap.m4
+++ m4/gnucxxhashmap.m4 ed3c75a16d203a195448e1be25c9215e458a958f
@@ -0,0 +1,23 @@
+dnl @synopsis AC_CXX_GNUCXX_HASHMAP
+dnl
+dnl tests for the presence of the gcc hashmap stl extension
+dnl
+dnl @author Patrick Mauritz
+dnl @version 2005-07-18
+dnl @license AllPermissive
+
+AC_DEFUN([AC_CXX_GNUCXX_HASHMAP],[
+AC_CACHE_CHECK(whether the compiler supports __gnu_cxx::hash_map,
+ac_cv_cxx_gnucxx_hashmap,
+[AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_TRY_COMPILE([#include
+using __gnu_cxx::hash_map;],
+ [],
+ ac_cv_cxx_gnucxx_hashmap=yes, ac_cv_cxx_gnucxx_hashmap=no)
+ AC_LANG_RESTORE
+])
+if test "$ac_cv_cxx_gnucxx_hashmap" = yes; then
+ AC_DEFINE(HAVE_GNUCXX_HASHMAP,,[define if the compiler supports __gnu_cxx::hash_map])
+fi
+])
========================================================================
--- m4/stlporthashmap.m4
+++ m4/stlporthashmap.m4 54cd7bb25bf3a74e02263c808e04c981cc4cfaea
@@ -0,0 +1,23 @@
+dnl @synopsis AC_CXX_STLPORT_HASHMAP
+dnl
+dnl tests for the presence of the gcc hashmap stl extension
+dnl
+dnl @author Patrick Mauritz
+dnl @version 2005-07-18
+dnl @license AllPermissive
+
+AC_DEFUN([AC_CXX_STLPORT_HASHMAP],[
+AC_CACHE_CHECK(whether the compiler supports std::hash_map,
+ac_cv_cxx_stlport_hashmap,
+[AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_TRY_COMPILE([#include
+using std::hash_map;],
+ [],
+ ac_cv_cxx_stlport_hashmap=yes, ac_cv_cxx_stlport_hashmap=no)
+ AC_LANG_RESTORE
+])
+if test "$ac_cv_cxx_stlport_hashmap" = yes; then
+ AC_DEFINE(HAVE_STLPORT_HASHMAP,,[define if the compiler supports std::hash_map])
+fi
+])