mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
Fix search for a good c++ compiler
Bash evaluates "c++{17,14}" as "c++17 c++14", but "c++-{17}" as "c++{17}".
This commit is contained in:
parent
1ef2f135d2
commit
2c694ccc2b
@ -232,7 +232,8 @@ AC_REQUIRE([AC_PROG_CXXCPP])
|
|||||||
### We might want to force the C++ standard.
|
### We might want to force the C++ standard.
|
||||||
AC_ARG_ENABLE(cxx-mode,
|
AC_ARG_ENABLE(cxx-mode,
|
||||||
AS_HELP_STRING([--enable-cxx-mode],[choose C++ standard (default: 17)]),,
|
AS_HELP_STRING([--enable-cxx-mode],[choose C++ standard (default: 17)]),,
|
||||||
[enable_cxx_mode={17}]
|
dnl put modes in curly braces if there are several of them (ex. {20,17}
|
||||||
|
[enable_cxx_mode=17]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_LANG_PUSH(C++)
|
AC_LANG_PUSH(C++)
|
||||||
|
Loading…
Reference in New Issue
Block a user