X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fcmake%2Fconfig.h.cmake;h=ab95cfa4fb41b4236c70f459760d7df4458c2b29;hb=7796ad3a3686694733b936076a3086f8d275f64b;hp=43618ac6f10e7384033d55d7ffae9f3e6eab5401;hpb=4738ba0f1a21448c6d410a9e046a41ee531f2bdb;p=lyx.git diff --git a/development/cmake/config.h.cmake b/development/cmake/config.h.cmake index 43618ac6f1..ab95cfa4fb 100644 --- a/development/cmake/config.h.cmake +++ b/development/cmake/config.h.cmake @@ -57,12 +57,18 @@ #cmakedefine LYX_USE_TR1 1 #cmakedefine LYX_USE_TR1_REGEX 1 +// Define if callstack can be printed +#cmakedefine LYX_CALLSTACK_PRINTING 1 + +// Define if std::string uses copy-on-write +#cmakedefine STD_STRING_USES_COW 1 + +// use libc++ provided by llvm instead of GNU libstdc++ +#cmakedefine USE_LLVM_LIBCPP 1 + #cmakedefine Z_PREFIX 1 -#cmakedefine ASPELL_FOUND 1 -#ifdef ASPELL_FOUND -#define USE_ASPELL 1 -#endif +${Include_used_spellchecker} #cmakedefine AIKSAURUSLIB_FOUND 1 #ifdef AIKSAURUSLIB_FOUND @@ -70,54 +76,9 @@ #define AIKSAURUS_H_LOCATION "${AIKSAURUSLIB_H}" #endif -#cmakedefine ENCHANT_FOUND 1 -#ifdef ENCHANT_FOUND -#define USE_ENCHANT 1 -#endif - -#cmakedefine HUNSPELL_FOUND 1 -#ifdef HUNSPELL_FOUND -#define USE_HUNSPELL 1 -#endif - #cmakedefine LYX_NLS 1 #ifdef LYX_NLS #define ENABLE_NLS 1 -// These are needed when building included gettext (taken from autoconf macro) -#cmakedefine LYX_EXTERNAL_LIBINTL 1 -#if !defined(LYX_EXTERNAL_LIBINTL) -// this only makes sense when LYX_EXTERNAL_LIBINTL is OFF. -#define __libc_lock_t gl_lock_t -#define __libc_lock_define gl_lock_define -#define __libc_lock_define_initialized gl_lock_define_initialized -#define __libc_lock_init gl_lock_init -#define __libc_lock_lock gl_lock_lock -#define __libc_lock_unlock gl_lock_unlock -#define __libc_lock_recursive_t gl_recursive_lock_t -#define __libc_lock_define_recursive gl_recursive_lock_define -#define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized -#define __libc_lock_init_recursive gl_recursive_lock_init -#define __libc_lock_lock_recursive gl_recursive_lock_lock -#define __libc_lock_unlock_recursive gl_recursive_lock_unlock -#define glthread_in_use libintl_thread_in_use -#define glthread_lock_init libintl_lock_init -#define glthread_lock_lock libintl_lock_lock -#define glthread_lock_unlock libintl_lock_unlock -#define glthread_lock_destroy libintl_lock_destroy -#define glthread_rwlock_init libintl_rwlock_init -#define glthread_rwlock_rdlock libintl_rwlock_rdlock -#define glthread_rwlock_wrlock libintl_rwlock_wrlock -#define glthread_rwlock_unlock libintl_rwlock_unlock -#define glthread_rwlock_destroy libintl_rwlock_destroy -#define glthread_recursive_lock_init libintl_recursive_lock_init -#define glthread_recursive_lock_lock libintl_recursive_lock_lock -#define glthread_recursive_lock_unlock libintl_recursive_lock_unlock -#define glthread_recursive_lock_destroy libintl_recursive_lock_destroy -#define glthread_once libintl_once -#define glthread_once_call libintl_once_call -#define glthread_once_singlethreaded libintl_once_singlethreaded -#define hash_string libintl_hash_string -#endif /* LYX_EXTERNAL_LIBINTL */ #endif