]> git.lyx.org Git - lyx.git/commit
Make it possible to select C++ standard with autoconf
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 2 Nov 2020 16:40:29 +0000 (17:40 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 3 Nov 2020 14:12:20 +0000 (15:12 +0100)
commitce526607ff4ae33834dabe64e0072530eca16183
treec049c7d20ea0ed64cd9957844a1ff2e708c053e4
parent060c3de2f08b21fd2695a1b445d0b8f3d0ff9186
Make it possible to select C++ standard with autoconf

Introduce new configure option --enable-cxx-mode=MODE, which allows to
force a C++ version. The default is {14,11}, which means that C++14 is
chosen if it is supported, and C++11 will be selected as a fallback.

Using --enable-cxx-mode=11 ensures that LyX compiles correctly
with an older C++11 compiler.
INSTALL
config/lyxinclude.m4