]> git.lyx.org Git - lyx.git/commit
Use a proper test for detecting usable std::regex
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 6 Jul 2016 12:49:18 +0000 (14:49 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 6 Jul 2016 13:12:53 +0000 (15:12 +0200)
commit14a6a4723f527f5e7af0321635e7473bbb7da77b
treeefe767eb3f6346ffb642031f3e74fc0ecddab657
parent23dbcb59d2e861921677b3ce99d95c77c1ceec02
Use a proper test for detecting usable std::regex

The test is stolen from cmake code.

Tested on:

* ubuntu 12.04 with g++ 4.6, clang 3.3 (with libstdc++)

* ubuntu 16.04 with g++ 5.3, clang 3.7 (with libstdc++) and clang 3.7
  (with libc++)

The last combination fails, but it seems to be related to real bugs
(reported for debian), so this is OK.
config/lyxinclude.m4