initial load of upstream version 1.06.32
[xmlrpc-c] / xmlrpc_config.h.in
1 /* xmlrpc_config.h is generated from xmlrpc_config.h.in by 'configure'.
2
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.
6
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.
10 */
11
12
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.
16 */
17 #include "xmlrpc_amconfig.h"
18
19
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@
23
24 #define VA_LIST_IS_ARRAY @VA_LIST_IS_ARRAY_DEFINE@
25
26 #define HAVE_LIBWWW_SSL @HAVE_LIBWWW_SSL_DEFINE@
27
28 #define ATTR_UNUSED @ATTR_UNUSED@
29
30 #define DIRECTORY_SEPARATOR "@DIRECTORY_SEPARATOR@"
31
32 #define HAVE_UNICODE_WCHAR HAVE_WCHAR_H
33
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.
38
39     We could make 'configure' simply do a trial compile to figure out
40     which one, but for now, this approximation is easier:
41 */
42 #if (!defined(__GNUC__))
43   #if (!defined(__inline__))
44     #if (defined(__sgi) || defined(_AIX))
45       #define __inline__ __inline
46     #else   
47       #define __inline__
48     #endif
49   #endif
50 #endif