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 /* Raptor raptor_parse_date available */
76 #undef HAVE_RAPTOR_PARSE_DATE
78 /* Define to 1 if you have the `setjmp' function. */
81 /* Define to 1 if you have the <setjmp.h> header file. */
84 /* Define to 1 if you have the `stat' function. */
87 /* Define to 1 if you have the <stddef.h> header file. */
88 #define HAVE_STDDEF_H 1
90 /* Define to 1 if you have the <stdint.h> header file. */
93 /* Define to 1 if you have the <stdlib.h> header file. */
94 #define HAVE_STDLIB_H 1
96 /* Define to 1 if you have the `strcasecmp' function. */
97 #undef HAVE_STRCASECMP
99 /* Define to 1 if you have the `stricmp' function. */
100 #define HAVE_STRICMP 1
102 /* Define to 1 if you have the <strings.h> header file. */
103 #undef HAVE_STRINGS_H
105 /* Define to 1 if you have the <string.h> header file. */
106 #define HAVE_STRING_H 1
108 /* Define to 1 if you have the `strtok_r' function. */
111 /* Define to 1 if you have the <sys/param.h> header file. */
112 #undef HAVE_SYS_PARAM_H
114 /* Define to 1 if you have the <sys/stat.h> header file. */
115 #undef HAVE_SYS_STAT_H
117 /* Define to 1 if you have the <sys/time.h> header file. */
118 #undef HAVE_SYS_TIME_H
120 /* Define to 1 if you have the <sys/types.h> header file. */
121 #undef HAVE_SYS_TYPES_H
123 /* Define to 1 if you have the <unistd.h> header file. */
126 /* Define to 1 if you have the `vasprintf' function. */
127 #undef HAVE_VASPRINTF
129 /* Define to 1 if you have the `vsnprintf' function. */
130 #define HAVE_VSNPRINTF 1
132 /* Define to 1 if you have the `xmlCtxtUseOptions' function. */
133 #define HAVE_XMLCTXTUSEOPTIONS 1
135 /* Define to 1 if you have the `xmlSAX2InternalSubset' function. */
136 #define HAVE_XMLSAX2INTERNALSUBSET 1
138 /* YAJL has API version 2 */
141 /* Define to 1 if you have the <yajl/yajl_parse.h> header file. */
142 #undef HAVE_YAJL_YAJL_PARSE_H
144 /* Define to the sub-directory in which libtool stores uninstalled libraries.
148 /* Define to 1 if maintainer mode is enabled. */
149 #undef MAINTAINER_MODE
151 /* need 'extern int optind' declaration? */
152 #undef NEED_OPTIND_DECLARATION
154 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
155 #undef NO_MINUS_C_MINUS_O
157 /* Name of package */
160 /* Define to the address where bug reports for this package should be sent. */
161 #undef PACKAGE_BUGREPORT
163 /* Define to the full name of this package. */
166 /* Define to the full name and version of this package. */
167 #undef PACKAGE_STRING
169 /* Define to the one symbol short name of this package. */
170 #undef PACKAGE_TARNAME
172 /* Define to the home page for this package. */
175 /* Define to the version of this package. */
176 #undef PACKAGE_VERSION
178 /* Define to 1 if debug messages are enabled. */
181 /* Use ICU for Unicode NFC check */
182 #undef RAPTOR_ICU_NFC
184 /* does libxml struct xmlEntity have a field etype */
185 #define RAPTOR_LIBXML_ENTITY_ETYPE 1
187 /* does libxml struct xmlEntity have a field name_length */
188 #undef RAPTOR_LIBXML_ENTITY_NAME_LENGTH
190 /* does libxml have HTML_PARSE_NONET */
191 #define RAPTOR_LIBXML_HTML_PARSE_NONET 1
193 /* does libxml xmlSAXHandler have externalSubset field */
194 #define RAPTOR_LIBXML_XMLSAXHANDLER_EXTERNALSUBSET 1
196 /* does libxml xmlSAXHandler have initialized field */
197 #define RAPTOR_LIBXML_XMLSAXHANDLER_INITIALIZED 1
199 /* does libxml have XML_PARSE_NONET */
200 #define RAPTOR_LIBXML_XML_PARSE_NONET 1
202 /* Minimum supported package version */
203 #define RAPTOR_MIN_VERSION_DECIMAL 20000
205 /* Building GRDDL parser */
206 #undef RAPTOR_PARSER_GRDDL
208 /* Building guess parser */
209 #undef RAPTOR_PARSER_GUESS
211 /* Building JSON parser */
212 #undef RAPTOR_PARSER_JSON
214 /* Building N-Quads parser */
215 #undef RAPTOR_PARSER_NQUADS
217 /* Building N-Triples parser */
218 #define RAPTOR_PARSER_NTRIPLES 1
220 /* Building RDFA parser */
221 #undef RAPTOR_PARSER_RDFA
223 /* Building RDF/XML parser */
224 #define RAPTOR_PARSER_RDFXML 1
226 /* Building RSS Tag Soup parser */
227 #undef RAPTOR_PARSER_RSS
229 /* Building TRiG parser */
230 #undef RAPTOR_PARSER_TRIG
232 /* Building Turtle parser */
233 #undef RAPTOR_PARSER_TURTLE
235 /* Building Atom 1.0 serializer */
236 #undef RAPTOR_SERIALIZER_ATOM
238 /* Building GraphViz DOT serializer */
239 #undef RAPTOR_SERIALIZER_DOT
241 /* Building HTML Table serializer */
242 #undef RAPTOR_SERIALIZER_HTML
244 /* Building JSON serializer */
245 #undef RAPTOR_SERIALIZER_JSON
247 /* Building N-Quads serializer */
248 #undef RAPTOR_SERIALIZER_NQUADS
250 /* Building N-Triples serializer */
251 #define RAPTOR_SERIALIZER_NTRIPLES 1
253 /* Building RDF/XML serializer */
254 #define RAPTOR_SERIALIZER_RDFXML 1
256 /* Building RDF/XML-abbreviated serializer */
257 #define RAPTOR_SERIALIZER_RDFXML_ABBREV 1
259 /* Building RSS 1.0 serializer */
260 #undef RAPTOR_SERIALIZER_RSS_1_0
262 /* Building Turtle serializer */
263 #undef RAPTOR_SERIALIZER_TURTLE
265 /* Release version as a decimal */
266 #define RAPTOR_VERSION_DECIMAL 20009
268 /* Major version number */
269 #define RAPTOR_VERSION_MAJOR 2
271 /* Minor version number */
272 #define RAPTOR_VERSION_MINOR 0
274 /* Release version number */
275 #define RAPTOR_VERSION_RELEASE 9
277 /* Have libcurl WWW library */
278 #undef RAPTOR_WWW_LIBCURL
280 /* Have libfetch WWW library */
281 #undef RAPTOR_WWW_LIBFETCH
283 /* Have libxml available as a WWW library */
284 #undef RAPTOR_WWW_LIBXML
287 #define RAPTOR_WWW_NONE
289 /* Check XML 1.1 Names */
290 #undef RAPTOR_XML_1_1
292 /* Use libxml XML parser */
293 #define RAPTOR_XML_LIBXML 1
295 /* Define to 1 if you have the ANSI C header files. */
298 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
299 #undef TIME_WITH_SYS_TIME
301 /* Version number of package */
302 #define VERSION "2.0.9"
304 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
305 significant byte first (like Motorola and SPARC, unlike Intel). */
306 #if defined AC_APPLE_UNIVERSAL_BUILD
307 # if defined __BIG_ENDIAN__
308 # define WORDS_BIGENDIAN 1
311 # ifndef WORDS_BIGENDIAN
312 # undef WORDS_BIGENDIAN
316 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
318 #undef YYTEXT_POINTER
320 /* Enable large inode numbers on Mac OS X 10.5. */
321 #ifndef _DARWIN_USE_64_BIT_INODE
322 # define _DARWIN_USE_64_BIT_INODE 1
325 /* Number of bits in a file offset, on hosts where this is settable. */
326 #undef _FILE_OFFSET_BITS
328 /* Define for large files, on AIX-style hosts. */
331 /* Define to empty if `const' does not conform to ANSI C. */
334 /* Define to `__inline__' or `__inline' if that's what the C compiler
335 calls it, or to nothing if 'inline' is not supported under any name. */
340 // from raptor_config_cmake.h.in ////////////////////////////////////////////
343 # define WIN32_LEAN_AND_MEAN
344 # ifndef _CRT_NONSTDC_NO_DEPRECATE
345 # define _CRT_NONSTDC_NO_DEPRECATE
347 # ifndef _CRT_SECURE_NO_DEPRECATE
348 # define _CRT_SECURE_NO_DEPRECATE
352 # if _MSC_VER >= 1300
353 # define __func__ __FUNCTION__
355 /* better than nothing */
356 # define raptor_str(s) #s
357 # define __func__ "func@" __FILE__ ":" raptor_str(__LINE__)
361 # define RAPTOR_INLINE __inline
363 # define S_ISTYPE(mode, mask) (((mode) & _S_IFMT) == (mask))
364 # define S_ISDIR(mode) S_ISTYPE((mode), _S_IFDIR)
365 # define S_ISREG(mode) S_ISTYPE((mode), _S_IFREG)
367 /* Mode bits for access() */
371 # if !defined(HAVE_ACCESS) && defined(HAVE__ACCESS)
372 # define access(p,m) _access(p,m)
374 # ifndef HAVE_STRCASECMP
375 # if defined(HAVE__STRICMP)
376 # define strcasecmp(a,b) _stricmp(a,b)
377 # elif defined(HAVE_STRICMP)
378 # define strcasecmp(a,b) stricmp(a,b)
381 # if !defined(HAVE_SNPRINTF) && defined(HAVE__SNPRINTF)
382 # define snprintf _snprintf
384 # if !defined(HAVE_VSNPRINTF) && defined(HAVE__VSNPRINTF)
385 # define vsnprintf _vsnprintf
388 /* These prevent parsedate.c from declaring malloc() and free() */
389 # define YYMALLOC malloc