X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fconfigure.ac;h=45c00c0a24d036c3fe7cc15c8e2eba0a4cc7336e;hb=7bc6be579d49f23c82dc8950a05f8c780964201e;hp=2af021666ad2ff1cb9220708a352f633327ad272;hpb=642da5cc12fe53a0d7678538db24ad4839ca56aa;p=synfig.git diff --git a/synfig-core/trunk/configure.ac b/synfig-core/trunk/configure.ac index 2af0216..45c00c0 100644 --- a/synfig-core/trunk/configure.ac +++ b/synfig-core/trunk/configure.ac @@ -456,12 +456,15 @@ AC_COMPILE_IFELSE([ AC_DEFINE([HASH_MAP_CLASS],[HASH_MAP_NAMESPACE::unordered_map],[The template name for unordered maps.]) AC_DEFINE([HASH_MAP_H],[],[The header file to include for unordered maps.]) AC_DEFINE([HASH_MAP_NAMESPACE],[std::tr1],[The namespace for unordered maps.]) + AC_DEFINE([FUNCTIONAL_H],[],[The header file for hash.]) + AC_DEFINE([FUNCTIONAL_HASH_ON_STRING],[1],[Define to 1 if hash needs to use T=String rather than T=char* to hash strings.]) ],[ AC_MSG_RESULT([no]) AC_CHECK_HEADERS([ext/hash_map],[ AC_DEFINE([HASH_MAP_CLASS],[HASH_MAP_NAMESPACE::hash_map],[The template name for unordered maps.]) AC_DEFINE([HASH_MAP_H],[],[The header file to include for unordered maps.]) AC_DEFINE([HASH_MAP_NAMESPACE],[__gnu_cxx],[The namespace for unordered maps.]) + AC_DEFINE([FUNCTIONAL_H],[],[The header file for hash.]) ],[ AC_MSG_ERROR([C++ compiler does not seem to support unordered containers]) ])