]> git.lyx.org Git - lyx.git/blob - development/cmake/config.h.cmake
TR1: move TR1 check to config.h / buildsystem
[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 #cmakedefine WORDS_BIGENDIAN 1
22
23 #cmakedefine HAVE_ASPELL_ASPELL_H 1
24 #cmakedefine HAVE_ASPELL_H 1
25
26 #cmakedefine PACKAGE "${PACKAGE}"
27 #cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
28 #define PACKAGE_STRING "LyX ${PACKAGE_VERSION}"
29 #cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
30 #cmakedefine LYX_DATE "${LYX_DATE}"
31 #cmakedefine VERSION_INFO "${VERSION_INFO}"
32 #cmakedefine LYX_DIR_VER "${LYX_DIR_VER}"
33 #cmakedefine LYX_USERDIR_VER "${LYX_USERDIR_VER}"
34
35 #define PROGRAM_SUFFIX "${PROGRAM_SUFFIX}"
36 #define LYX_ABS_INSTALLED_DATADIR "${LYX_ABS_INSTALLED_DATADIR}"
37 #define LYX_ABS_INSTALLED_LOCALEDIR "${LYX_ABS_INSTALLED_LOCALEDIR}"
38 #define LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}"
39
40 #cmakedefine USE_POSIX_PACKAGING 1
41 #cmakedefine USE_WINDOWS_PACKAGING 1
42 #cmakedefine USE_MACOSX_PACKAGING 1
43 #cmakedefine PATH_MAX ${PATH_MAX}
44
45 #cmakedefine LYX_USE_TR1 1
46 #cmakedefine LYX_USE_TR1_REGEX 1
47
48
49 #endif
50
51
52 // cleanup global namespace
53 #ifdef ColorMode
54 #undef ColorMode
55 #endif
56
57 #ifdef FocusOut
58 #undef FocusOut
59 #endif
60
61 #ifdef FocusIn
62 #undef FocusIn
63 #endif
64
65 #ifdef KeyRelease
66 #undef KeyRelease
67 #endif
68
69 #ifdef CursorShape
70 #undef CursorShape
71 #endif
72
73 #ifdef IGNORE
74 #undef IGNORE
75 #endif
76
77 #ifdef GrayScale
78 #undef GrayScale
79 #endif
80
81 #ifdef Status
82 #undef Status
83 #endif
84
85 #ifdef IN
86 #undef IN
87 #endif
88
89