diff options
Diffstat (limited to 'crypto/heimdal/include/config.h.in')
-rw-r--r-- | crypto/heimdal/include/config.h.in | 269 |
1 files changed, 157 insertions, 112 deletions
diff --git a/crypto/heimdal/include/config.h.in b/crypto/heimdal/include/config.h.in index 147b3ce..50cf5b1 100644 --- a/crypto/heimdal/include/config.h.in +++ b/crypto/heimdal/include/config.h.in @@ -11,6 +11,28 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } +#ifdef BUILD_KRB5_LIB +#ifndef KRB5_LIB_FUNCTION +#ifdef _WIN32_ +#define KRB5_LIB_FUNCTION _export _stdcall +#else +#define KRB5_LIB_FUNCTION +#endif +#endif +#endif + + +#ifdef BUILD_ROKEN_LIB +#ifndef ROKEN_LIB_FUNCTION +#ifdef _WIN32_ +#define ROKEN_LIB_FUNCTION _export _stdcall +#else +#define ROKEN_LIB_FUNCTION +#endif +#endif +#endif + + /* Define if you want authentication support in telnet. */ #undef AUTHENTICATION @@ -29,6 +51,12 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define this to enable diagnostics in telnet. */ #undef DIAGNOSTICS +/* Define if want to use the weak AFS string to key functions. */ +#undef ENABLE_AFS_STRING_TO_KEY + +/* Define if you want have a thread safe libraries */ +#undef ENABLE_PTHREAD_SUPPORT + /* Define if you want encryption support in telnet. */ #undef ENCRYPTION @@ -57,8 +85,8 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define if you have the `altzone' variable. */ #undef HAVE_ALTZONE -/* define if your system declares altzone */ -#undef HAVE_ALTZONE_DECLARATION +/* Define to 1 if you have the `arc4random' function. */ +#undef HAVE_ARC4RANDOM /* Define to 1 if you have the <arpa/ftp.h> header file. */ #undef HAVE_ARPA_FTP_H @@ -105,6 +133,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define if you have the function `chown'. */ #undef HAVE_CHOWN +/* Define if you have the function `closefrom'. */ +#undef HAVE_CLOSEFROM + /* Define to 1 if you have the <config.h> header file. */ #undef HAVE_CONFIG_H @@ -156,6 +187,54 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* define if you have ndbm compat in db */ #undef HAVE_DB_NDBM +/* Define to 1 if you have the declaration of `altzone', and to 0 if you + don't. */ +#undef HAVE_DECL_ALTZONE + +/* Define to 1 if you have the declaration of `environ', and to 0 if you + don't. */ +#undef HAVE_DECL_ENVIRON + +/* Define to 1 if you have the declaration of `h_errlist', and to 0 if you + don't. */ +#undef HAVE_DECL_H_ERRLIST + +/* Define to 1 if you have the declaration of `h_errno', and to 0 if you + don't. */ +#undef HAVE_DECL_H_ERRNO + +/* Define to 1 if you have the declaration of `h_nerr', and to 0 if you don't. + */ +#undef HAVE_DECL_H_NERR + +/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't. + */ +#undef HAVE_DECL_OPTARG + +/* Define to 1 if you have the declaration of `opterr', and to 0 if you don't. + */ +#undef HAVE_DECL_OPTERR + +/* Define to 1 if you have the declaration of `optind', and to 0 if you don't. + */ +#undef HAVE_DECL_OPTIND + +/* Define to 1 if you have the declaration of `optopt', and to 0 if you don't. + */ +#undef HAVE_DECL_OPTOPT + +/* Define to 1 if you have the declaration of `timezone', and to 0 if you + don't. */ +#undef HAVE_DECL_TIMEZONE + +/* Define to 1 if you have the declaration of `_res', and to 0 if you don't. + */ +#undef HAVE_DECL__RES + +/* Define to 1 if you have the declaration of `__progname', and to 0 if you + don't. */ +#undef HAVE_DECL___PROGNAME + /* Define to 1 if you have the <dirent.h> header file. */ #undef HAVE_DIRENT_H @@ -168,6 +247,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define to 1 if you have the `dn_expand' function. */ #undef HAVE_DN_EXPAND +/* Define to 1 if you have the `door_create' function. */ +#undef HAVE_DOOR_CREATE + /* Define if you have the function `ecalloc'. */ #undef HAVE_ECALLOC @@ -177,9 +259,6 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define if you have the function `emalloc'. */ #undef HAVE_EMALLOC -/* define if your system declares environ */ -#undef HAVE_ENVIRON_DECLARATION - /* Define if you have the function `erealloc'. */ #undef HAVE_EREALLOC @@ -219,8 +298,8 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define if el_init takes four arguments. */ #undef HAVE_FOUR_VALUED_EL_INIT -/* define if krb_put_int takes four arguments. */ -#undef HAVE_FOUR_VALUED_KRB_PUT_INT +/* Have -framework Security */ +#undef HAVE_FRAMEWORK_SECURITY /* Define to 1 if you have the `freeaddrinfo' function. */ #undef HAVE_FREEADDRINFO @@ -288,6 +367,12 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define to 1 if you have the `getpagesize' function. */ #undef HAVE_GETPAGESIZE +/* Define to 1 if you have the `getpeereid' function. */ +#undef HAVE_GETPEEREID + +/* Define to 1 if you have the `getpeerucred' function. */ +#undef HAVE_GETPEERUCRED + /* Define to 1 if you have the `getprogname' function. */ #undef HAVE_GETPROGNAME @@ -331,21 +416,12 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define if you have the `h_errlist' variable. */ #undef HAVE_H_ERRLIST -/* define if your system declares h_errlist */ -#undef HAVE_H_ERRLIST_DECLARATION - /* Define if you have the `h_errno' variable. */ #undef HAVE_H_ERRNO -/* define if your system declares h_errno */ -#undef HAVE_H_ERRNO_DECLARATION - /* Define if you have the `h_nerr' variable. */ #undef HAVE_H_NERR -/* define if your system declares h_nerr */ -#undef HAVE_H_NERR_DECLARATION - /* Define to 1 if you have the <ifaddrs.h> header file. */ #undef HAVE_IFADDRS_H @@ -397,20 +473,8 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define to 1 if you have the `issetugid' function. */ #undef HAVE_ISSETUGID -/* Define to 1 if you have the `krb_disable_debug' function. */ -#undef HAVE_KRB_DISABLE_DEBUG - -/* Define to 1 if you have the `krb_enable_debug' function. */ -#undef HAVE_KRB_ENABLE_DEBUG - -/* Define to 1 if you have the `krb_get_kdc_time_diff' function. */ -#undef HAVE_KRB_GET_KDC_TIME_DIFF - -/* Define to 1 if you have the `krb_get_our_ip_for_realm' function. */ -#undef HAVE_KRB_GET_OUR_IP_FOR_REALM - -/* Define to 1 if you have the `krb_kdctimeofday' function. */ -#undef HAVE_KRB_KDCTIMEOFDAY +/* Define if you want to use the Kerberos Credentials Manager. */ +#undef HAVE_KCM /* Define to 1 if you have the <libutil.h> header file. */ #undef HAVE_LIBUTIL_H @@ -502,9 +566,6 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define if NDBM really is DB (creates files *.db) */ #undef HAVE_NEW_DB -/* define if you have hash functions like md4_finito() */ -#undef HAVE_OLD_HASH_NAMES - /* Define to 1 if you have the `on_exit' function. */ #undef HAVE_ON_EXIT @@ -514,18 +575,6 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* define to use openssl's libcrypto */ #undef HAVE_OPENSSL -/* define if your system declares optarg */ -#undef HAVE_OPTARG_DECLARATION - -/* define if your system declares opterr */ -#undef HAVE_OPTERR_DECLARATION - -/* define if your system declares optind */ -#undef HAVE_OPTIND_DECLARATION - -/* define if your system declares optopt */ -#undef HAVE_OPTOPT_DECLARATION - /* Define to enable basic OSF C2 support. */ #undef HAVE_OSFC2 @@ -535,6 +584,12 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define to 1 if you have the `pidfile' function. */ #undef HAVE_PIDFILE +/* Define to 1 if you have the `poll' function. */ +#undef HAVE_POLL + +/* Define to 1 if you have the <poll.h> header file. */ +#undef HAVE_POLL_H + /* Define to 1 if you have the <pthread.h> header file. */ #undef HAVE_PTHREAD_H @@ -571,6 +626,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define to 1 if you have the <resolv.h> header file. */ #undef HAVE_RESOLV_H +/* Define to 1 if you have the `res_ndestroy' function. */ +#undef HAVE_RES_NDESTROY + /* Define to 1 if you have the `res_nsearch' function. */ #undef HAVE_RES_NSEARCH @@ -928,6 +986,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define to 1 if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H +/* Define to 1 if you have the <sys/ucred.h> header file. */ +#undef HAVE_SYS_UCRED_H + /* Define to 1 if you have the <sys/uio.h> header file. */ #undef HAVE_SYS_UIO_H @@ -955,15 +1016,12 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define to 1 if you have the `tgetent' function. */ #undef HAVE_TGETENT -/* Define to 1 if you have the `timegm' function. */ +/* Define if you have the function `timegm'. */ #undef HAVE_TIMEGM /* Define if you have the `timezone' variable. */ #undef HAVE_TIMEZONE -/* define if your system declares timezone */ -#undef HAVE_TIMEZONE_DECLARATION - /* Define to 1 if you have the <time.h> header file. */ #undef HAVE_TIME_H @@ -991,6 +1049,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define to 1 if the system has the type `uint8_t'. */ #undef HAVE_UINT8_T +/* Define to 1 if the system has the type `uintptr_t'. */ +#undef HAVE_UINTPTR_T + /* Define to 1 if you have the `umask' function. */ #undef HAVE_UMASK @@ -1102,9 +1163,6 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define if you have the `_res' variable. */ #undef HAVE__RES -/* define if your system declares _res */ -#undef HAVE__RES_DECLARATION - /* Define to 1 if you have the `_scrsize' function. */ #undef HAVE__SCRSIZE @@ -1114,36 +1172,15 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define if you have the `__progname' variable. */ #undef HAVE___PROGNAME -/* define if your system declares __progname */ -#undef HAVE___PROGNAME_DECLARATION - /* Define if you have the hesiod package. */ #undef HESIOD /* Define if you are running IRIX 4. */ #undef IRIX4 -/* Define if you have the krb4 package. */ -#undef KRB4 - /* Enable Kerberos 5 support in applications. */ #undef KRB5 -/* Define if krb_mk_req takes const char * */ -#undef KRB_MK_REQ_CONST - -/* This is the krb4 sendauth version. */ -#undef KRB_SENDAUTH_VERS - -/* Define to zero if your krb.h doesn't */ -#undef KRB_VERIFY_NOT_SECURE - -/* Define to one if your krb.h doesn't */ -#undef KRB_VERIFY_SECURE - -/* Define to two if your krb.h doesn't */ -#undef KRB_VERIFY_SECURE_FAIL - /* path to lib */ #undef LIBDIR @@ -1162,6 +1199,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* define if the system is missing a prototype for crypt() */ #undef NEED_CRYPT_PROTO +/* define if the system is missing a prototype for daemon() */ +#undef NEED_DAEMON_PROTO + /* define if the system is missing a prototype for gethostname() */ #undef NEED_GETHOSTNAME_PROTO @@ -1177,9 +1217,15 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* define if the system is missing a prototype for inet_aton() */ #undef NEED_INET_ATON_PROTO +/* define if the system is missing a prototype for iruserok() */ +#undef NEED_IRUSEROK_PROTO + /* define if the system is missing a prototype for mkstemp() */ #undef NEED_MKSTEMP_PROTO +/* define if the system is missing a prototype for SecKeyGetCSPHandle() */ +#undef NEED_SECKEYGETCSPHANDLE_PROTO + /* define if the system is missing a prototype for setenv() */ #undef NEED_SETENV_PROTO @@ -1228,6 +1274,12 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* define if the system is missing a prototype for vsnprintf() */ #undef NEED_VSNPRINTF_PROTO +/* Define if you don't wan't support for AFS. */ +#undef NO_AFS + +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +#undef NO_MINUS_C_MINUS_O + /* Define if you don't want to use mmap. */ #undef NO_MMAP @@ -1237,6 +1289,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define if you have the openldap package. */ #undef OPENLDAP +/* Define if you want support for hdb ldap module */ +#undef OPENLDAP_MODULE + /* define if prototype of openlog is compatible with void openlog(const char *, int, int) */ #undef OPENLOG_PROTO_COMPATIBLE @@ -1262,6 +1317,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define to the version of this package. */ #undef PACKAGE_VERSION +/* Define to enable PKINIT. */ +#undef PKINIT + /* Define if getlogin has POSIX flavour (and not BSD). */ #undef POSIX_GETLOGIN @@ -1277,6 +1335,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* path to sbin */ #undef SBINDIR +/* Define if you want to use samba socket wrappers. */ +#undef SOCKET_WRAPPER_REPLACE + /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS @@ -1335,7 +1396,7 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define this to what the type mode_t should be. */ #undef mode_t -/* Define to `long' if <sys/types.h> does not define. */ +/* Define to `long int' if <sys/types.h> does not define. */ #undef off_t /* Define to `int' if <sys/types.h> does not define. */ @@ -1344,51 +1405,16 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* Define this to what the type sig_atomic_t should be. */ #undef sig_atomic_t -/* Define to `unsigned' if <sys/types.h> does not define. */ +/* Define to `unsigned int' if <sys/types.h> does not define. */ #undef size_t /* Define to `int' if <sys/types.h> doesn't define. */ #undef uid_t -#if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4) -#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S)) -#else -#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S)) -#endif - - - -#if defined(ENCRYPTION) && !defined(AUTHENTICATION) -#define AUTHENTICATION 1 -#endif - -/* Set this to the default system lead string for telnetd - * can contain %-escapes: %s=sysname, %m=machine, %r=os-release - * %v=os-version, %t=tty, %h=hostname, %d=date and time - */ -#undef USE_IM - -/* Used with login -p */ -#undef LOGIN_ARGS - -/* set this to a sensible login */ -#ifndef LOGIN_PATH -#define LOGIN_PATH BINDIR "/login" -#endif - - #ifdef ROKEN_RENAME #include "roken_rename.h" #endif -#ifndef HAVE_KRB_KDCTIMEOFDAY -#define krb_kdctimeofday(X) gettimeofday((X), NULL) -#endif - -#ifndef HAVE_KRB_GET_KDC_TIME_DIFF -#define krb_get_kdc_time_diff() (0) -#endif - #ifdef VOID_RETSIGTYPE #define SIGRETURN(x) return #else @@ -1396,8 +1422,7 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } #endif #ifdef BROKEN_REALLOC -#define realloc(X, Y) isoc_realloc((X), (Y)) -#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y)) +#define realloc(X, Y) rk_realloc((X), (Y)) #endif @@ -1425,3 +1450,23 @@ struct sockaddr_in; #define __STDC__ 0 #endif + + +#if defined(ENCRYPTION) && !defined(AUTHENTICATION) +#define AUTHENTICATION 1 +#endif + +/* Set this to the default system lead string for telnetd + * can contain %-escapes: %s=sysname, %m=machine, %r=os-release + * %v=os-version, %t=tty, %h=hostname, %d=date and time + */ +#undef USE_IM + +/* Used with login -p */ +#undef LOGIN_ARGS + +/* set this to a sensible login */ +#ifndef LOGIN_PATH +#define LOGIN_PATH BINDIR "/login" +#endif + |