Le 09/06/2016 15:23, Guillaume Munch a écrit :
diff --git a/configure.ac b/configure.ac
index 3353df4..52da6ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,6 +130,9 @@ AC_C_BIGENDIAN
  # Nice to have when an assertion triggers
  LYX_CHECK_CALLSTACK_PRINTING

+# C++14 only
+LYX_CHECK_DEF(make_unique, memory, [using std::make_unique;])
+
  # Needed for our char_type
  AC_CHECK_SIZEOF(wchar_t)


I looked quickly at CMakefile.txt but I could not guess how to update it
accordingly. This defines LYX_DEF_MAKE_UNIQUE when make_unique exists in <memory>.

Reply via email to