Code

Cmake: Generate inkscape_version.h
[inkscape.git] / config.h.cmake
1 #ifndef _CONFIG_H_
2 #define _CONFIG_H_
4 //#define INKSCAPE_VERSION "${INKSCAPE_VERSION}"
6 /* Define WIN32 when on windows */
7 #ifndef WIN32
8 #cmakedefine WIN32
9 #endif
11 /* This is for require-config.h */
12 #define PACKAGE_TARNAME "${PROJECT_NAME} ${INKSCAPE_VERSION}"
14 /* Use binreloc thread support? */
15 #cmakedefine BR_PTHREADS 1
17 /* Use AutoPackage? */
18 #cmakedefine ENABLE_BINRELOC 1
20 /* Use LittleCms color management */
21 #cmakedefine ENABLE_LCMS 1
23 /* always defined to indicate that i18n is enabled */
24 #cmakedefine ENABLE_NLS 1
26 /* Build with OSX .app data dir paths? */
27 #cmakedefine ENABLE_OSX_APP_LOCATIONS 1
29 /* Translation domain used */
30 #define GETTEXT_PACKAGE "${PROJECT_NAME}"
32 /* Define to 1 if you have the `bind_textdomain_codeset' function. */
33 #cmakedefine HAVE_BIND_TEXTDOMAIN_CODESET 1
35 /* Define to 1 if you have the <boost/concept_check.hpp> header file. */
36 #cmakedefine HAVE_BOOST_CONCEPT_CHECK_HPP 1
38 /* Whether the Cairo PDF backend is available */
39 #cmakedefine HAVE_CAIRO_PDF 1
41 /* define to 1 if Carbon is available */
42 #cmakedefine HAVE_CARBON 1
44 /* Define to 1 if you have the `dcgettext' function. */
45 #cmakedefine HAVE_DCGETTEXT 1
47 /* Define to 1 if you have the `ecvt' function. */
48 #cmakedefine HAVE_ECVT 1
50 /* Define to 1 if you have the <fcntl.h> header file. */
51 #cmakedefine HAVE_FCNTL_H 1
53 /* Define to 1 if you have the `floor' function. */
54 #cmakedefine HAVE_FLOOR 1
56 /* Define to 1 if you have the `fpsetmask' function. */
57 #cmakedefine HAVE_FPSETMASK 1
59 /* Define to 1 if you have the <gc/gc.h> header file. */
60 #cmakedefine HAVE_GC_GC_H 1
62 /* Define to 1 if you have the <gc.h> header file. */
63 #cmakedefine HAVE_GC_H 1
65 /* Define if the GNU gettext() function is already present or preinstalled. */
66 #cmakedefine HAVE_GETTEXT 1
68 /* Define to 1 if you have the `gettimeofday' function. */
69 #cmakedefine HAVE_GETTIMEOFDAY 1
71 /* Define to 1 if you have the `gtk_window_fullscreen' function. */
72 #cmakedefine HAVE_GTK_WINDOW_FULLSCREEN 1
74 /* Define to 1 if you have the `gtk_window_set_default_icon_from_file'
75    function. */
76 #cmakedefine HAVE_GTK_WINDOW_SET_DEFAULT_ICON_FROM_FILE 1
78 /* Define to 1 if you have the <ieeefp.h> header file. */
79 #cmakedefine HAVE_IEEEFP_H 1
81 /* Define to 1 if you have the <inttypes.h> header file. */
82 #cmakedefine HAVE_INTTYPES_H 1
84 /* Define if your <locale.h> file defines LC_MESSAGES. */
85 #cmakedefine HAVE_LC_MESSAGES 1
87 /* Define to 1 if you have the <libintl.h> header file. */
88 #cmakedefine HAVE_LIBINTL_H 1
90 /* Define to 1 if you have the `m' library (-lm). */
91 #cmakedefine HAVE_LIBM 1
93 /* Define to 1 if you have the <locale.h> header file. */
94 #cmakedefine HAVE_LOCALE_H 1
96 /* Define to 1 if you have the `mallinfo' function. */
97 #cmakedefine HAVE_MALLINFO 1
99 /* Define to 1 if you have the <malloc.h> header file. */
100 #cmakedefine HAVE_MALLOC_H 1
102 /* Define to 1 if you have the `memmove' function. */
103 #cmakedefine HAVE_MEMMOVE 1
105 /* Define to 1 if you have the <memory.h> header file. */
106 #cmakedefine HAVE_MEMORY_H 1
108 /* Define to 1 if you have the `memset' function. */
109 #cmakedefine HAVE_MEMSET 1
111 /* Define to 1 if you have the `mkdir' function. */
112 #cmakedefine HAVE_MKDIR 1
114 /* Use libpoppler for direct PDF import */
115 #cmakedefine HAVE_POPPLER 1
117 /* Use libpoppler-cairo for rendering PDF preview */
118 #cmakedefine HAVE_POPPLER_CAIRO 1
120 /* Use libpoppler-glib and Cairo-SVG for PDF import */
121 #cmakedefine HAVE_POPPLER_GLIB 1
123 /* Define to 1 if you have the `pow' function. */
124 #cmakedefine HAVE_POW 1
126 /* Define to 1 if you have the `sqrt' function. */
127 #cmakedefine HAVE_SQRT 1
129 /* Define to 1 if `stat' has the bug that it succeeds when given the
130    zero-length file name argument. */
131 #cmakedefine HAVE_STAT_EMPTY_STRING_BUG 1
133 /* Define to 1 if you have the <stddef.h> header file. */
134 #cmakedefine HAVE_STDDEF_H 1
136 /* Define to 1 if you have the <stdint.h> header file. */
137 #cmakedefine HAVE_STDINT_H 1
139 /* Define to 1 if you have the <stdlib.h> header file. */
140 #cmakedefine HAVE_STDLIB_H 1
142 /* Define to 1 if you have the `strftime' function. */
143 #cmakedefine HAVE_STRFTIME 1
145 /* Define to 1 if you have the <strings.h> header file. */
146 #cmakedefine HAVE_STRINGS_H 1
148 /* Define to 1 if you have the <string.h> header file. */
149 #cmakedefine HAVE_STRING_H 1
151 /* Define to 1 if you have the `strncasecmp' function. */
152 #cmakedefine HAVE_STRNCASECMP 1
154 /* Define to 1 if you have the `strpbrk' function. */
155 #cmakedefine HAVE_STRPBRK 1
157 /* Define to 1 if you have the `strrchr' function. */
158 #cmakedefine HAVE_STRRCHR 1
160 /* Define to 1 if you have the `strspn' function. */
161 #cmakedefine HAVE_STRSPN 1
163 /* Define to 1 if you have the `strstr' function. */
164 #cmakedefine HAVE_STRSTR 1
166 /* Define to 1 if you have the `strtoul' function. */
167 #cmakedefine HAVE_STRTOUL 1
169 /* Define to 1 if `fordblks' is member of `struct mallinfo'. */
170 #cmakedefine HAVE_STRUCT_MALLINFO_FORDBLKS 1
172 /* Define to 1 if `fsmblks' is member of `struct mallinfo'. */
173 #cmakedefine HAVE_STRUCT_MALLINFO_FSMBLKS 1
175 /* Define to 1 if `hblkhd' is member of `struct mallinfo'. */
176 #cmakedefine HAVE_STRUCT_MALLINFO_HBLKHD 1
178 /* Define to 1 if `uordblks' is member of `struct mallinfo'. */
179 #cmakedefine HAVE_STRUCT_MALLINFO_UORDBLKS
181 /* Define to 1 if `usmblks' is member of `struct mallinfo'. */
182 #cmakedefine HAVE_STRUCT_MALLINFO_USMBLKS 1
184 /* Define to 1 if you have the <sys/filio.h> header file. */
185 #cmakedefine HAVE_SYS_FILIO_H 1
187 /* Define to 1 if you have the <sys/stat.h> header file. */
188 #cmakedefine HAVE_SYS_STAT_H 1
190 /* Define to 1 if you have the <sys/time.h> header file. */
191 #cmakedefine HAVE_SYS_TIME_H 1
193 /* Define to 1 if you have the <sys/types.h> header file. */
194 #cmakedefine HAVE_SYS_TYPES_H 1
196 /* Define to 1 if you have the <unistd.h> header file. */
197 #cmakedefine HAVE_UNISTD_H 1
199 /* Define to 1 if you have the <zlib.h> header file. */
200 #cmakedefine HAVE_ZLIB_H 1
202 /* Base data directory -- only path-prefix.h should use it! */
203 #cmakedefine INKSCAPE_DATADIR 
205 /* Base library directory -- only path-prefix.h should use it! */
206 #cmakedefine INKSCAPE_LIBDIR
208 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
209    slash. */
210 #cmakedefine LSTAT_FOLLOWS_SLASHED_SYMLINK 1
212 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
213 #cmakedefine NO_MINUS_C_MINUS_O 1
215 /* Name of package */
216 #define PACKAGE "${PROJECT_NAME}"
218 /* Define to the address where bug reports for this package should be sent. */
219 #cmakedefine PACKAGE_BUGREPORT ""
221 /* Localization directory */
222 #cmakedefine PACKAGE_LOCALE_DIR
224 /* Define to the full name of this package. */
225 #define PACKAGE_NAME "${PROJECT_NAME}"
227 /* Define to the full name and version of this package. */
228 #define PACKAGE_STRING "${PROJECT_NAME} ${INKSCAPE_VERSION}"
230 /* Define to the version of this package. */
231 #define PACKAGE_VERSION "${INKSCAPE_VERSION}"
233 /* Define as the return type of signal handlers (`int' or `void'). */
234 #cmakedefine RETSIGTYPE
236 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
237 #cmakedefine STAT_MACROS_BROKEN 1
239 /* Define to 1 if you have the ANSI C header files. */
240 #cmakedefine STDC_HEADERS 1
242 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
243 #cmakedefine TIME_WITH_SYS_TIME 1
245 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
246 #cmakedefine TM_IN_SYS_TIME 1
248 /* Use gnome vfs file load functionality */
249 #cmakedefine WITH_GNOME_VFS 1
251 /* enable gtk spelling widget */
252 #cmakedefine WITH_GTKSPELL 1
254 /* Image Magick++ support for bitmap effects */
255 #cmakedefine WITH_IMAGE_MAGICK 1
257 /* Build in Inkboard support */
258 #cmakedefine WITH_INKBOARD 1
260 /* Build in SSL support for Inkboard */
261 #cmakedefine WITH_INKBOARD_SSL 1
263 /* enable openoffice files (SVG jars) */
264 #cmakedefine WITH_INKJAR 1
266 /* Build in libwpg */
267 #cmakedefine WITH_LIBWPG 1
269 /* Use MMX optimizations, if CPU supports it */
270 #cmakedefine WITH_MMX 1
272 /* Use experimental module support */
273 #cmakedefine WITH_MODULES 1
275 /* use Perl for embedded scripting */
276 #cmakedefine WITH_PERL 1
278 /* use Python for embedded scripting */
279 #cmakedefine WITH_PYTHON 1
281 /* Use Xft font database */
282 #cmakedefine WITH_XFT 1
284 /* Define to 1 if your processor stores words with the most significant byte
285    first (like Motorola and SPARC, unlike Intel and VAX). */
286 #cmakedefine WORDS_BIGENDIAN 1
288 /* Define to `int' if <sys/types.h> does not define. */
289 #cmakedefine mode_t
292 #endif /* _CONFIG_H_ */