1 /* src/raptor_config.h.in. Generated from configure.ac by autoheader. */
3 /* Define if building universal (internal helper macro) */
4 #undef AC_APPLE_UNIVERSAL_BUILD
6 /* have to check C99 vsnprintf at runtime because cross compiling */
7 #undef CHECK_VSNPRINTF_RUNTIME
9 /* vsnprintf has C99 compatible return value */
10 #undef HAVE_C99_VSNPRINTF
12 /* Have curl/curl.h */
13 #undef HAVE_CURL_CURL_H
15 /* Define to 1 if you have the <dlfcn.h> header file. */
18 /* Define to 1 if you have the <errno.h> header file. */
19 #define HAVE_ERRNO_H 1
21 /* Define to 1 if you have the <fcntl.h> header file. */
24 /* Define to 1 if you have the <fetch.h> header file. */
27 /* Define to 1 if you have the `getopt' function. */
30 /* Define to 1 if you have the <getopt.h> header file. */
33 /* Define to 1 if you have the `getopt_long' function. */
34 #undef HAVE_GETOPT_LONG
36 /* Define to 1 if you have the `gettimeofday' function. */
37 #undef HAVE_GETTIMEOFDAY
39 /* INN parsedate function present */
40 #undef HAVE_INN_PARSEDATE
42 /* Define to 1 if you have the <inttypes.h> header file. */
43 #undef HAVE_INTTYPES_H
45 /* Define to 1 if you have the `isascii' function. */
48 /* Define to 1 if you have the <libxml/hash.h> header file. */
49 #define HAVE_LIBXML_HASH_H 1
51 /* Define to 1 if you have the <libxml/HTMLparser.h> header file. */
52 #define HAVE_LIBXML_HTMLPARSER_H 1
54 /* Define to 1 if you have the <libxml/nanohttp.h> header file. */
55 #define HAVE_LIBXML_NANOHTTP_H 1
57 /* Define to 1 if you have the <libxml/parser.h> header file. */
58 #define HAVE_LIBXML_PARSER_H 1
60 /* Define to 1 if you have the <libxml/SAX2.h> header file. */
61 #define HAVE_LIBXML_SAX2_H 1
63 /* Define to 1 if you have the <libxslt/xslt.h> header file. */
64 #define HAVE_LIBXSLT_XSLT_H 1
66 /* Define to 1 if you have the <limits.h> header file. */
67 #define HAVE_LIMITS_H 1
69 /* Define to 1 if you have the <math.h> header file. */
72 /* Define to 1 if you have the <memory.h> header file. */
75 /* Define to 1 if you have the `qsort_r' function. */
78 /* Define to 1 if you have the `qsort_s' function. */
79 /* note: MSVC has qsort_s but the sort_r.h code uses advanced features like
80 * "inline" that MSVC 2013 doesn't understand; fortunately there's another
81 * level of fallback... */
84 /* Raptor raptor_parse_date available */
85 #undef HAVE_RAPTOR_PARSE_DATE
87 /* Define to 1 if you have the `setjmp' function. */
90 /* Define to 1 if you have the <setjmp.h> header file. */
93 /* Define to 1 if you have the `stat' function. */
96 /* Define to 1 if you have the <stddef.h> header file. */
97 #define HAVE_STDDEF_H 1
99 /* Define to 1 if you have the <stdint.h> header file. */
102 /* Define to 1 if you have the <stdlib.h> header file. */
103 #define HAVE_STDLIB_H 1
105 /* Define to 1 if you have the `strcasecmp' function. */
106 #undef HAVE_STRCASECMP
108 /* Define to 1 if you have the `stricmp' function. */
109 #define HAVE_STRICMP 1
111 /* Define to 1 if you have the <strings.h> header file. */
112 #undef HAVE_STRINGS_H
114 /* Define to 1 if you have the <string.h> header file. */
115 #define HAVE_STRING_H 1
117 /* Define to 1 if you have the `strtok_r' function. */
120 /* Define to 1 if you have the <sys/param.h> header file. */
121 #undef HAVE_SYS_PARAM_H
123 /* Define to 1 if you have the <sys/stat.h> header file. */
124 #undef HAVE_SYS_STAT_H
126 /* Define to 1 if you have the <sys/time.h> header file. */
127 #undef HAVE_SYS_TIME_H
129 /* Define to 1 if you have the <sys/types.h> header file. */
130 #undef HAVE_SYS_TYPES_H
132 /* Define to 1 if you have the <unistd.h> header file. */
135 /* Define to 1 if you have the `vasprintf' function. */
136 #undef HAVE_VASPRINTF
138 /* Define to 1 if you have the `vsnprintf' function. */
139 #define HAVE_VSNPRINTF 1
141 /* Flex version as a decimal */
142 #define FLEX_VERSION_DECIMAL 20539
144 /* Define to 1 if you have the `xmlCtxtUseOptions' function. */
145 #define HAVE_XMLCTXTUSEOPTIONS 1
147 /* Define to 1 if you have the `xmlSAX2InternalSubset' function. */
148 #define HAVE_XMLSAX2INTERNALSUBSET 1
150 /* YAJL has API version 2 */
153 /* Define to 1 if you have the <yajl/yajl_parse.h> header file. */
154 #undef HAVE_YAJL_YAJL_PARSE_H
156 /* Is __FUNCTION__ available */
157 #define HAVE___FUNCTION__ 1
159 /* Define to the sub-directory in which libtool stores uninstalled libraries.
163 /* Define to 1 if maintainer mode is enabled. */
164 #undef MAINTAINER_MODE
166 /* need 'extern int optind' declaration? */
167 #undef NEED_OPTIND_DECLARATION
169 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
170 #undef NO_MINUS_C_MINUS_O
172 /* Name of package */
175 /* Define to the address where bug reports for this package should be sent. */
176 #undef PACKAGE_BUGREPORT
178 /* Define to the full name of this package. */
181 /* Define to the full name and version of this package. */
182 #undef PACKAGE_STRING
184 /* Define to the one symbol short name of this package. */
185 #undef PACKAGE_TARNAME
187 /* Define to the home page for this package. */
190 /* Define to the version of this package. */
191 #undef PACKAGE_VERSION
193 /* Define to 1 if debug messages are enabled. */
196 /* Use ICU for Unicode NFC check */
197 #undef RAPTOR_ICU_NFC
199 /* does libxml struct xmlEntity have a field etype */
200 #define RAPTOR_LIBXML_ENTITY_ETYPE 1
202 /* does libxml struct xmlEntity have a field name_length */
203 #undef RAPTOR_LIBXML_ENTITY_NAME_LENGTH
205 /* does libxml have HTML_PARSE_NONET */
206 #define RAPTOR_LIBXML_HTML_PARSE_NONET 1
208 /* does libxml xmlSAXHandler have externalSubset field */
209 #define RAPTOR_LIBXML_XMLSAXHANDLER_EXTERNALSUBSET 1
211 /* does libxml xmlSAXHandler have initialized field */
212 #define RAPTOR_LIBXML_XMLSAXHANDLER_INITIALIZED 1
214 /* does libxml have XML_PARSE_NONET */
215 #define RAPTOR_LIBXML_XML_PARSE_NONET 1
217 /* Minimum supported package version */
218 #define RAPTOR_MIN_VERSION_DECIMAL 20000
220 /* Building GRDDL parser */
221 #undef RAPTOR_PARSER_GRDDL
223 /* Building guess parser */
224 #undef RAPTOR_PARSER_GUESS
226 /* Building JSON parser */
227 #undef RAPTOR_PARSER_JSON
229 /* Building N-Quads parser */
230 #undef RAPTOR_PARSER_NQUADS
232 /* Building N-Triples parser */
233 #define RAPTOR_PARSER_NTRIPLES 1
235 /* Building RDFA parser */
236 #undef RAPTOR_PARSER_RDFA
238 /* Building RDF/XML parser */
239 #define RAPTOR_PARSER_RDFXML 1
241 /* Building RSS Tag Soup parser */
242 #undef RAPTOR_PARSER_RSS
244 /* Building TRiG parser */
245 #undef RAPTOR_PARSER_TRIG
247 /* Building Turtle parser */
248 #undef RAPTOR_PARSER_TURTLE
250 /* Building Atom 1.0 serializer */
251 #undef RAPTOR_SERIALIZER_ATOM
253 /* Building GraphViz DOT serializer */
254 #undef RAPTOR_SERIALIZER_DOT
256 /* Building HTML Table serializer */
257 #undef RAPTOR_SERIALIZER_HTML
259 /* Building JSON serializer */
260 #undef RAPTOR_SERIALIZER_JSON
262 /* Building N-Quads serializer */
263 #undef RAPTOR_SERIALIZER_NQUADS
265 /* Building N-Triples serializer */
266 #define RAPTOR_SERIALIZER_NTRIPLES 1
268 /* Building RDF/XML serializer */
269 #define RAPTOR_SERIALIZER_RDFXML 1
271 /* Building RDF/XML-abbreviated serializer */
272 #define RAPTOR_SERIALIZER_RDFXML_ABBREV 1
274 /* Building RSS 1.0 serializer */
275 #undef RAPTOR_SERIALIZER_RSS_1_0
277 /* Building Turtle serializer */
278 #undef RAPTOR_SERIALIZER_TURTLE
280 /* Release version as a decimal */
281 #define RAPTOR_VERSION_DECIMAL 20015
283 /* Major version number */
284 #define RAPTOR_VERSION_MAJOR 2
286 /* Minor version number */
287 #define RAPTOR_VERSION_MINOR 0
289 /* Release version number */
290 #define RAPTOR_VERSION_RELEASE 15
292 /* Have libcurl WWW library */
293 #undef RAPTOR_WWW_LIBCURL
295 /* Have libfetch WWW library */
296 #undef RAPTOR_WWW_LIBFETCH
298 /* Have libxml available as a WWW library */
299 #undef RAPTOR_WWW_LIBXML
302 #define RAPTOR_WWW_NONE
304 /* Check XML 1.1 Names */
305 #undef RAPTOR_XML_1_1
307 /* Use libxml XML parser */
308 #define RAPTOR_XML_LIBXML 1
310 /* Define to 1 if you have the ANSI C header files. */
313 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
314 #undef TIME_WITH_SYS_TIME
316 /* Version number of package */
317 #define VERSION "2.0.15"
319 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
320 significant byte first (like Motorola and SPARC, unlike Intel). */
321 #if defined AC_APPLE_UNIVERSAL_BUILD
322 # if defined __BIG_ENDIAN__
323 # define WORDS_BIGENDIAN 1
326 # ifndef WORDS_BIGENDIAN
327 # undef WORDS_BIGENDIAN
331 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
333 #undef YYTEXT_POINTER
335 /* Enable large inode numbers on Mac OS X 10.5. */
336 #ifndef _DARWIN_USE_64_BIT_INODE
337 # define _DARWIN_USE_64_BIT_INODE 1
340 /* Number of bits in a file offset, on hosts where this is settable. */
341 #undef _FILE_OFFSET_BITS
343 /* Define for large files, on AIX-style hosts. */
346 /* Define to empty if `const' does not conform to ANSI C. */
349 /* Define to `__inline__' or `__inline' if that's what the C compiler
350 calls it, or to nothing if 'inline' is not supported under any name. */
355 // from raptor_config_cmake.h.in ////////////////////////////////////////////
358 # define WIN32_LEAN_AND_MEAN
359 # ifndef _CRT_NONSTDC_NO_DEPRECATE
360 # define _CRT_NONSTDC_NO_DEPRECATE
362 # ifndef _CRT_SECURE_NO_DEPRECATE
363 # define _CRT_SECURE_NO_DEPRECATE
367 # define __func__ __FUNCTION__
370 # define RAPTOR_INLINE __inline
372 # define S_ISTYPE(mode, mask) (((mode) & _S_IFMT) == (mask))
373 # define S_ISDIR(mode) S_ISTYPE((mode), _S_IFDIR)
374 # define S_ISREG(mode) S_ISTYPE((mode), _S_IFREG)
376 /* Mode bits for access() */
380 # if !defined(HAVE_ACCESS) && defined(HAVE__ACCESS)
381 # define access(p,m) _access(p,m)
383 # ifndef HAVE_STRCASECMP
384 # if defined(HAVE__STRICMP)
385 # define strcasecmp(a,b) _stricmp(a,b)
386 # elif defined(HAVE_STRICMP)
387 # define strcasecmp(a,b) stricmp(a,b)
390 # if !defined(HAVE_SNPRINTF) && defined(HAVE__SNPRINTF)
391 # define snprintf _snprintf
393 # if !defined(HAVE_VSNPRINTF) && defined(HAVE__VSNPRINTF)
394 # define vsnprintf _vsnprintf
397 /* These prevent parsedate.c from declaring malloc() and free() */
398 # define YYMALLOC malloc