xref: /titanic_52/usr/src/lib/gss_mechs/mech_krb5/include/autoconf.h (revision 159d09a20817016f09b3ea28d1bdada4a336bb91)
1 /*
2  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3  * Use is subject to license terms.
4  */
5 
6 /* autoconf.h.  Generated automatically by configure.  */
7 /* autoconf.h.in.  Generated automatically from configure.in by autoheader.  */
8 /* Edited to remove KRB4 compatible and SIZEOF_LONG
9  */
10 
11 /* Define to empty if the keyword does not work.  */
12 /* #undef const */
13 
14 /* Define to `int' if <sys/types.h> doesn't define.  */
15 /* #undef gid_t */
16 
17 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
18 #define TIME_WITH_SYS_TIME 1
19 
20 /* Define to `int' if <sys/types.h> doesn't define.  */
21 /* #undef uid_t */
22 
23 #define ANSI_STDIO 1
24 #define HAS_SETVBUF 1
25 #define HAVE_STDLIB_H 1
26 #define HAVE_STRDUP 1
27 #define HAVE_LABS 1
28 #define HAS_VOID_TYPE 1
29 
30 /* #undef KRB5_NO_PROTOTYPES */
31 #define KRB5_PROVIDE_PROTOTYPES 1
32 /* #undef KRB5_NO_NESTED_PROTOTYPES */
33 /* #undef NO_STDLIB_H */
34 
35 /* #undef NO_YYLINENO */
36 #define POSIX_FILE_LOCKS 1
37 #define POSIX_SIGTYPE 1
38 #define POSIX_TERMIOS 1
39 #define POSIX_TYPES 1
40 #define USE_DIRENT_H 1
41 
42 /* Define if dlopen should be used */
43 #define USE_DLOPEN 1
44 
45 #define HAVE_STRING_H 1
46 #define WAIT_USES_INT 1
47 #define krb5_sigtype void
48 #define HAVE_UNISTD_H 1
49 #define KRB5_USE_INET 1
50 #define KRB5_USE_INET6 1
51 
52 /* Solaris Kerberos  - 163 Resync */
53 #define LIBDIR "/usr/lib"
54 
55 /* Type of getpeername second argument. */
56 #define GETPEERNAME_ARG2_TYPE GETSOCKNAME_ARG2_TYPE
57 
58 /* Type of getpeername second argument. */
59 #define GETPEERNAME_ARG3_TYPE GETSOCKNAME_ARG3_TYPE
60 
61 /* Type of pointer target for argument 2 to getsockname */
62 #define GETSOCKNAME_ARG2_TYPE struct sockaddr
63 
64 /* Type of pointer target for argument 3 to getsockname */
65 #define GETSOCKNAME_ARG3_TYPE socklen_t
66 
67 #define	HAVE_GETEUID	1
68 
69 /* Define if you have the getaddrinfo function */
70 #define HAVE_GETADDRINFO 1
71 
72 /* Define if gethostbyname_r exists and its return type is known */
73 #define HAVE_GETHOSTBYNAME_R 1
74 
75 /* Define to 1 if you have the `getnameinfo' function. */
76 #define HAVE_GETNAMEINFO 1
77 
78 /* Define if getservbyname_r exists and its return type is known */
79 #define HAVE_GETSERVBYNAME_R 1
80 
81 /* Define to 1 if you have the `inet_aton' function. */
82 #define HAVE_INET_ATON 1
83 
84 /* Define to 1 if you have the `inet_ntoa' function. */
85 #define HAVE_INET_NTOA 1
86 
87 /* Define to 1 if you have the `inet_ntop' function. */
88 #define HAVE_INET_NTOP 1
89 
90 /* Define to 1 if you have the `inet_pton' function. */
91 #define HAVE_INET_PTON 1
92 
93 /* Define to 1 if you have the <lber.h> header file. */
94 #define HAVE_LBER_H 1
95 
96 /* Define to 1 if you have the `ldap_explode_dn' function. */
97 #define HAVE_LDAP_EXPLODE_DN 1
98 
99 /* Define to 1 if you have the <ldap.h> header file. */
100 #define HAVE_LDAP_H 1
101 
102 /* Define to 1 if you have the `ldap_url_parse_nodn' function. */
103 #define HAVE_LDAP_URL_PARSE_NODN 1
104 
105 #define HAVE_STDARG_H 1
106 /* #undef HAVE_VARARGS_H */
107 
108 /* Define if MIT Project Athena default configuration should be used */
109 /* #undef KRB5_ATHENA_COMPAT */
110 
111 /* The number of bytes in a int.  */
112 #define SIZEOF_INT 4
113 
114 /* The number of bytes in a short.  */
115 #define SIZEOF_SHORT 2
116 
117 /* Define if you have the <dbm.h> header file.  */
118 /* #undef HAVE_DBM_H */
119 
120 /* Define if you have the <macsock.h> header file.  */
121 /* #undef HAVE_MACSOCK_H */
122 
123 /* Define if you have the <ndbm.h> header file.  */
124 #define HAVE_NDBM_H 1
125 
126 /* Define if you have the <stddef.h> header file.  */
127 #define HAVE_STDDEF_H 1
128 
129 /* Define if you have the <sys/file.h> header file.  */
130 #define HAVE_SYS_FILE_H 1
131 
132 /* Define if you have the <sys/param.h> header file.  */
133 #define HAVE_SYS_PARAM_H 1
134 
135 /* Define if you have the <sys/stat.h> header file.  */
136 #define HAVE_SYS_STAT_H 1
137 
138 /* Define to 1 if you have the <sys/select.h> header file. */
139 #define HAVE_SYS_SELECT_H 1
140 
141 /* Define to 1 if you have the <sys/socket.h> header file. */
142 #define HAVE_SYS_SOCKET_H 1
143 
144 /* Define if you have the <sys/time.h> header file.  */
145 #define HAVE_SYS_TIME_H 1
146 
147 /* Define if you have the <sys/types.h> header file.  */
148 #define HAVE_SYS_TYPES_H 1
149 
150 /* Define to 1 if you have the <sys/uio.h> header file. */
151 #define HAVE_SYS_UIO_H 1
152 
153 /* Define if you have the <xom.h> header file.  */
154 /* #undef HAVE_XOM_H */
155 
156 /* Define if you have the dbm library (-ldbm).  */
157 /* #undef HAVE_LIBDBM */
158 
159 /* Define if you have the ndbm library (-lndbm).  */
160 /* #undef HAVE_LIBNDBM */
161 
162 /* Define if you have the nsl library (-lnsl).  */
163 #define HAVE_LIBNSL 1
164 
165 /* Define if you have the socket library (-lsocket).  */
166 #define HAVE_LIBSOCKET 1
167 
168 /* Define if you have <sys/filio.h> */
169 #define HAVE_SYS_FILIO_H 1
170 
171 /* Define if you have socklen_t */
172 #define HAVE_SOCKLEN_T 1
173 
174 /* Define if you have sockaddr_storage */
175 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
176 
177 /* SUNW14resync start */
178 
179 /* Define if thread support enabled */
180 #define ENABLE_THREADS 1
181 
182 /* Define if #pragma weak references work */
183 #define HAVE_PRAGMA_WEAK_REF 1
184 
185 /* Define if you have POSIX threads libraries and header files. */
186 #define HAVE_PTHREAD 1
187 
188 /* Define to 1 if you have the `pthread_mutexattr_setrobust_np' function. */
189 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST_NP 1
190 
191 /* Define if pthread_mutexattr_setrobust_np is provided in the thread library.
192    */
193 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST_NP_IN_THREAD_LIB 1
194 
195 /* Define to 1 if you have the `pthread_mutex_lock' function. */
196 #define HAVE_PTHREAD_MUTEX_LOCK 1
197 
198 /* Define to 1 if you have the `pthread_once' function. */
199 #define HAVE_PTHREAD_ONCE 1
200 
201 /* Define to 1 if you have the `pthread_rwlock_init' function. */
202 #define HAVE_PTHREAD_RWLOCK_INIT 1
203 
204 /* Define if pthread_rwlock_init is provided in the thread library. */
205 #define HAVE_PTHREAD_RWLOCK_INIT_IN_THREAD_LIB 1
206 
207 
208 /* XXX */
209 /* Define to the necessary symbol if this constant uses a non-standard name on
210    your system. */
211 #undef PTHREAD_CREATE_JOINABLE
212 
213 /* Define if link-time options for library finalization will be used */
214 #undef USE_LINKER_FINI_OPTION
215 
216 /* Define if link-time options for library initialization will be used */
217 #undef USE_LINKER_INIT_OPTION
218 
219 /* from MIT 1.4 configure CC=.../cc */
220 #define HAVE_PRAGMA_WEAK_REF 1
221 #define DELAY_INITIALIZER 1
222 #define USE_LINKER_INIT_OPTION 1
223 #define USE_LINKER_FINI_OPTION 1
224 
225 #define USE_BUNDLE_ERROR_STRINGS 1
226 #ifndef KRB5_PRIVATE
227 #define KRB5_PRIVATE 1
228 #endif
229 /* SUNW14resync end */
230