X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=1cbb6bd978ab9d175a66f4aa29e2ed5d9c78588a;hb=0842aa06e45d0d182c34924f03b045056795e0c2;hp=3b29b38257c663413ab2e8a0ef63ca2b2c697be9;hpb=0b09424017866d0f1d9dfff8cb54cedaf17b99aa;p=features.git diff --git a/configure.ac b/configure.ac index 3b29b38257..1cbb6bd978 100644 --- a/configure.ac +++ b/configure.ac @@ -285,8 +285,9 @@ char * strerror(int n); #define BOOST_SIGNALS_NO_DEPRECATION_WARNING 1 // TR1 regex not supported in GCC <= 4.5 +// clang defines __GNUC__ but libc++ does not have tr1 #ifndef LYX_USE_TR1 -# if __GNUC__ == 4 +# if __GNUC__ == 4 && !defined(USE_LLVM_LIBCPP) # define LYX_USE_TR1 # endif #endif