summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2016-08-04 19:01:10 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2016-08-04 19:01:10 +0000
commitfa70c0e286d268ef3e35f2d08a0404dcbf02caa3 (patch)
tree97740938a795425b35d93e34ab938215d593d5b6 /configure.ac
parentRequire C++11 (diff)
downloadinkscape-fa70c0e286d268ef3e35f2d08a0404dcbf02caa3.tar.gz
inkscape-fa70c0e286d268ef3e35f2d08a0404dcbf02caa3.zip
Use C++11 unordered containers
(bzr r15040)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac34
1 files changed, 0 insertions, 34 deletions
diff --git a/configure.ac b/configure.ac
index 603cd6ac1..e57f63885 100644
--- a/configure.ac
+++ b/configure.ac
@@ -652,40 +652,6 @@ PKG_CHECK_MODULES(INKSCAPE,
pangoft2 >= 1.24
)
-# Detect a working version of unordered containers.
-# First try looking for native support (C++11 feature)
-AC_MSG_CHECKING([native support for unordered_set])
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unordered_set>]],
-[[
- std::unordered_set<int> i, j;
- i = j;
-]])],
-[native_unordered_set_works=yes], [native_unordered_set_works=no])
-
-if test "x$native_unordered_set_works" = "xyes"; then
- AC_MSG_RESULT([ok])
- AC_DEFINE(HAVE_NATIVE_UNORDERED_SET, 1, [Has working native unordered_set])
-else
- AC_MSG_RESULT([not working])
-fi
-
-AC_MSG_CHECKING([TR1 unordered_set usability])
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <tr1/unordered_set>]],
-[[
- std::tr1::unordered_set<int> i, j;
- i = j;
-]])],
-[tr1_unordered_set_works=yes], [tr1_unordered_set_works=no])
-
-if test "x$tr1_unordered_set_works" = "xyes"; then
- AC_MSG_RESULT([ok])
- AC_DEFINE(HAVE_TR1_UNORDERED_SET, 1, [Has working standard TR1 unordered_set])
-else
- AC_MSG_RESULT([not working])
-fi
-
-AC_CHECK_HEADER([boost/unordered_set.hpp], [AC_DEFINE(HAVE_BOOST_UNORDERED_SET, 1, [Boost unordered_set (Boost >= 1.36)])], [])
-
ink_spell_pkg=
if pkg-config --exists gtkspell-3.0; then
ink_spell_pkg=gtkspell-3.0