monotone

monotone Mtn Source Tree

Root/m4/stlporthashmap.m4

1dnl @synopsis AC_CXX_STLPORT_HASHMAP
2dnl
3dnl tests for the presence of the gcc hashmap stl extension
4dnl
5dnl @author Patrick Mauritz <oxygene@studentenbude.ath.cx>
6dnl @version 2005-07-18
7dnl @license AllPermissive
8
9AC_DEFUN([AC_CXX_STLPORT_HASHMAP],[
10AC_LANG_ASSERT([C++])
11AC_CACHE_CHECK(whether the compiler supports std::hash_map,
12ac_cv_cxx_stlport_hashmap,
13[AC_COMPILE_IFELSE([AC_LANG_SOURCE([
14#include <hash_map>
15using std::hash_map;
16])],
17 [ac_cv_cxx_stlport_hashmap=yes],
18 [ac_cv_cxx_stlport_hashmap=no])
19])
20if test "$ac_cv_cxx_stlport_hashmap" = yes; then
21 AC_DEFINE(HAVE_STLPORT_HASHMAP, 1,
22 [Define if the compiler supports std::hash_map.])
23fi
24])

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status