X-Git-Url: http://www.project-moonshot.org/gitweb/?p=cyrus-sasl.git;a=blobdiff_plain;f=config.h.in;fp=config.h.in;h=0000000000000000000000000000000000000000;hp=c518077d18b160681c0c2a0df007037154503ef4;hb=295a6125af1fe48b056eae56088c099dc1355da2;hpb=89888bda3e8a30538194b90e5b08b04e8800747f diff --git a/config.h.in b/config.h.in deleted file mode 100644 index c518077..0000000 --- a/config.h.in +++ /dev/null @@ -1,598 +0,0 @@ -/* config.h.in. Generated from configure.in by autoheader. */ - - -/* acconfig.h - autoheader configuration input */ -/* - * Copyright (c) 1998-2003 Carnegie Mellon University. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. The name "Carnegie Mellon University" must not be used to - * endorse or promote products derived from this software without - * prior written permission. For permission or any other legal - * details, please contact - * Office of Technology Transfer - * Carnegie Mellon University - * 5000 Forbes Avenue - * Pittsburgh, PA 15213-3890 - * (412) 268-4387, fax: (412) 268-7395 - * tech-transfer@andrew.cmu.edu - * - * 4. Redistributions of any form whatsoever must retain the following - * acknowledgment: - * "This product includes software developed by Computing Services - * at Carnegie Mellon University (http://www.cmu.edu/computing/)." - * - * CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO - * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - * AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE - * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN - * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING - * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -#ifndef CONFIG_H -#define CONFIG_H - - -/* Runtime config file location */ -#undef CONFIGDIR - -/* Do we need a leading _ for dlsym? */ -#undef DLSYM_NEEDS_UNDERSCORE - -/* Should we build a shared plugin (via dlopen) library? */ -#undef DO_DLOPEN - -/* should we support sasl_checkapop? */ -#undef DO_SASL_CHECKAPOP - -/* should we support setpass() for SRP? */ -#undef DO_SRP_SETPASS - -/* should we mutex-wrap calls into the GSS library? */ -#undef GSS_USE_MUTEXES - -/* Enable 'alwaystrue' password verifier? */ -#undef HAVE_ALWAYSTRUE - -/* Include support for Courier's authdaemond? */ -#undef HAVE_AUTHDAEMON - -/* Define to 1 if you have the header file. */ -#undef HAVE_DES_H - -/* Define to 1 if you have the header file, and it defines `DIR'. - */ -#undef HAVE_DIRENT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - -/* Define to 1 if you have the `dns_lookup' function. */ -#undef HAVE_DNS_LOOKUP - -/* Define to 1 if you have the `dn_expand' function. */ -#undef HAVE_DN_EXPAND - -/* Define to 1 if you have the header file. */ -#undef HAVE_FCNTL_H - -/* Do we have a getaddrinfo? */ -#undef HAVE_GETADDRINFO - -/* Define to 1 if you have the `getdomainname' function. */ -#undef HAVE_GETDOMAINNAME - -/* Define to 1 if you have the `gethostname' function. */ -#undef HAVE_GETHOSTNAME - -/* Do we have a getnameinfo() function? */ -#undef HAVE_GETNAMEINFO - -/* Define to 1 if you have the `getpwnam' function. */ -#undef HAVE_GETPWNAM - -/* Define to 1 if you have the `getspnam' function. */ -#undef HAVE_GETSPNAM - -/* do we have getsubopt()? */ -#undef HAVE_GETSUBOPT - -/* Define to 1 if you have the `gettimeofday' function. */ -#undef HAVE_GETTIMEOFDAY - -/* Define to 1 if you have the header file. */ -#undef HAVE_GSSAPI_GSSAPI_EXT_H - -/* Define if you have the gssapi.h header file */ -#undef HAVE_GSSAPI_H - -/* Define to 1 if you have the `gsskrb5_register_acceptor_identity' function. - */ -#undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY - -/* Define if your GSSAPI implimentation defines GSS_C_NT_HOSTBASED_SERVICE */ -#undef HAVE_GSS_C_NT_HOSTBASED_SERVICE - -/* Define if your GSSAPI implimentation defines GSS_C_NT_USER_NAME */ -#undef HAVE_GSS_C_NT_USER_NAME - -/* Define to 1 if you have the `gss_decapsulate_token' function. */ -#undef HAVE_GSS_DECAPSULATE_TOKEN - -/* Define to 1 if you have the `gss_encapsulate_token' function. */ -#undef HAVE_GSS_ENCAPSULATE_TOKEN - -/* Define to 1 if you have the `gss_oid_equal' function. */ -#undef HAVE_GSS_OID_EQUAL - -/* Define to 1 if you have the `inet_aton' function. */ -#undef HAVE_INET_ATON - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the `jrand48' function. */ -#undef HAVE_JRAND48 - -/* Do we have Kerberos 4 Support? */ -#undef HAVE_KRB - -/* Define to 1 if you have the `krb_get_err_text' function. */ -#undef HAVE_KRB_GET_ERR_TEXT - -/* Define to 1 if you have the header file. */ -#undef HAVE_LBER_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_LDAP_H - -/* Define to 1 if you have the `resolv' library (-lresolv). */ -#undef HAVE_LIBRESOLV - -/* Define to 1 if you have the header file. */ -#undef HAVE_LIMITS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_MALLOC_H - -/* Define to 1 if you have the `memcpy' function. */ -#undef HAVE_MEMCPY - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the `mkdir' function. */ -#undef HAVE_MKDIR - -/* Do we have mysql support? */ -#undef HAVE_MYSQL - -/* Define to 1 if you have the header file, and it defines `DIR'. */ -#undef HAVE_NDIR_H - -/* Do we have OpenSSL? */ -#undef HAVE_OPENSSL - -/* Use OPIE for server-side OTP? */ -#undef HAVE_OPIE - -/* Define to 1 if you have the header file. */ -#undef HAVE_PAM_PAM_APPL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_PATHS_H - -/* Do we have Postgres support? */ -#undef HAVE_PGSQL - -/* Include Support for pwcheck daemon? */ -#undef HAVE_PWCHECK - -/* Include support for saslauthd? */ -#undef HAVE_SASLAUTHD - -/* Define to 1 if you have the header file. */ -#undef HAVE_SECURITY_PAM_APPL_H - -/* Define to 1 if you have the `select' function. */ -#undef HAVE_SELECT - -/* Does the system have snprintf()? */ -#undef HAVE_SNPRINTF - -/* Does sockaddr have an sa_len? */ -#undef HAVE_SOCKADDR_SA_LEN - -/* Define to 1 if you have the `socket' function. */ -#undef HAVE_SOCKET - -/* Do we have a socklen_t? */ -#undef HAVE_SOCKLEN_T - -/* Do we have SQLite support? */ -#undef HAVE_SQLITE - -/* Is there an ss_family in sockaddr_storage? */ -#undef HAVE_SS_FAMILY - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDARG_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the `strchr' function. */ -#undef HAVE_STRCHR - -/* Define to 1 if you have the `strdup' function. */ -#undef HAVE_STRDUP - -/* Define to 1 if you have the `strerror' function. */ -#undef HAVE_STRERROR - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the `strspn' function. */ -#undef HAVE_STRSPN - -/* Define to 1 if you have the `strstr' function. */ -#undef HAVE_STRSTR - -/* Define to 1 if you have the `strtol' function. */ -#undef HAVE_STRTOL - -/* Do we have struct sockaddr_stroage? */ -#undef HAVE_STRUCT_SOCKADDR_STORAGE - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYSEXITS_H - -/* Define to 1 if you have the `syslog' function. */ -#undef HAVE_SYSLOG - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYSLOG_H - -/* Define to 1 if you have the header file, and it defines `DIR'. - */ -#undef HAVE_SYS_DIR_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_FILE_H - -/* Define to 1 if you have the header file, and it defines `DIR'. - */ -#undef HAVE_SYS_NDIR_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_PARAM_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TIME_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_UIO_H - -/* Define to 1 if you have that is POSIX.1 compatible. */ -#undef HAVE_SYS_WAIT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_VARARGS_H - -/* Does the system have vsnprintf()? */ -#undef HAVE_VSNPRINTF - -/* define if your compiler has __attribute__ */ -#undef HAVE___ATTRIBUTE__ - -/* Should we keep handle to Berkeley DB open in SASLDB plugin? */ -#undef KEEP_DB_OPEN - -/* Ignore IP Address in Kerberos 4 tickets? */ -#undef KRB4_IGNORE_IP_ADDRESS - -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ -#undef LT_OBJDIR - -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Where do we look for Courier authdaemond's socket? */ -#undef PATH_AUTHDAEMON_SOCKET - -/* Where do we look for saslauthd's socket? */ -#undef PATH_SASLAUTHD_RUNDIR - -/* Runtime plugin location */ -#undef PLUGINDIR - -/* Force a preferred mechanism */ -#undef PREFER_MECH - -/* Location of pwcheck socket */ -#undef PWCHECKDIR - -/* Define as the return type of signal handlers (`int' or `void'). */ -#undef RETSIGTYPE - -/* Use BerkeleyDB for SASLdb */ -#undef SASL_BERKELEYDB - -/* Path to default SASLdb database */ -#undef SASL_DB_PATH - -/* File to use for source of randomness */ -#undef SASL_DEV_RANDOM - -/* Use GDBM for SASLdb */ -#undef SASL_GDBM - -/* Use NDBM for SASLdb */ -#undef SASL_NDBM - -/* The size of `long', as computed by sizeof. */ -#undef SIZEOF_LONG - -/* Link ANONYMOUS Staticly */ -#undef STATIC_ANONYMOUS - -/* Link CRAM-MD5 Staticly */ -#undef STATIC_CRAMMD5 - -/* Link DIGEST-MD5 Staticly */ -#undef STATIC_DIGESTMD5 - -/* Link GSSAPI Staticly */ -#undef STATIC_GSSAPIV2 - -/* User KERBEROS_V4 Staticly */ -#undef STATIC_KERBEROS4 - -/* Link ldapdb plugin Staticly */ -#undef STATIC_LDAPDB - -/* Link LOGIN Staticly */ -#undef STATIC_LOGIN - -/* Link NTLM Staticly */ -#undef STATIC_NTLM - -/* Link OTP Staticly */ -#undef STATIC_OTP - -/* Link PASSDSS Staticly */ -#undef STATIC_PASSDSS - -/* Link PLAIN Staticly */ -#undef STATIC_PLAIN - -/* Link SASLdb Staticly */ -#undef STATIC_SASLDB - -/* Link SQL plugin staticly */ -#undef STATIC_SQL - -/* Link SRP Staticly */ -#undef STATIC_SRP - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define to 1 if you can safely include both and . */ -#undef TIME_WITH_SYS_TIME - -/* Should we try to dlopen() plugins while staticly compiled? */ -#undef TRY_DLOPEN_WHEN_STATIC - -/* use the doors IPC API for saslauthd? */ -#undef USE_DOORS - -/* Version number of package */ -#undef VERSION - -/* Use DES */ -#undef WITH_DES - -/* Linking against dmalloc? */ -#undef WITH_DMALLOC - -/* Use internal RC4 implementation? */ -#undef WITH_RC4 - -/* Use OpenSSL DES Implementation */ -#undef WITH_SSL_DES - -/* Define to empty if `const' does not conform to ANSI C. */ -#undef const - -/* Define to `__inline__' or `__inline' if that's what the C compiler - calls it, or to nothing if 'inline' is not supported under any name. */ -#ifndef __cplusplus -#undef inline -#endif - -/* Define to `int' if does not define. */ -#undef mode_t - -/* Define to `int' if does not define. */ -#undef pid_t - - - - -/* Create a struct iovec if we need one */ -#if !defined(_WIN32) && !defined(HAVE_SYS_UIO_H) -/* (win32 is handled in sasl.h) */ -struct iovec { - char *iov_base; - long iov_len; -}; -#else -#include -#include -#endif - -/* location of the random number generator */ -#ifdef DEV_RANDOM -#undef DEV_RANDOM -#endif -#define DEV_RANDOM SASL_DEV_RANDOM - -/* if we've got krb_get_err_txt, we might as well use it; - especially since krb_err_txt isn't in some newer distributions - (MIT Kerb for Mac 4 being a notable example). If we don't have - it, we fall back to the krb_err_txt array */ -#ifdef HAVE_KRB_GET_ERR_TEXT -#define get_krb_err_txt krb_get_err_text -#else -#define get_krb_err_txt(X) (krb_err_txt[(X)]) -#endif - -/* Make Solaris happy... */ -#ifndef __EXTENSIONS__ -#define __EXTENSIONS__ -#endif - -/* Make Linux happy... */ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif - -#ifndef HAVE___ATTRIBUTE__ -/* Can't use attributes... */ -#define __attribute__(foo) -#endif - -#define SASL_PATH_ENV_VAR "SASL_PATH" -#define SASL_CONF_PATH_ENV_VAR "SASL_CONF_PATH" - -#include -#include -#include -#ifndef WIN32 -# include -# ifdef HAVE_SYS_PARAM_H -# include -# endif -#else /* WIN32 */ -# include -#endif /* WIN32 */ -#include - -#include - -#ifndef HAVE_SOCKLEN_T -typedef unsigned int socklen_t; -#endif /* HAVE_SOCKLEN_T */ - -#ifndef HAVE_STRUCT_SOCKADDR_STORAGE -#define _SS_MAXSIZE 128 /* Implementation specific max size */ -#define _SS_PADSIZE (_SS_MAXSIZE - sizeof (struct sockaddr)) - -struct sockaddr_storage { - struct sockaddr ss_sa; - char __ss_pad2[_SS_PADSIZE]; -}; -# define ss_family ss_sa.sa_family -#endif /* !HAVE_STRUCT_SOCKADDR_STORAGE */ - -#ifndef AF_INET6 -/* Define it to something that should never appear */ -#define AF_INET6 AF_MAX -#endif - -#ifndef HAVE_GETADDRINFO -#define getaddrinfo sasl_getaddrinfo -#define freeaddrinfo sasl_freeaddrinfo -#define gai_strerror sasl_gai_strerror -#endif - -#ifndef HAVE_GETNAMEINFO -#define getnameinfo sasl_getnameinfo -#endif - -#if !defined(HAVE_GETNAMEINFO) || !defined(HAVE_GETADDRINFO) -#include "gai.h" -#endif - -#ifndef AI_NUMERICHOST /* support glibc 2.0.x */ -#define AI_NUMERICHOST 4 -#define NI_NUMERICHOST 2 -#define NI_NAMEREQD 4 -#define NI_NUMERICSERV 8 -#endif - -/* Defined in RFC 1035. max strlen is only 253 due to length bytes. */ -#ifndef MAXHOSTNAMELEN -#define MAXHOSTNAMELEN 255 -#endif - -#ifndef HAVE_SYSEXITS_H -#include "exits.h" -#else -#include "sysexits.h" -#endif - -/* Get the correct time.h */ -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif - -#ifndef HIER_DELIMITER -#define HIER_DELIMITER '/' -#endif - -#endif /* CONFIG_H */ -