1 /* xmlrpc_config.h is generated from xmlrpc_config.h.in by 'configure'.
3 This file just uses plain AC_SUBST substitution, the same as
4 Makefile.config. Wherever you see @XXX@, that gets replaced by the
5 value of 'configure' variable XXX.
7 Logical macros are 0 or 1 instead of the more traditional defined and
8 undefined. That's so we can distinguish when compiling code between
9 "false" and some problem with the code.
13 /* We hope to replace xmlrpc_amconfig.h some day with something that
14 doesn't require a whole special set of software to build, to make
15 Xmlrpc-c approachable by dumber developers.
17 #include "xmlrpc_amconfig.h"
20 #define HAVE_WCHAR_H @HAVE_WCHAR_H_DEFINE@
21 #define HAVE_SYS_FILIO_H @HAVE_SYS_FILIO_H_DEFINE@
22 #define HAVE_SYS_IOCTL_H @HAVE_SYS_IOCTL_H_DEFINE@
24 #define VA_LIST_IS_ARRAY @VA_LIST_IS_ARRAY_DEFINE@
26 #define HAVE_LIBWWW_SSL @HAVE_LIBWWW_SSL_DEFINE@
28 #define ATTR_UNUSED @ATTR_UNUSED@
30 #define DIRECTORY_SEPARATOR "@DIRECTORY_SEPARATOR@"
32 #define HAVE_UNICODE_WCHAR HAVE_WCHAR_H
34 /* Xmlrpc-c code uses __inline__ to declare functions that should
35 be compiled as inline code. GNU C recognizes the __inline__ keyword.
36 Others recognize 'inline' or '__inline' or nothing at all to say
37 a function should be inlined.
39 We could make 'configure' simply do a trial compile to figure out
40 which one, but for now, this approximation is easier:
42 #if (!defined(__GNUC__))
43 #if (!defined(__inline__))
44 #if (defined(__sgi) || defined(_AIX))
45 #define __inline__ __inline