repo.or.cz
/
barvinok.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
barvinok 0.40
[barvinok.git]
/
m4
/
ax_unordered_map.m4
blob
143e122431e27f5f45ce6c9e658b96945d96bdca
1
AC_DEFUN([AX_UNORDERED_MAP], [
2
SAVE_CXX="$CXX"
3
SAVE_CXXCPP="$CXXCPP"
4
AX_CXX_COMPILE_STDCXX_11([], [optional])
5
AC_LANG_SAVE
6
AC_LANG_CPLUSPLUS
7
AC_TRY_COMPILE([#include <unordered_map>], [using std::unordered_map;],
8
AC_DEFINE([HAVE_UNORDERED_MAP], [],
9
[define if std::unordered_map is available]),
10
[CXX="$SAVE_CXX"
11
CXXCPP="$SAVE_CXXCPP"
12
])
13
AC_LANG_RESTORE
14
])