2 * \file configCompiler.h
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
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.
12 #ifndef _CONFIG_COMPILER_H
13 #define _CONFIG_COMPILER_H
16 #cmakedefine HAVE_LIMITS_H 1
17 #cmakedefine HAVE_LOCALE_H 1
18 #cmakedefine HAVE_STDLIB_H 1
19 #cmakedefine HAVE_SYS_STAT_H 1
20 #cmakedefine HAVE_SYS_TIME_H 1
21 #cmakedefine HAVE_SYS_TYPES_H 1
22 #cmakedefine HAVE_SYS_UTIME_H 1
23 #cmakedefine HAVE_SYS_SOCKET_H 1
24 #cmakedefine HAVE_UNISTD_H 1
25 #cmakedefine HAVE_INTTYPES_H 1
26 #cmakedefine HAVE_UTIME_H 1
27 #cmakedefine HAVE_STRING_H 1
28 #cmakedefine HAVE_ISTREAM 1
29 #cmakedefine HAVE_OSTREAM 1
30 #cmakedefine HAVE_IOS 1
31 #cmakedefine HAVE_LOCALE 1
33 #include "configFunctions.h"
35 #cmakedefine HAVE_STD_COUNT 1
36 #cmakedefine HAVE_ASPRINTF 1
37 #cmakedefine HAVE_WPRINTF 1
38 #cmakedefine HAVE_SNPRINTF 1
39 #cmakedefine HAVE_POSIX_PRINTF 1
40 #cmakedefine HAVE_INTMAX_T 1
41 #cmakedefine HAVE_INTTYPES_H_WITH_UINTMAX 1
42 #cmakedefine CXX_GLOBAL_CSTD 1
43 #cmakedefine HAVE_WPRINTF 1
44 #cmakedefine HAVE_LONG_DOUBLE 1
45 #cmakedefine HAVE_LONG_LONG 1
46 #cmakedefine HAVE_WCHAR_T 1
47 #cmakedefine HAVE_WINT_T 1
48 #cmakedefine HAVE_STDINT_H_WITH_UINTMAX 1
49 #cmakedefine HAVE_LC_MESSAGES 1
50 #cmakedefine HAVE_SSTREAM 1
51 #cmakedefine HAVE_ARGZ_H 1
52 #cmakedefine HAVE_MAGIC_H 1
53 #cmakedefine SIZEOF_WCHAR_T_IS_2 1
54 #cmakedefine SIZEOF_WCHAR_T_IS_4 1
56 #ifdef SIZEOF_WCHAR_T_IS_2
57 # define SIZEOF_WCHAR_T 2
59 # ifdef SIZEOF_WCHAR_T_IS_4
60 # define SIZEOF_WCHAR_T 4
64 #cmakedefine GETTEXT_FOUND 1
66 #cmakedefine HAVE_ALLOCA 1
67 #cmakedefine HAVE_SYMBOL_ALLOCA 1
68 #if defined(HAVE_SYMBOL_ALLOCA) && !defined(HAVE_ALLOCA)
72 #cmakedefine HAVE_ICONV_CONST 1
73 #ifdef HAVE_ICONV_CONST
74 #define ICONV_CONST const
80 #undef HAVE_OPEN // use _open instead
86 #undef HAVE_MKDIR // use _mkdir instead
89 #define BOOST_ALL_NO_LIB 1
91 #if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
92 # define USE_BOOST_FORMAT 1
94 # define USE_BOOST_FORMAT 0
98 # define ENABLE_ASSERTIONS 1
101 #ifndef ENABLE_ASSERTIONS
102 # define BOOST_DISABLE_ASSERTS 1
104 #define BOOST_ENABLE_ASSERT_HANDLER 1
106 //#define BOOST_DISABLE_THREADS 1
107 #define BOOST_NO_WSTRING 1
110 # define BOOST_POSIX 1
111 # define BOOST_POSIX_API 1
112 # define BOOST_POSIX_PATH 1
116 * the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
117 * support compiled in:
118 * http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9
119 * And we are not interested at all what libc
120 * does: What we need is a 32bit wide wchar_t, and a libstdc++ that
121 * has the needed wchar_t support and uses UCS4. Whether it
122 * implements this with the help of libc, or whether it has own code
123 * does not matter for us, because we don't use libc directly (Georg)
125 #if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__)
129 #if defined(MAKE_INTL_LIB) && defined(_MSC_VER)
130 #define __attribute__(x)
132 #define uintmax_t UINT_MAX
145 #cmakedefine _GLIBCXX_DEBUG 1
146 #cmakedefine _GLIBCXX_DEBUG_PEDANTIC 1