]> git.lyx.org Git - lyx.git/blob - development/cmake/config.h.cmake
cmake: split out FindHunspell.cmake
[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 #include "configCompiler.h"
16
17 #ifdef LYX_ENABLE_PCH
18 #include "pcheaders.h"
19 #endif
20
21
22 #cmakedefine PACKAGE "${PACKAGE}"
23 #cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
24 #define PACKAGE_STRING "LyX ${PACKAGE_VERSION}"
25 #cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
26 #cmakedefine LYX_DATE "${LYX_DATE}"
27 #cmakedefine VERSION_INFO "${VERSION_INFO}"
28 #cmakedefine LYX_DIR_VER "${LYX_DIR_VER}"
29 #cmakedefine LYX_USERDIR_VER "${LYX_USERDIR_VER}"
30
31 #define PROGRAM_SUFFIX "${PROGRAM_SUFFIX}"
32 #define LYX_ABS_INSTALLED_DATADIR "${LYX_ABS_INSTALLED_DATADIR}"
33 #define LYX_ABS_INSTALLED_LOCALEDIR "${LYX_ABS_INSTALLED_LOCALEDIR}"
34 #define LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}"
35
36 #cmakedefine USE_POSIX_PACKAGING 1
37 #cmakedefine USE_WINDOWS_PACKAGING 1
38 #cmakedefine USE_MACOSX_PACKAGING 1
39 #cmakedefine PATH_MAX ${PATH_MAX}
40
41 #cmakedefine WORDS_BIGENDIAN 1
42
43 #cmakedefine LYX_MERGE_FILES 1
44
45 #cmakedefine LYX_USE_TR1 1
46 #cmakedefine LYX_USE_TR1_REGEX 1
47
48 #cmakedefine ASPELL_FOUND 1
49 #ifdef ASPELL_FOUND
50 #define USE_ASPELL 1
51 #endif
52
53 #cmakedefine AIKSAURUSLIB_FOUND 1
54 #ifdef AIKSAURUSLIB_FOUND
55 #define HAVE_LIBAIKSAURUS 1
56 #define AIKSAURUS_H_LOCATION "${AIKSAURUSLIB_H}"
57 #endif
58
59 #cmakedefine ENCHANT_FOUND 1
60 #ifdef ENCHANT_FOUND
61 #define USE_ENCHANT 1
62 #endif
63
64 #cmakedefine HUNSPELL_FOUND 1
65 #ifdef HUNSPELL_FOUND
66 #define USE_HUNSPELL 1
67 #endif
68
69
70
71 #endif // config.h guard
72
73
74
75 // Unguarded cleanup of global namespace:
76
77 #ifdef ColorMode
78 #undef ColorMode
79 #endif
80
81 #ifdef FocusOut
82 #undef FocusOut
83 #endif
84
85 #ifdef FocusIn
86 #undef FocusIn
87 #endif
88
89 #ifdef KeyRelease
90 #undef KeyRelease
91 #endif
92
93 #ifdef CursorShape
94 #undef CursorShape
95 #endif
96
97 #ifdef IGNORE
98 #undef IGNORE
99 #endif
100
101 #ifdef GrayScale
102 #undef GrayScale
103 #endif
104
105 #ifdef Status
106 #undef Status
107 #endif
108
109 #ifdef IN
110 #undef IN
111 #endif
112
113 #ifdef KeyPress
114 #undef KeyPress
115 #endif
116