lyx_mirror/config
Jean-Marc Lasgouttes 39717adfda Fix the logic of selection of std::regex
This amends commit e1938aa2, which introduced some logic
errors: regex would be enabled for gcc versions which have unusable
<regex> header.

The new code separates better special gcc handling from special C++11
handling and should be more readable.

* set -std=c++11 in AM_CPPFLAGS instead of AM_CXXFLAGS, since the
  preprocessor uses this setting too.

* Before checking for header <regex>, set language to C++ and update
  value of AM_CPPFLAGS too.

* Separate code that checks for regex in its own macro.

* now unknown compiler which have the <regex> header, will use std::regex in C++11 mode.
2016-01-11 10:40:12 +01:00
..
.gitignore Autotools: configure AR program 2015-05-06 17:08:56 +02:00
common.am Remove support for precompiled headers for autotools 2015-09-25 12:05:40 +02:00
config.rpath
lyxinclude.m4 Fix the logic of selection of std::regex 2016-01-11 10:40:12 +01:00
lyxpython.m4 Autotool python support: allow to set version in configure.ac. 2015-03-24 12:09:21 +01:00
Makefile.am Autotools: check for python >= 2.7.0 or >= 3.3.0 2015-03-24 10:34:08 +01:00
pkg.m4
qt4.m4 Do not forget QtSvg when using pkgconfig in autoconf 2015-07-12 19:12:51 +02:00
spell.m4 restore old hunspell library detection code as fallback when pkg-config is not available - for Mac OS X 2011-08-14 07:17:12 +00:00