xref: /onnv-gate/usr/src/lib/gss_mechs/mech_krb5/include/autoconf.h (revision 7934:6aeeafc994de)
1781Sgtb /*
2*7934SMark.Phalan@Sun.COM  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3781Sgtb  * Use is subject to license terms.
4781Sgtb  */
5781Sgtb 
60Sstevel@tonic-gate /* autoconf.h.  Generated automatically by configure.  */
70Sstevel@tonic-gate /* autoconf.h.in.  Generated automatically from configure.in by autoheader.  */
80Sstevel@tonic-gate /* Edited to remove KRB4 compatible and SIZEOF_LONG
90Sstevel@tonic-gate  */
100Sstevel@tonic-gate 
110Sstevel@tonic-gate /* Define to empty if the keyword does not work.  */
120Sstevel@tonic-gate /* #undef const */
130Sstevel@tonic-gate 
140Sstevel@tonic-gate /* Define to `int' if <sys/types.h> doesn't define.  */
150Sstevel@tonic-gate /* #undef gid_t */
160Sstevel@tonic-gate 
170Sstevel@tonic-gate /* Define if you can safely include both <sys/time.h> and <time.h>.  */
180Sstevel@tonic-gate #define TIME_WITH_SYS_TIME 1
190Sstevel@tonic-gate 
200Sstevel@tonic-gate /* Define to `int' if <sys/types.h> doesn't define.  */
210Sstevel@tonic-gate /* #undef uid_t */
220Sstevel@tonic-gate 
230Sstevel@tonic-gate #define ANSI_STDIO 1
240Sstevel@tonic-gate #define HAS_SETVBUF 1
250Sstevel@tonic-gate #define HAVE_STDLIB_H 1
260Sstevel@tonic-gate #define HAVE_STRDUP 1
270Sstevel@tonic-gate #define HAVE_LABS 1
280Sstevel@tonic-gate #define HAS_VOID_TYPE 1
290Sstevel@tonic-gate 
300Sstevel@tonic-gate /* #undef KRB5_NO_PROTOTYPES */
310Sstevel@tonic-gate #define KRB5_PROVIDE_PROTOTYPES 1
320Sstevel@tonic-gate /* #undef KRB5_NO_NESTED_PROTOTYPES */
330Sstevel@tonic-gate /* #undef NO_STDLIB_H */
340Sstevel@tonic-gate 
350Sstevel@tonic-gate /* #undef NO_YYLINENO */
360Sstevel@tonic-gate #define POSIX_FILE_LOCKS 1
370Sstevel@tonic-gate #define POSIX_SIGTYPE 1
380Sstevel@tonic-gate #define POSIX_TERMIOS 1
390Sstevel@tonic-gate #define POSIX_TYPES 1
400Sstevel@tonic-gate #define USE_DIRENT_H 1
414960Swillf 
424960Swillf /* Define if dlopen should be used */
434960Swillf #define USE_DLOPEN 1
444960Swillf 
450Sstevel@tonic-gate #define HAVE_STRING_H 1
460Sstevel@tonic-gate #define WAIT_USES_INT 1
470Sstevel@tonic-gate #define krb5_sigtype void
480Sstevel@tonic-gate #define HAVE_UNISTD_H 1
490Sstevel@tonic-gate #define KRB5_USE_INET 1
500Sstevel@tonic-gate #define KRB5_USE_INET6 1
510Sstevel@tonic-gate 
52*7934SMark.Phalan@Sun.COM /* Solaris Kerberos  - 163 Resync */
53*7934SMark.Phalan@Sun.COM #define LIBDIR "/usr/lib"
54*7934SMark.Phalan@Sun.COM 
55*7934SMark.Phalan@Sun.COM /* Type of getpeername second argument. */
56*7934SMark.Phalan@Sun.COM #define GETPEERNAME_ARG2_TYPE GETSOCKNAME_ARG2_TYPE
57*7934SMark.Phalan@Sun.COM 
58*7934SMark.Phalan@Sun.COM /* Type of getpeername second argument. */
59*7934SMark.Phalan@Sun.COM #define GETPEERNAME_ARG3_TYPE GETSOCKNAME_ARG3_TYPE
60*7934SMark.Phalan@Sun.COM 
61*7934SMark.Phalan@Sun.COM /* Type of pointer target for argument 2 to getsockname */
62*7934SMark.Phalan@Sun.COM #define GETSOCKNAME_ARG2_TYPE struct sockaddr
63*7934SMark.Phalan@Sun.COM 
64*7934SMark.Phalan@Sun.COM /* Type of pointer target for argument 3 to getsockname */
65*7934SMark.Phalan@Sun.COM #define GETSOCKNAME_ARG3_TYPE socklen_t
66*7934SMark.Phalan@Sun.COM 
67*7934SMark.Phalan@Sun.COM #define	HAVE_GETEUID	1
68*7934SMark.Phalan@Sun.COM 
690Sstevel@tonic-gate /* Define if you have the getaddrinfo function */
700Sstevel@tonic-gate #define HAVE_GETADDRINFO 1
710Sstevel@tonic-gate 
720Sstevel@tonic-gate /* Define if gethostbyname_r exists and its return type is known */
730Sstevel@tonic-gate #define HAVE_GETHOSTBYNAME_R 1
740Sstevel@tonic-gate 
750Sstevel@tonic-gate /* Define to 1 if you have the `getnameinfo' function. */
760Sstevel@tonic-gate #define HAVE_GETNAMEINFO 1
770Sstevel@tonic-gate 
780Sstevel@tonic-gate /* Define if getservbyname_r exists and its return type is known */
790Sstevel@tonic-gate #define HAVE_GETSERVBYNAME_R 1
800Sstevel@tonic-gate 
810Sstevel@tonic-gate /* Define to 1 if you have the `inet_aton' function. */
820Sstevel@tonic-gate #define HAVE_INET_ATON 1
830Sstevel@tonic-gate 
840Sstevel@tonic-gate /* Define to 1 if you have the `inet_ntoa' function. */
850Sstevel@tonic-gate #define HAVE_INET_NTOA 1
860Sstevel@tonic-gate 
870Sstevel@tonic-gate /* Define to 1 if you have the `inet_ntop' function. */
880Sstevel@tonic-gate #define HAVE_INET_NTOP 1
890Sstevel@tonic-gate 
900Sstevel@tonic-gate /* Define to 1 if you have the `inet_pton' function. */
910Sstevel@tonic-gate #define HAVE_INET_PTON 1
920Sstevel@tonic-gate 
934960Swillf /* Define to 1 if you have the <lber.h> header file. */
944960Swillf #define HAVE_LBER_H 1
954960Swillf 
964960Swillf /* Define to 1 if you have the `ldap_explode_dn' function. */
974960Swillf #define HAVE_LDAP_EXPLODE_DN 1
984960Swillf 
994960Swillf /* Define to 1 if you have the <ldap.h> header file. */
1004960Swillf #define HAVE_LDAP_H 1
1014960Swillf 
1024960Swillf /* Define to 1 if you have the `ldap_url_parse_nodn' function. */
1034960Swillf #define HAVE_LDAP_URL_PARSE_NODN 1
1044960Swillf 
1050Sstevel@tonic-gate #define HAVE_STDARG_H 1
1060Sstevel@tonic-gate /* #undef HAVE_VARARGS_H */
1070Sstevel@tonic-gate 
1080Sstevel@tonic-gate /* Define if MIT Project Athena default configuration should be used */
1090Sstevel@tonic-gate /* #undef KRB5_ATHENA_COMPAT */
1100Sstevel@tonic-gate 
1110Sstevel@tonic-gate /* The number of bytes in a int.  */
1120Sstevel@tonic-gate #define SIZEOF_INT 4
1130Sstevel@tonic-gate 
1140Sstevel@tonic-gate /* The number of bytes in a short.  */
1150Sstevel@tonic-gate #define SIZEOF_SHORT 2
1160Sstevel@tonic-gate 
1170Sstevel@tonic-gate /* Define if you have the <dbm.h> header file.  */
1180Sstevel@tonic-gate /* #undef HAVE_DBM_H */
1190Sstevel@tonic-gate 
1200Sstevel@tonic-gate /* Define if you have the <macsock.h> header file.  */
1210Sstevel@tonic-gate /* #undef HAVE_MACSOCK_H */
1220Sstevel@tonic-gate 
1230Sstevel@tonic-gate /* Define if you have the <ndbm.h> header file.  */
1240Sstevel@tonic-gate #define HAVE_NDBM_H 1
1250Sstevel@tonic-gate 
1260Sstevel@tonic-gate /* Define if you have the <stddef.h> header file.  */
1270Sstevel@tonic-gate #define HAVE_STDDEF_H 1
1280Sstevel@tonic-gate 
1290Sstevel@tonic-gate /* Define if you have the <sys/file.h> header file.  */
1300Sstevel@tonic-gate #define HAVE_SYS_FILE_H 1
1310Sstevel@tonic-gate 
1320Sstevel@tonic-gate /* Define if you have the <sys/param.h> header file.  */
1330Sstevel@tonic-gate #define HAVE_SYS_PARAM_H 1
1340Sstevel@tonic-gate 
1350Sstevel@tonic-gate /* Define if you have the <sys/stat.h> header file.  */
1360Sstevel@tonic-gate #define HAVE_SYS_STAT_H 1
1370Sstevel@tonic-gate 
1380Sstevel@tonic-gate /* Define to 1 if you have the <sys/select.h> header file. */
1390Sstevel@tonic-gate #define HAVE_SYS_SELECT_H 1
1400Sstevel@tonic-gate 
1410Sstevel@tonic-gate /* Define to 1 if you have the <sys/socket.h> header file. */
1420Sstevel@tonic-gate #define HAVE_SYS_SOCKET_H 1
1430Sstevel@tonic-gate 
1440Sstevel@tonic-gate /* Define if you have the <sys/time.h> header file.  */
1450Sstevel@tonic-gate #define HAVE_SYS_TIME_H 1
1460Sstevel@tonic-gate 
1470Sstevel@tonic-gate /* Define if you have the <sys/types.h> header file.  */
1480Sstevel@tonic-gate #define HAVE_SYS_TYPES_H 1
1490Sstevel@tonic-gate 
1500Sstevel@tonic-gate /* Define to 1 if you have the <sys/uio.h> header file. */
1510Sstevel@tonic-gate #define HAVE_SYS_UIO_H 1
1520Sstevel@tonic-gate 
1530Sstevel@tonic-gate /* Define if you have the <xom.h> header file.  */
1540Sstevel@tonic-gate /* #undef HAVE_XOM_H */
1550Sstevel@tonic-gate 
1560Sstevel@tonic-gate /* Define if you have the dbm library (-ldbm).  */
1570Sstevel@tonic-gate /* #undef HAVE_LIBDBM */
1580Sstevel@tonic-gate 
1590Sstevel@tonic-gate /* Define if you have the ndbm library (-lndbm).  */
1600Sstevel@tonic-gate /* #undef HAVE_LIBNDBM */
1610Sstevel@tonic-gate 
1620Sstevel@tonic-gate /* Define if you have the nsl library (-lnsl).  */
1630Sstevel@tonic-gate #define HAVE_LIBNSL 1
1640Sstevel@tonic-gate 
1650Sstevel@tonic-gate /* Define if you have the socket library (-lsocket).  */
1660Sstevel@tonic-gate #define HAVE_LIBSOCKET 1
1670Sstevel@tonic-gate 
1680Sstevel@tonic-gate /* Define if you have <sys/filio.h> */
1690Sstevel@tonic-gate #define HAVE_SYS_FILIO_H 1
1700Sstevel@tonic-gate 
1710Sstevel@tonic-gate /* Define if you have socklen_t */
1720Sstevel@tonic-gate #define HAVE_SOCKLEN_T 1
1730Sstevel@tonic-gate 
1740Sstevel@tonic-gate /* Define if you have sockaddr_storage */
1750Sstevel@tonic-gate #define HAVE_STRUCT_SOCKADDR_STORAGE 1
176781Sgtb 
177781Sgtb /* SUNW14resync start */
178781Sgtb 
179781Sgtb /* Define if thread support enabled */
180781Sgtb #define ENABLE_THREADS 1
181781Sgtb 
182781Sgtb /* Define if #pragma weak references work */
183781Sgtb #define HAVE_PRAGMA_WEAK_REF 1
184781Sgtb 
185781Sgtb /* Define if you have POSIX threads libraries and header files. */
186781Sgtb #define HAVE_PTHREAD 1
187781Sgtb 
188781Sgtb /* Define to 1 if you have the `pthread_mutexattr_setrobust_np' function. */
189781Sgtb #define HAVE_PTHREAD_MUTEXATTR_SETROBUST_NP 1
190781Sgtb 
191781Sgtb /* Define if pthread_mutexattr_setrobust_np is provided in the thread library.
192781Sgtb    */
193781Sgtb #define HAVE_PTHREAD_MUTEXATTR_SETROBUST_NP_IN_THREAD_LIB 1
194781Sgtb 
195781Sgtb /* Define to 1 if you have the `pthread_mutex_lock' function. */
196781Sgtb #define HAVE_PTHREAD_MUTEX_LOCK 1
197781Sgtb 
198781Sgtb /* Define to 1 if you have the `pthread_once' function. */
199781Sgtb #define HAVE_PTHREAD_ONCE 1
200781Sgtb 
201781Sgtb /* Define to 1 if you have the `pthread_rwlock_init' function. */
202781Sgtb #define HAVE_PTHREAD_RWLOCK_INIT 1
203781Sgtb 
204781Sgtb /* Define if pthread_rwlock_init is provided in the thread library. */
205781Sgtb #define HAVE_PTHREAD_RWLOCK_INIT_IN_THREAD_LIB 1
206781Sgtb 
207781Sgtb 
208781Sgtb /* XXX */
209781Sgtb /* Define to the necessary symbol if this constant uses a non-standard name on
210781Sgtb    your system. */
211781Sgtb #undef PTHREAD_CREATE_JOINABLE
212781Sgtb 
213781Sgtb /* Define if link-time options for library finalization will be used */
214781Sgtb #undef USE_LINKER_FINI_OPTION
215781Sgtb 
216781Sgtb /* Define if link-time options for library initialization will be used */
217781Sgtb #undef USE_LINKER_INIT_OPTION
218781Sgtb 
219781Sgtb /* from MIT 1.4 configure CC=.../cc */
220781Sgtb #define HAVE_PRAGMA_WEAK_REF 1
221781Sgtb #define DELAY_INITIALIZER 1
222781Sgtb #define USE_LINKER_INIT_OPTION 1
223781Sgtb #define USE_LINKER_FINI_OPTION 1
224781Sgtb 
225781Sgtb #define USE_BUNDLE_ERROR_STRINGS 1
226781Sgtb #ifndef KRB5_PRIVATE
227781Sgtb #define KRB5_PRIVATE 1
228781Sgtb #endif
229781Sgtb /* SUNW14resync end */
230