Part 1 of patch from Jan Berkel, based on Miquel's patch.
[freeradius.git] / acconfig.h
1 /*
2
3 acconfig.h - template used by autoheader to create config.h.in
4 config.h.in - used by autoconf to create config.h
5 config.h - created by autoconf; contains defines generated by autoconf
6
7 */
8
9 @TOP@
10
11 /* style of gethost*_r functions */
12 #define GNUSTYLE 1
13 #define SYSVSTYLE 2
14 #define BSDSTYLE 3
15 #undef GETHOSTBYADDRRSTYLE
16 #undef GETHOSTBYNAMERSTYLE
17
18 /* Do we have the crypt function ? */
19 #undef HAVE_CRYPT
20
21 /* Do we have shadow support? */
22 #undef HAVE_GETSPNAM
23
24 /* Use USR-style vendor specific attributes */
25 #undef ATTRIB_NMC
26
27 /* Include support for Ascend binary filter attributes */
28 #undef ASCEND_BINARY
29
30 /* socklen_t is generally 'int' on systems which don't use it */
31 #undef socklen_t
32
33 /* uint8_t should be the canonical 'octet' for network traffic */
34 #undef uint8_t
35
36 /* uint16_t should be the canonical '2 octets' for network traffic */
37 #undef uint16_t
38
39 /* uint32_t should be the canonical 'network integer' */
40 #undef uint32_t
41
42 /* Define if prototype for strncasecmp needed */
43 #undef NEED_DECLARATION_STRNCASECMP
44
45 /* Define if prototype for strcasecmp needed */
46 #undef NEED_DECLARATION_STRCASECMP
47
48 /* Define if prototype for inet_aton needed */
49 #undef NEED_DECLARATION_INET_ATON
50
51 /* Define if prototype for gethostname needed */
52 #undef NEED_DECLARATION_GETHOSTNAME
53
54 /* Define if prototype for setlinebuf needed */
55 #undef NEED_DECLARATION_SETLINEBUF
56
57 /* Define if prototype for getusershell needed */
58 #undef NEED_DECLARATION_GETUSERSHELL
59
60 /* Define if prototype for endusershell needed */
61 #undef NEED_DECLARATION_ENDUSERSHELL
62
63 /* use a pool of threads to handle requests, instead of spawning threads? */
64 #undef WITH_THREAD_POOL
65
66 /* Include SNMP subagent */
67 #undef WITH_SNMP
68
69 /* Include user collision code*/
70 #undef WITH_USERCOLLIDE
71
72 /* Define if you have the <ucd-snmp/asn1.h>, <ucd-snmp/snmp_impl.h> and <ucd-snmp/snmp.h> header file.  */
73 #undef HAVE_UCD_SNMP_ASN1_SNMP_SNMPIMPL_H
74
75 /* Define if you have the <asn1.h>, <snmp_impl.h> and <snmp.h> header file.  */
76 #undef HAVE_ASN1_SNMP_SNMPIMPL_H
77
78 /* Define if you have the snmp library (-lsnmp).  */
79 #undef HAVE_LIBSNMP
80
81 /* define if you have the <libpq_fe.h> header file.  */
82 #undef HAVE_LIBPQ_FE_H
83
84 /* define if you have the <postgres.h> header file.  */
85 #undef HAVE_POSTGRES_H
86
87 /* define this if we have the <regex.h> header file */
88 #undef HAVE_REGEX_H
89
90 /* define this if we have REG_EXTENDED (from <regex.h>) */
91 #undef HAVE_REG_EXTENDED
92
93 /* define this if you have the <mysql.h> header file */
94 #undef HAVE_MYSQL_H
95
96 /* define this if you have the <isql.h> header file */
97 #undef HAVE_ISQL_H
98
99 /* define this if you have the <oci.h> header file */
100 #undef HAVE_OCI_H
101
102 /* define to something if you don't have ut_xtime in struct utmpx */
103 #undef ut_xtime
104
105 /* define if you have OSFC2 authentication */
106 #undef OSFC2
107
108 /* define if you have OSFSIA authentication */
109 #undef OSFSIA
110
111 /* define if you have IP_PKTINFO (Linux) */
112 #undef HAVE_IP_PKTINFO
113
114 /* define if you want udpfromto */
115 #undef WITH_UDPFROMTO
116
117 @BOTTOM@
118
119 #ifndef HAVE_SNPRINTF
120 #define HAVE_LOCAL_SNPRINTF
121 #define snprintf lrad_snprintf
122 #endif
123
124 #ifndef HAVE_VSNPRINTF
125 #define HAVE_LOCAL_SNPRINTF
126 #define vsnprintf lrad_vsnprintf
127 #endif