Am Sonntag, 12. Juni 2016 um 18:35:56, schrieb Guillaume Munch <g...@lyx.org> > Le 12/06/2016 10:23, Kornel Benko a écrit : > > Am Sonntag, 12. Juni 2016 um 10:25:30, schrieb Kornel Benko <kor...@lyx.org> > >> Am Sonntag, 12. Juni 2016 um 03:25:38, schrieb Guillaume Munch > >> <g...@lyx.org> > >>> 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>. > >> > >> I will try to create this macro for cmake. > >> > >> Kornel > > > > Something like attached seems to work > > > > Looks good, thanks Kornel. >
In that context I've seen also the creation of "HAVE_DEF_PATH_MAX" define. So I will add this one to cmake too. (It was missing) Kornel
signature.asc
Description: This is a digitally signed message part.