]> git.lyx.org Git - lyx.git/blob - development/cmake/config.h.cmake
Add defines needed on cygwin
[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 autoconfs configure.
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
16 #cmakedefine HAVE_IO_H 1
17 #cmakedefine HAVE_LIMITS_H 1
18 #cmakedefine HAVE_LOCALE_H 1
19 #cmakedefine HAVE_PROCESS_H 1
20 #cmakedefine HAVE_STDLIB_H 1
21 #cmakedefine HAVE_SYS_STAT_H 1
22 #cmakedefine HAVE_SYS_TIME_H 1
23 #cmakedefine HAVE_SYS_TYPES_H 1
24 #cmakedefine HAVE_SYS_UTIME_H 1
25 #cmakedefine HAVE_SYS_SOCKET_H 1
26 #cmakedefine HAVE_UNISTD_H 1
27 #cmakedefine HAVE_INTTYPES_H 1
28 #cmakedefine HAVE_UTIME_H 1
29 #cmakedefine HAVE_STRING_H 1
30 #cmakedefine HAVE_STRINGS_H 1
31 #cmakedefine HAVE_ISTREAM 1
32 #cmakedefine HAVE_OSTREAM 1
33 #cmakedefine HAVE_IOS 1
34 #cmakedefine HAVE_LOCALE 1
35 #cmakedefine HAVE_OPEN 1
36 #cmakedefine HAVE_CLOSE 1
37 #cmakedefine HAVE_POPEN 1
38 #cmakedefine HAVE_PCLOSE 1
39 #cmakedefine HAVE__OPEN 1
40 #cmakedefine HAVE__CLOSE 1
41 #cmakedefine HAVE__POPEN 1
42 #cmakedefine HAVE__PCLOSE 1
43 #cmakedefine HAVE_GETPID 1
44 #cmakedefine HAVE__GETPID 1
45 #cmakedefine HAVE_MKDIR 1
46 #cmakedefine HAVE__MKDIR 1
47 #cmakedefine HAVE_PUTENV 1
48 #cmakedefine HAVE_MKTEMP 1
49 #cmakedefine HAVE_MKSTEMP 1
50 #cmakedefine HAVE_STRERROR 1
51 #cmakedefine HAVE_STD_COUNT 1
52 #cmakedefine HAVE_ASPRINTF 1
53 #cmakedefine HAVE_WPRINTF 1
54 #cmakedefine HAVE_SNPRINTF 1
55 #cmakedefine HAVE_POSIX_PRINTF 1
56 #cmakedefine HAVE_FCNTL 1
57 #cmakedefine HAVE_INTMAX_T 1
58 #cmakedefine HAVE_INTTYPES_H_WITH_UINTMAX 1
59 #cmakedefine HAVE_DECL_ISTREAMBUF_ITERATOR 1
60 #cmakedefine CXX_GLOBAL_CSTD 1
61 #cmakedefine HAVE_GETCWD 1
62 #cmakedefine HAVE_STPCPY 1
63 #cmakedefine HAVE_STRCASECMP 1
64 #cmakedefine HAVE_STRDUP 1
65 #cmakedefine HAVE_STRTOUL 1
66 #cmakedefine HAVE___FSETLOCKING 1
67 #cmakedefine HAVE_MEMPCPY 1
68 #cmakedefine HAVE___ARGZ_COUNT 1
69 #cmakedefine HAVE___ARGZ_NEXT 1
70 #cmakedefine HAVE___ARGZ_STRINGIFY 1
71 #cmakedefine HAVE_SETLOCALE 1
72 #cmakedefine HAVE_TSEARCH 1
73 #cmakedefine HAVE_GETEGID 1
74 #cmakedefine HAVE_GETGID 1
75 #cmakedefine HAVE_GETUID 1
76 #cmakedefine HAVE_WCSLEN 1
77 #cmakedefine HAVE_WPRINTF 1
78 #cmakedefine HAVE_LONG_DOUBLE 1
79 #cmakedefine HAVE_LONG_LONG 1
80 #cmakedefine HAVE_WCHAR_T 1
81 #cmakedefine HAVE_WINT_T 1
82 #cmakedefine HAVE_STDINT_H_WITH_UINTMAX 1
83 #cmakedefine HAVE_LC_MESSAGES 1    
84 #cmakedefine HAVE_SSTREAM 1
85 #cmakedefine HAVE_ARGZ_H 1
86
87 #cmakedefine HAVE_ALLOCA 1
88 #cmakedefine HAVE_SYMBOL_ALLOCA 1
89 #if defined(HAVE_SYMBOL_ALLOCA) && !defined(HAVE_ALLOCA)
90 #define HAVE_ALLOCA
91 #endif
92
93 #cmakedefine HAVE_ASPELL_ASPELL_H 1
94 #cmakedefine HAVE_ASPELL_H 1
95
96 #cmakedefine HAVE_ICONV_CONST 1
97 #ifdef HAVE_ICONV_CONST
98 #define ICONV_CONST const
99 #else
100 #define ICONV_CONST
101 #endif
102
103 #cmakedefine PACKAGE "${PACKAGE}"
104 #cmakedefine PACKAGE_VERSION ${PACKAGE_VERSION}
105
106 #cmakedefine USE_POSIX_PACKAGING 1
107 #cmakedefine USE_WINDOWS_PACKAGING 1
108 #cmakedefine PATH_MAX ${PATH_MAX}
109
110 #ifdef _MSC_VER
111 #undef HAVE_OPEN  // use _open instead
112 #define pid_t int
113 #define PATH_MAX 512
114 #endif
115
116 #ifdef _WIN32 
117 #undef HAVE_MKDIR // use _mkdir instead
118 #endif
119
120 #define BOOST_ALL_NO_LIB 1
121
122 #if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
123 #  define USE_BOOST_FORMAT 1
124 #else
125 #  define USE_BOOST_FORMAT 0
126 #endif
127
128
129 #if !defined(ENABLE_ASSERTIONS)
130 #  define BOOST_DISABLE_ASSERTS 1
131 #endif
132 #define BOOST_ENABLE_ASSERT_HANDLER 1
133
134 #define BOOST_DISABLE_THREADS 1
135 #define BOOST_NO_WSTRING 1
136
137 #ifdef __CYGWIN__
138 #  define BOOST_POSIX 1
139 #  define BOOST_POSIX_API 1
140 #  define BOOST_POSIX_PATH 1
141 #endif
142
143 #if defined(HAVE_NEWAPIS_H)
144 #  define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
145 #endif
146
147 #if defined(MAKE_INTL_LIB) && defined(_MSC_VER)
148 #define __attribute__(x)
149 #define inline
150 #define uintmax_t UINT_MAX
151 #endif
152
153
154
155
156 #endif