xref: /illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/autoconf.h (revision 159d09a20817016f09b3ea28d1bdada4a336bb91)
1505d05c7Sgtb /*
2*159d09a2SMark Phalan  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3505d05c7Sgtb  * Use is subject to license terms.
4505d05c7Sgtb  */
5505d05c7Sgtb 
67c478bd9Sstevel@tonic-gate /* autoconf.h.  Generated automatically by configure.  */
77c478bd9Sstevel@tonic-gate /* autoconf.h.in.  Generated automatically from configure.in by autoheader.  */
87c478bd9Sstevel@tonic-gate /* Edited to remove KRB4 compatible and SIZEOF_LONG
97c478bd9Sstevel@tonic-gate  */
107c478bd9Sstevel@tonic-gate 
117c478bd9Sstevel@tonic-gate /* Define to empty if the keyword does not work.  */
127c478bd9Sstevel@tonic-gate /* #undef const */
137c478bd9Sstevel@tonic-gate 
147c478bd9Sstevel@tonic-gate /* Define to `int' if <sys/types.h> doesn't define.  */
157c478bd9Sstevel@tonic-gate /* #undef gid_t */
167c478bd9Sstevel@tonic-gate 
177c478bd9Sstevel@tonic-gate /* Define if you can safely include both <sys/time.h> and <time.h>.  */
187c478bd9Sstevel@tonic-gate #define TIME_WITH_SYS_TIME 1
197c478bd9Sstevel@tonic-gate 
207c478bd9Sstevel@tonic-gate /* Define to `int' if <sys/types.h> doesn't define.  */
217c478bd9Sstevel@tonic-gate /* #undef uid_t */
227c478bd9Sstevel@tonic-gate 
237c478bd9Sstevel@tonic-gate #define ANSI_STDIO 1
247c478bd9Sstevel@tonic-gate #define HAS_SETVBUF 1
257c478bd9Sstevel@tonic-gate #define HAVE_STDLIB_H 1
267c478bd9Sstevel@tonic-gate #define HAVE_STRDUP 1
277c478bd9Sstevel@tonic-gate #define HAVE_LABS 1
287c478bd9Sstevel@tonic-gate #define HAS_VOID_TYPE 1
297c478bd9Sstevel@tonic-gate 
307c478bd9Sstevel@tonic-gate /* #undef KRB5_NO_PROTOTYPES */
317c478bd9Sstevel@tonic-gate #define KRB5_PROVIDE_PROTOTYPES 1
327c478bd9Sstevel@tonic-gate /* #undef KRB5_NO_NESTED_PROTOTYPES */
337c478bd9Sstevel@tonic-gate /* #undef NO_STDLIB_H */
347c478bd9Sstevel@tonic-gate 
357c478bd9Sstevel@tonic-gate /* #undef NO_YYLINENO */
367c478bd9Sstevel@tonic-gate #define POSIX_FILE_LOCKS 1
377c478bd9Sstevel@tonic-gate #define POSIX_SIGTYPE 1
387c478bd9Sstevel@tonic-gate #define POSIX_TERMIOS 1
397c478bd9Sstevel@tonic-gate #define POSIX_TYPES 1
407c478bd9Sstevel@tonic-gate #define USE_DIRENT_H 1
4154925bf6Swillf 
4254925bf6Swillf /* Define if dlopen should be used */
4354925bf6Swillf #define USE_DLOPEN 1
4454925bf6Swillf 
457c478bd9Sstevel@tonic-gate #define HAVE_STRING_H 1
467c478bd9Sstevel@tonic-gate #define WAIT_USES_INT 1
477c478bd9Sstevel@tonic-gate #define krb5_sigtype void
487c478bd9Sstevel@tonic-gate #define HAVE_UNISTD_H 1
497c478bd9Sstevel@tonic-gate #define KRB5_USE_INET 1
507c478bd9Sstevel@tonic-gate #define KRB5_USE_INET6 1
517c478bd9Sstevel@tonic-gate 
52*159d09a2SMark Phalan /* Solaris Kerberos  - 163 Resync */
53*159d09a2SMark Phalan #define LIBDIR "/usr/lib"
54*159d09a2SMark Phalan 
55*159d09a2SMark Phalan /* Type of getpeername second argument. */
56*159d09a2SMark Phalan #define GETPEERNAME_ARG2_TYPE GETSOCKNAME_ARG2_TYPE
57*159d09a2SMark Phalan 
58*159d09a2SMark Phalan /* Type of getpeername second argument. */
59*159d09a2SMark Phalan #define GETPEERNAME_ARG3_TYPE GETSOCKNAME_ARG3_TYPE
60*159d09a2SMark Phalan 
61*159d09a2SMark Phalan /* Type of pointer target for argument 2 to getsockname */
62*159d09a2SMark Phalan #define GETSOCKNAME_ARG2_TYPE struct sockaddr
63*159d09a2SMark Phalan 
64*159d09a2SMark Phalan /* Type of pointer target for argument 3 to getsockname */
65*159d09a2SMark Phalan #define GETSOCKNAME_ARG3_TYPE socklen_t
66*159d09a2SMark Phalan 
67*159d09a2SMark Phalan #define	HAVE_GETEUID	1
68*159d09a2SMark Phalan 
697c478bd9Sstevel@tonic-gate /* Define if you have the getaddrinfo function */
707c478bd9Sstevel@tonic-gate #define HAVE_GETADDRINFO 1
717c478bd9Sstevel@tonic-gate 
727c478bd9Sstevel@tonic-gate /* Define if gethostbyname_r exists and its return type is known */
737c478bd9Sstevel@tonic-gate #define HAVE_GETHOSTBYNAME_R 1
747c478bd9Sstevel@tonic-gate 
757c478bd9Sstevel@tonic-gate /* Define to 1 if you have the `getnameinfo' function. */
767c478bd9Sstevel@tonic-gate #define HAVE_GETNAMEINFO 1
777c478bd9Sstevel@tonic-gate 
787c478bd9Sstevel@tonic-gate /* Define if getservbyname_r exists and its return type is known */
797c478bd9Sstevel@tonic-gate #define HAVE_GETSERVBYNAME_R 1
807c478bd9Sstevel@tonic-gate 
817c478bd9Sstevel@tonic-gate /* Define to 1 if you have the `inet_aton' function. */
827c478bd9Sstevel@tonic-gate #define HAVE_INET_ATON 1
837c478bd9Sstevel@tonic-gate 
847c478bd9Sstevel@tonic-gate /* Define to 1 if you have the `inet_ntoa' function. */
857c478bd9Sstevel@tonic-gate #define HAVE_INET_NTOA 1
867c478bd9Sstevel@tonic-gate 
877c478bd9Sstevel@tonic-gate /* Define to 1 if you have the `inet_ntop' function. */
887c478bd9Sstevel@tonic-gate #define HAVE_INET_NTOP 1
897c478bd9Sstevel@tonic-gate 
907c478bd9Sstevel@tonic-gate /* Define to 1 if you have the `inet_pton' function. */
917c478bd9Sstevel@tonic-gate #define HAVE_INET_PTON 1
927c478bd9Sstevel@tonic-gate 
9354925bf6Swillf /* Define to 1 if you have the <lber.h> header file. */
9454925bf6Swillf #define HAVE_LBER_H 1
9554925bf6Swillf 
9654925bf6Swillf /* Define to 1 if you have the `ldap_explode_dn' function. */
9754925bf6Swillf #define HAVE_LDAP_EXPLODE_DN 1
9854925bf6Swillf 
9954925bf6Swillf /* Define to 1 if you have the <ldap.h> header file. */
10054925bf6Swillf #define HAVE_LDAP_H 1
10154925bf6Swillf 
10254925bf6Swillf /* Define to 1 if you have the `ldap_url_parse_nodn' function. */
10354925bf6Swillf #define HAVE_LDAP_URL_PARSE_NODN 1
10454925bf6Swillf 
1057c478bd9Sstevel@tonic-gate #define HAVE_STDARG_H 1
1067c478bd9Sstevel@tonic-gate /* #undef HAVE_VARARGS_H */
1077c478bd9Sstevel@tonic-gate 
1087c478bd9Sstevel@tonic-gate /* Define if MIT Project Athena default configuration should be used */
1097c478bd9Sstevel@tonic-gate /* #undef KRB5_ATHENA_COMPAT */
1107c478bd9Sstevel@tonic-gate 
1117c478bd9Sstevel@tonic-gate /* The number of bytes in a int.  */
1127c478bd9Sstevel@tonic-gate #define SIZEOF_INT 4
1137c478bd9Sstevel@tonic-gate 
1147c478bd9Sstevel@tonic-gate /* The number of bytes in a short.  */
1157c478bd9Sstevel@tonic-gate #define SIZEOF_SHORT 2
1167c478bd9Sstevel@tonic-gate 
1177c478bd9Sstevel@tonic-gate /* Define if you have the <dbm.h> header file.  */
1187c478bd9Sstevel@tonic-gate /* #undef HAVE_DBM_H */
1197c478bd9Sstevel@tonic-gate 
1207c478bd9Sstevel@tonic-gate /* Define if you have the <macsock.h> header file.  */
1217c478bd9Sstevel@tonic-gate /* #undef HAVE_MACSOCK_H */
1227c478bd9Sstevel@tonic-gate 
1237c478bd9Sstevel@tonic-gate /* Define if you have the <ndbm.h> header file.  */
1247c478bd9Sstevel@tonic-gate #define HAVE_NDBM_H 1
1257c478bd9Sstevel@tonic-gate 
1267c478bd9Sstevel@tonic-gate /* Define if you have the <stddef.h> header file.  */
1277c478bd9Sstevel@tonic-gate #define HAVE_STDDEF_H 1
1287c478bd9Sstevel@tonic-gate 
1297c478bd9Sstevel@tonic-gate /* Define if you have the <sys/file.h> header file.  */
1307c478bd9Sstevel@tonic-gate #define HAVE_SYS_FILE_H 1
1317c478bd9Sstevel@tonic-gate 
1327c478bd9Sstevel@tonic-gate /* Define if you have the <sys/param.h> header file.  */
1337c478bd9Sstevel@tonic-gate #define HAVE_SYS_PARAM_H 1
1347c478bd9Sstevel@tonic-gate 
1357c478bd9Sstevel@tonic-gate /* Define if you have the <sys/stat.h> header file.  */
1367c478bd9Sstevel@tonic-gate #define HAVE_SYS_STAT_H 1
1377c478bd9Sstevel@tonic-gate 
1387c478bd9Sstevel@tonic-gate /* Define to 1 if you have the <sys/select.h> header file. */
1397c478bd9Sstevel@tonic-gate #define HAVE_SYS_SELECT_H 1
1407c478bd9Sstevel@tonic-gate 
1417c478bd9Sstevel@tonic-gate /* Define to 1 if you have the <sys/socket.h> header file. */
1427c478bd9Sstevel@tonic-gate #define HAVE_SYS_SOCKET_H 1
1437c478bd9Sstevel@tonic-gate 
1447c478bd9Sstevel@tonic-gate /* Define if you have the <sys/time.h> header file.  */
1457c478bd9Sstevel@tonic-gate #define HAVE_SYS_TIME_H 1
1467c478bd9Sstevel@tonic-gate 
1477c478bd9Sstevel@tonic-gate /* Define if you have the <sys/types.h> header file.  */
1487c478bd9Sstevel@tonic-gate #define HAVE_SYS_TYPES_H 1
1497c478bd9Sstevel@tonic-gate 
1507c478bd9Sstevel@tonic-gate /* Define to 1 if you have the <sys/uio.h> header file. */
1517c478bd9Sstevel@tonic-gate #define HAVE_SYS_UIO_H 1
1527c478bd9Sstevel@tonic-gate 
1537c478bd9Sstevel@tonic-gate /* Define if you have the <xom.h> header file.  */
1547c478bd9Sstevel@tonic-gate /* #undef HAVE_XOM_H */
1557c478bd9Sstevel@tonic-gate 
1567c478bd9Sstevel@tonic-gate /* Define if you have the dbm library (-ldbm).  */
1577c478bd9Sstevel@tonic-gate /* #undef HAVE_LIBDBM */
1587c478bd9Sstevel@tonic-gate 
1597c478bd9Sstevel@tonic-gate /* Define if you have the ndbm library (-lndbm).  */
1607c478bd9Sstevel@tonic-gate /* #undef HAVE_LIBNDBM */
1617c478bd9Sstevel@tonic-gate 
1627c478bd9Sstevel@tonic-gate /* Define if you have the nsl library (-lnsl).  */
1637c478bd9Sstevel@tonic-gate #define HAVE_LIBNSL 1
1647c478bd9Sstevel@tonic-gate 
1657c478bd9Sstevel@tonic-gate /* Define if you have the socket library (-lsocket).  */
1667c478bd9Sstevel@tonic-gate #define HAVE_LIBSOCKET 1
1677c478bd9Sstevel@tonic-gate 
1687c478bd9Sstevel@tonic-gate /* Define if you have <sys/filio.h> */
1697c478bd9Sstevel@tonic-gate #define HAVE_SYS_FILIO_H 1
1707c478bd9Sstevel@tonic-gate 
1717c478bd9Sstevel@tonic-gate /* Define if you have socklen_t */
1727c478bd9Sstevel@tonic-gate #define HAVE_SOCKLEN_T 1
1737c478bd9Sstevel@tonic-gate 
1747c478bd9Sstevel@tonic-gate /* Define if you have sockaddr_storage */
1757c478bd9Sstevel@tonic-gate #define HAVE_STRUCT_SOCKADDR_STORAGE 1
176505d05c7Sgtb 
177505d05c7Sgtb /* SUNW14resync start */
178505d05c7Sgtb 
179505d05c7Sgtb /* Define if thread support enabled */
180505d05c7Sgtb #define ENABLE_THREADS 1
181505d05c7Sgtb 
182505d05c7Sgtb /* Define if #pragma weak references work */
183505d05c7Sgtb #define HAVE_PRAGMA_WEAK_REF 1
184505d05c7Sgtb 
185505d05c7Sgtb /* Define if you have POSIX threads libraries and header files. */
186505d05c7Sgtb #define HAVE_PTHREAD 1
187505d05c7Sgtb 
188505d05c7Sgtb /* Define to 1 if you have the `pthread_mutexattr_setrobust_np' function. */
189505d05c7Sgtb #define HAVE_PTHREAD_MUTEXATTR_SETROBUST_NP 1
190505d05c7Sgtb 
191505d05c7Sgtb /* Define if pthread_mutexattr_setrobust_np is provided in the thread library.
192505d05c7Sgtb    */
193505d05c7Sgtb #define HAVE_PTHREAD_MUTEXATTR_SETROBUST_NP_IN_THREAD_LIB 1
194505d05c7Sgtb 
195505d05c7Sgtb /* Define to 1 if you have the `pthread_mutex_lock' function. */
196505d05c7Sgtb #define HAVE_PTHREAD_MUTEX_LOCK 1
197505d05c7Sgtb 
198505d05c7Sgtb /* Define to 1 if you have the `pthread_once' function. */
199505d05c7Sgtb #define HAVE_PTHREAD_ONCE 1
200505d05c7Sgtb 
201505d05c7Sgtb /* Define to 1 if you have the `pthread_rwlock_init' function. */
202505d05c7Sgtb #define HAVE_PTHREAD_RWLOCK_INIT 1
203505d05c7Sgtb 
204505d05c7Sgtb /* Define if pthread_rwlock_init is provided in the thread library. */
205505d05c7Sgtb #define HAVE_PTHREAD_RWLOCK_INIT_IN_THREAD_LIB 1
206505d05c7Sgtb 
207505d05c7Sgtb 
208505d05c7Sgtb /* XXX */
209505d05c7Sgtb /* Define to the necessary symbol if this constant uses a non-standard name on
210505d05c7Sgtb    your system. */
211505d05c7Sgtb #undef PTHREAD_CREATE_JOINABLE
212505d05c7Sgtb 
213505d05c7Sgtb /* Define if link-time options for library finalization will be used */
214505d05c7Sgtb #undef USE_LINKER_FINI_OPTION
215505d05c7Sgtb 
216505d05c7Sgtb /* Define if link-time options for library initialization will be used */
217505d05c7Sgtb #undef USE_LINKER_INIT_OPTION
218505d05c7Sgtb 
219505d05c7Sgtb /* from MIT 1.4 configure CC=.../cc */
220505d05c7Sgtb #define HAVE_PRAGMA_WEAK_REF 1
221505d05c7Sgtb #define DELAY_INITIALIZER 1
222505d05c7Sgtb #define USE_LINKER_INIT_OPTION 1
223505d05c7Sgtb #define USE_LINKER_FINI_OPTION 1
224505d05c7Sgtb 
225505d05c7Sgtb #define USE_BUNDLE_ERROR_STRINGS 1
226505d05c7Sgtb #ifndef KRB5_PRIVATE
227505d05c7Sgtb #define KRB5_PRIVATE 1
228505d05c7Sgtb #endif
229505d05c7Sgtb /* SUNW14resync end */
230