Am 25.02.2018 um 19:35 schrieb Kornel Benko <[email protected]>:
> 
> Am Sonntag, 25. Februar 2018 17:58:36 CET schrieb Stephan Witt 
> <[email protected]>:
>> Hi,
>> 
>> usually I’m using the --enable-cxx11 configure option to build LyX binaries
>> on Mac with autotools.
>> 
>> Today I saw a warning with lyx-2.3.0 as follows:
>> configure: WARNING: unrecognized options: --enable-cxx11
> 
> If I understand the code correctly, configure tries to determine itself, which
> of '-std=c++14 -std=c++11  -std=c++0x -std=gnu++14 -std=gnu++11 -std=gnu++0x'
> may apply.
> So, no need for --enable-cxx11.
> 
>> So I tried to build w/o this option. But this leads to a configure error:
> 
> Clean tree?

Yes, every configure and build run starts in an empty directory.

> ...
> 
>> Back to configure with the „unrecognized“ option it works and the
>> corresponding line in config.log is this:
>> 
>> configure:10942: c++ -stdlib=libc++ -o conftest -std=c++14  -std=c++11
> 
> I'd say, configure found '-std=c++14'.
> But where comes '-std=c++11' from?

I’d say from --enable-cxx11

Stephan

Reply via email to