only use C++ 11 compiler if std::unordered_map is available
commit29413a0b354573b9ee8a6a02c6b9e514eba4899c
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 23 Feb 2017 08:36:48 +0000 (23 09:36 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 23 Feb 2017 09:02:58 +0000 (23 10:02 +0100)
tree6ce68ee6b3c4c06bfd7956f82da4c73031069665
parent1c18e1d86d67fc9f69127b9c71a369ab467c3803
only use C++ 11 compiler if std::unordered_map is available

For some combinations of clang and the libstdc++, enabling
C++ 11 results in the error

    error: use of undeclared identifier '__float128'

This results in the failure to use std::unordered_map (which is ok,
since there is an alternative implementation), but it may also result
in a failure to use NTL.
Revert to the original C++ compiler when std::unordered_map cannot
be used such that such failures would not affect the detection of NTL.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
m4/ax_unordered_map.m4