Le 26/06/2016 17:56, Enrico Forestieri a écrit :
On Sun, Jun 26, 2016 at 05:44:04PM +0200, Jean-Marc Lasgouttes wrote:
Le 26/06/2016 17:32, Enrico Forestieri a écrit :
The macro LYX_CHECK_DEF does not pass the option -std=X to g++ for the
test. Probably it has only been working by chance up to now. Can any
configure expert have a look?
Does the attached patch help?
You may have to use the cxx11_flags variable. It is not used to CXXFLAGS
directly because this broke objectivec++ compilation on OSX.
It is used in LYX_CXX_USE_REGEX already.
I think it already passes the correct flags through $AM_CXXFLAGS.
Good. I am in a hurry now, I did not have the time to check it.
Thanks for the fix.
JMarc