1 #ifndef _CONFIG_H_
2 #define _CONFIG_H_
4 /* Define WIN32 when on windows */
5 #ifndef WIN32
6 #cmakedefine WIN32
7 #endif
9 /* This is for require-config.h */
10 #define PACKAGE_TARNAME "${PROJECT_NAME} ${INKSCAPE_VERSION}"
12 /* Use binreloc thread support? */
13 #cmakedefine BR_PTHREADS 1
15 /* Use AutoPackage? */
16 #cmakedefine ENABLE_BINRELOC 1
18 /* Use LittleCms color management */
19 #cmakedefine ENABLE_LCMS 1
21 /* always defined to indicate that i18n is enabled */
22 #cmakedefine ENABLE_NLS 1
24 /* Build with OSX .app data dir paths? */
25 #cmakedefine ENABLE_OSX_APP_LOCATIONS 1
27 /* Translation domain used */
28 #define GETTEXT_PACKAGE "${PROJECT_NAME}"
30 /* Define to 1 if you have the `bind_textdomain_codeset' function. */
31 #cmakedefine HAVE_BIND_TEXTDOMAIN_CODESET 1
33 /* Define to 1 if you have the <concept_check.hpp> header file. */
34 #cmakedefine HAVE_BOOST_CONCEPT_CHECK_HPP 1
36 /* Whether the Cairo PDF backend is available */
37 #cmakedefine HAVE_CAIRO_PDF 1
38 #cmakedefine PANGO_ENABLE_ENGINE 1
39 #cmakedefine RENDER_WITH_PANGO_CAIRO 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 #cmakedefine HAVE_GETOPT_H 1
67 /* Define if the GNU gettext() function is already present or preinstalled. */
68 #cmakedefine HAVE_GETTEXT 1
70 /* Define to 1 if you have the `gettimeofday' function. */
71 #cmakedefine HAVE_GETTIMEOFDAY 1
73 /* Define to 1 if you have the `gtk_window_fullscreen' function. */
74 #cmakedefine HAVE_GTK_WINDOW_FULLSCREEN 1
76 /* Define to 1 if you have the `gtk_window_set_default_icon_from_file'
77 function. */
78 #cmakedefine HAVE_GTK_WINDOW_SET_DEFAULT_ICON_FROM_FILE 1
80 /* Define to 1 if you have the <ieeefp.h> header file. */
81 #cmakedefine HAVE_IEEEFP_H 1
83 /* Define to 1 if you have the <inttypes.h> header file. */
84 #cmakedefine HAVE_INTTYPES_H 1
86 /* Define if your <locale.h> file defines LC_MESSAGES. */
87 #cmakedefine HAVE_LC_MESSAGES 1
89 /* Define to 1 if you have the <libintl.h> header file. */
90 #cmakedefine HAVE_LIBINTL_H 1
92 /* Define to 1 if you have the `m' library (-lm). */
93 #cmakedefine HAVE_LIBM 1
95 /* Define to 1 if you have the <locale.h> header file. */
96 #cmakedefine HAVE_LOCALE_H 1
98 /* Define to 1 if you have the `mallinfo' function. */
99 #cmakedefine HAVE_MALLINFO 1
101 /* Define to 1 if you have the <malloc.h> header file. */
102 #cmakedefine HAVE_MALLOC_H 1
104 /* Define to 1 if you have the `memmove' function. */
105 #cmakedefine HAVE_MEMMOVE 1
107 /* Define to 1 if you have the <memory.h> header file. */
108 #cmakedefine HAVE_MEMORY_H 1
110 /* Define to 1 if you have the `memset' function. */
111 #cmakedefine HAVE_MEMSET 1
113 /* Define to 1 if you have the `mkdir' function. */
114 #cmakedefine HAVE_MKDIR 1
116 /* Use libpoppler for direct PDF import */
117 #cmakedefine HAVE_POPPLER 1
119 /* Use libpoppler-cairo for rendering PDF preview */
120 #cmakedefine HAVE_POPPLER_CAIRO 1
122 /* Use libpoppler-glib and Cairo-SVG for PDF import */
123 #cmakedefine HAVE_POPPLER_GLIB 1
125 /* Define to 1 if you have the `pow' function. */
126 #cmakedefine HAVE_POW 1
128 /* Define to 1 if you have the `sqrt' function. */
129 #cmakedefine HAVE_SQRT 1
131 /* Define to 1 if `stat' has the bug that it succeeds when given the
132 zero-length file name argument. */
133 #cmakedefine HAVE_STAT_EMPTY_STRING_BUG 1
135 /* Define to 1 if you have the <stddef.h> header file. */
136 #cmakedefine HAVE_STDDEF_H 1
138 /* Define to 1 if you have the <stdint.h> header file. */
139 #cmakedefine HAVE_STDINT_H 1
141 /* Define to 1 if you have the <stdlib.h> header file. */
142 #cmakedefine HAVE_STDLIB_H 1
144 /* Define to 1 if you have the `strftime' function. */
145 #cmakedefine HAVE_STRFTIME 1
147 /* Define to 1 if you have the <strings.h> header file. */
148 #cmakedefine HAVE_STRINGS_H 1
150 /* Define to 1 if you have the <string.h> header file. */
151 #cmakedefine HAVE_STRING_H 1
153 /* Define to 1 if you have the `strncasecmp' function. */
154 #cmakedefine HAVE_STRNCASECMP 1
156 /* Define to 1 if you have the `strpbrk' function. */
157 #cmakedefine HAVE_STRPBRK 1
159 /* Define to 1 if you have the `strrchr' function. */
160 #cmakedefine HAVE_STRRCHR 1
162 /* Define to 1 if you have the `strspn' function. */
163 #cmakedefine HAVE_STRSPN 1
165 /* Define to 1 if you have the `strstr' function. */
166 #cmakedefine HAVE_STRSTR 1
168 /* Define to 1 if you have the `strtoul' function. */
169 #cmakedefine HAVE_STRTOUL 1
171 /* Define to 1 if `fordblks' is member of `struct mallinfo'. */
172 #cmakedefine HAVE_STRUCT_MALLINFO_FORDBLKS 1
174 /* Define to 1 if `fsmblks' is member of `struct mallinfo'. */
175 #cmakedefine HAVE_STRUCT_MALLINFO_FSMBLKS 1
177 /* Define to 1 if `hblkhd' is member of `struct mallinfo'. */
178 #cmakedefine HAVE_STRUCT_MALLINFO_HBLKHD 1
180 /* Define to 1 if `uordblks' is member of `struct mallinfo'. */
181 #cmakedefine HAVE_STRUCT_MALLINFO_UORDBLKS
183 /* Define to 1 if `usmblks' is member of `struct mallinfo'. */
184 #cmakedefine HAVE_STRUCT_MALLINFO_USMBLKS 1
186 /* Define to 1 if you have the <sys/filio.h> header file. */
187 #cmakedefine HAVE_SYS_FILIO_H 1
189 /* Define to 1 if you have the <sys/stat.h> header file. */
190 #cmakedefine HAVE_SYS_STAT_H 1
192 /* Define to 1 if you have the <sys/time.h> header file. */
193 #cmakedefine HAVE_SYS_TIME_H 1
195 /* Define to 1 if you have the <sys/types.h> header file. */
196 #cmakedefine HAVE_SYS_TYPES_H 1
198 /* Define to 1 if you have the <unistd.h> header file. */
199 #cmakedefine HAVE_UNISTD_H 1
201 /* Define to 1 if you have the <zlib.h> header file. */
202 #cmakedefine HAVE_ZLIB_H 1
204 /* Base data directory -- only path-prefix.h should use it! */
205 #define INKSCAPE_DATADIR "${CMAKE_INSTALL_PREFIX}/share"
207 /* Base library directory -- only path-prefix.h should use it! */
208 #define INKSCAPE_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib"
210 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
211 slash. */
212 #cmakedefine LSTAT_FOLLOWS_SLASHED_SYMLINK 1
214 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
215 #cmakedefine NO_MINUS_C_MINUS_O 1
217 /* Name of package */
218 #define PACKAGE "${PROJECT_NAME}"
220 /* Define to the address where bug reports for this package should be sent. */
221 #cmakedefine PACKAGE_BUGREPORT ""
223 /* Localization directory */
224 #define PACKAGE_LOCALE_DIR "${PACKAGE_LOCALE_DIR}"
226 /* Define to the full name of this package. */
227 #define PACKAGE_NAME "${PROJECT_NAME}"
229 /* Define to the full name and version of this package. */
230 #define PACKAGE_STRING "${PROJECT_NAME} ${INKSCAPE_VERSION}"
232 /* Define to the version of this package. */
233 #define PACKAGE_VERSION "${INKSCAPE_VERSION}"
235 /* Define as the return type of signal handlers (`int' or `void'). */
236 #cmakedefine RETSIGTYPE
238 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
239 #cmakedefine STAT_MACROS_BROKEN 1
241 /* Define to 1 if you have the ANSI C header files. */
242 #cmakedefine STDC_HEADERS 1
244 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
245 #cmakedefine TIME_WITH_SYS_TIME 1
247 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
248 #cmakedefine TM_IN_SYS_TIME 1
250 /* Use gnome vfs file load functionality */
251 #cmakedefine WITH_GNOME_VFS 1
253 /* enable gtk spelling widget */
254 #cmakedefine WITH_GTKSPELL 1
256 /* Image Magick++ support for bitmap effects */
257 #cmakedefine WITH_IMAGE_MAGICK 1
259 /* Build in Inkboard support */
260 #cmakedefine WITH_INKBOARD 1
262 /* Build in SSL support for Inkboard */
263 #cmakedefine WITH_INKBOARD_SSL 1
265 /* enable openoffice files (SVG jars) */
266 #cmakedefine WITH_INKJAR 1
268 /* Build in libwpg */
269 #cmakedefine WITH_LIBWPG 1
271 /* Use MMX optimizations, if CPU supports it */
272 #cmakedefine WITH_MMX 1
274 /* Use experimental module support */
275 #cmakedefine WITH_MODULES 1
277 /* use Perl for embedded scripting */
278 #cmakedefine WITH_PERL 1
280 /* use Python for embedded scripting */
281 #cmakedefine WITH_PYTHON 1
283 /* Use Xft font database */
284 #cmakedefine WITH_XFT 1
286 /* Define to 1 if your processor stores words with the most significant byte
287 first (like Motorola and SPARC, unlike Intel and VAX). */
288 #cmakedefine WORDS_BIGENDIAN 1
290 /* Do we want experimental, unsupported, unguaranteed, etc., LivePathEffects enabled? */
291 #cmakedefine LPE_ENABLE_TEST_EFFECTS 1
293 /* Define to `int' if <sys/types.h> does not define. */
294 #cmakedefine mode_t
297 #endif /* _CONFIG_H_ */