]> git.lyx.org Git - lyx.git/blob - development/cmake/config.h.cmake
Fix the tab ordering of GuiDocument components.
[lyx.git] / development / cmake / config.h.cmake
1 /*
2  * \file config.h
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * This is the compilation configuration file for LyX.
7  * It was generated by cmake.
8  * You might want to change some of the defaults if something goes wrong
9  * during the compilation.
10  */
11
12 #ifndef _CONFIG_H
13 #define _CONFIG_H
14
15 // obligatory flags
16 #define QT_NO_STL 1
17 #define QT_NO_KEYWORDS 1
18 #define HAVE_ICONV 1
19
20 #include "configCompiler.h"
21
22 #ifdef LYX_ENABLE_PCH
23 #include "pcheaders.h"
24 #endif
25
26
27 #cmakedefine PACKAGE "${PACKAGE}"
28 #cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
29 #define PACKAGE_STRING "LyX ${PACKAGE_VERSION}"
30 #cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
31 #cmakedefine LYX_DATE "${LYX_DATE}"
32 #cmakedefine VERSION_INFO "${VERSION_INFO}"
33 #cmakedefine LYX_DIR_VER "${LYX_DIR_VER}"
34 #cmakedefine LYX_USERDIR_VER "${LYX_USERDIR_VER}"
35 #define LYX_MAJOR_VERSION ${LYX_MAJOR_VERSION}
36 #define LYX_MINOR_VERSION ${LYX_MINOR_VERSION}
37
38 #define PROGRAM_SUFFIX "${PROGRAM_SUFFIX}"
39 #define LYX_ABS_INSTALLED_DATADIR "${LYX_ABS_INSTALLED_DATADIR}"
40 #define LYX_ABS_INSTALLED_LOCALEDIR "${LYX_ABS_INSTALLED_LOCALEDIR}"
41 #define LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}"
42
43 #cmakedefine USE_POSIX_PACKAGING 1
44 #cmakedefine USE_WINDOWS_PACKAGING 1
45 #cmakedefine USE_MACOSX_PACKAGING 1
46 #cmakedefine PATH_MAX ${PATH_MAX}
47
48 #cmakedefine WORDS_BIGENDIAN 1
49
50 #cmakedefine LYX_MERGE_FILES 1
51
52 #cmakedefine LYX_USE_TR1 1
53 #cmakedefine LYX_USE_TR1_REGEX 1
54
55 #cmakedefine ASPELL_FOUND 1
56 #ifdef ASPELL_FOUND
57 #define USE_ASPELL 1
58 #endif
59
60 #cmakedefine AIKSAURUSLIB_FOUND 1
61 #ifdef AIKSAURUSLIB_FOUND
62 #define HAVE_LIBAIKSAURUS 1
63 #define AIKSAURUS_H_LOCATION "${AIKSAURUSLIB_H}"
64 #endif
65
66 #cmakedefine ENCHANT_FOUND 1
67 #ifdef ENCHANT_FOUND
68 #define USE_ENCHANT 1
69 #endif
70
71 #cmakedefine HUNSPELL_FOUND 1
72 #ifdef HUNSPELL_FOUND
73 #define USE_HUNSPELL 1
74 #endif
75
76 #cmakedefine LYX_NLS 1
77 #ifdef LYX_NLS
78 #define ENABLE_NLS 1
79 // These are needed when building included gettext (taken from autoconf macro)
80 #cmakedefine LYX_EXTERNAL_LIBINTL 1
81 #if !defined(LYX_EXTERNAL_LIBINTL)
82 // this only makes sense when LYX_EXTERNAL_LIBINTL is OFF.
83 #define __libc_lock_t                   gl_lock_t
84 #define __libc_lock_define              gl_lock_define
85 #define __libc_lock_define_initialized  gl_lock_define_initialized
86 #define __libc_lock_init                gl_lock_init
87 #define __libc_lock_lock                gl_lock_lock
88 #define __libc_lock_unlock              gl_lock_unlock
89 #define __libc_lock_recursive_t                   gl_recursive_lock_t
90 #define __libc_lock_define_recursive              gl_recursive_lock_define
91 #define __libc_lock_define_initialized_recursive  gl_recursive_lock_define_initialized
92 #define __libc_lock_init_recursive                gl_recursive_lock_init
93 #define __libc_lock_lock_recursive                gl_recursive_lock_lock
94 #define __libc_lock_unlock_recursive              gl_recursive_lock_unlock
95 #define glthread_in_use  libintl_thread_in_use
96 #define glthread_lock_init     libintl_lock_init
97 #define glthread_lock_lock     libintl_lock_lock
98 #define glthread_lock_unlock   libintl_lock_unlock
99 #define glthread_lock_destroy  libintl_lock_destroy
100 #define glthread_rwlock_init     libintl_rwlock_init
101 #define glthread_rwlock_rdlock   libintl_rwlock_rdlock
102 #define glthread_rwlock_wrlock   libintl_rwlock_wrlock
103 #define glthread_rwlock_unlock   libintl_rwlock_unlock
104 #define glthread_rwlock_destroy  libintl_rwlock_destroy
105 #define glthread_recursive_lock_init     libintl_recursive_lock_init
106 #define glthread_recursive_lock_lock     libintl_recursive_lock_lock
107 #define glthread_recursive_lock_unlock   libintl_recursive_lock_unlock
108 #define glthread_recursive_lock_destroy  libintl_recursive_lock_destroy
109 #define glthread_once                 libintl_once
110 #define glthread_once_call            libintl_once_call
111 #define glthread_once_singlethreaded  libintl_once_singlethreaded
112 #define hash_string                     libintl_hash_string
113 #endif /* LYX_EXTERNAL_LIBINTL */
114 #endif
115
116
117 #endif // config.h guard
118
119
120
121 // Unguarded cleanup of global namespace:
122
123 #ifdef ColorMode
124 #undef ColorMode
125 #endif
126
127 #ifdef FocusOut
128 #undef FocusOut
129 #endif
130
131 #ifdef FocusIn
132 #undef FocusIn
133 #endif
134
135 #ifdef KeyRelease
136 #undef KeyRelease
137 #endif
138
139 #ifdef CursorShape
140 #undef CursorShape
141 #endif
142
143 #ifdef IGNORE
144 #undef IGNORE
145 #endif
146
147 #ifdef GrayScale
148 #undef GrayScale
149 #endif
150
151 #ifdef Status
152 #undef Status
153 #endif
154
155 #ifdef IN
156 #undef IN
157 #endif
158
159 #ifdef KeyPress
160 #undef KeyPress
161 #endif
162