X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=1cbb6bd978ab9d175a66f4aa29e2ed5d9c78588a;hb=0842aa06e45d0d182c34924f03b045056795e0c2;hp=8539c7cfdb347a206a95f1f04ba2134e4f519956;hpb=8ecb96c09a2c605ba0c18d0c3ad1030d5a8b77cd;p=features.git diff --git a/configure.ac b/configure.ac index 8539c7cfdb..1cbb6bd978 100644 --- a/configure.ac +++ b/configure.ac @@ -35,8 +35,6 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2 no-define 1.8] LYX_OBJECTS_LAYOUT) m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) PACKAGE=$save_PACKAGE -LYX_CHECK_GIT_COMMIT - # Allow to build some parts of the code as one big chunk m4_define([ALLPARTS],[boost,client,insets,mathed,core,tex2lyx,frontend_qt]) AC_ARG_ENABLE(monolithic-build, @@ -104,6 +102,9 @@ LYX_USE_INCLUDED_MYTHES ### we need to know the byte order for unicode conversions AC_C_BIGENDIAN +# Nice to have when an assertion triggers +LYX_CHECK_CALLSTACK_PRINTING + # Needed for our char_type AC_CHECK_SIZEOF(wchar_t) @@ -284,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 @@ -324,7 +326,6 @@ AC_DEFINE_UNQUOTED([PROGRAM_SUFFIX], "${version_suffix}",[Program version suffix]) AC_DEFINE_UNQUOTED([LYX_DATE],"$LYX_DATE",[Date of release]) -AC_DEFINE_UNQUOTED([LYX_GIT_COMMIT_HASH], "$lyxgitcommit", [Git commit]) AC_DEFINE_UNQUOTED([VERSION_INFO],"$VERSION_INFO",[Full version info]) AC_DEFINE_UNQUOTED([LYX_DIR_VER],"$lyx_dir_ver",[Versioned env var for system dir]) AC_DEFINE_UNQUOTED([LYX_USERDIR_VER],"$lyx_userdir_ver",[Versioned env var for user dir])