1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source4/heimdal_build/config.h
Andrew Bartlett 4482cf72d4 r7682: Move the properties of our heimdal build from heimdal_build/config.h
(which gets included by heimdal, or shoudl be) into
auth/kerberos/kerberos.h (which is used by Samba, but not by the
Heimdal code).

Andrew Barteltt
(This used to be commit 3f473a9377)
2007-10-10 13:18:22 -05:00

56 lines
1.2 KiB
C

/*
this is a replacement config.h for building the heimdal parts of the
Samba source tree
*/
/* bring in the samba4 config.h */
#include "include/config.h"
#ifdef HAVE_KRB5
#define RCSID(msg) \
static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
#ifdef VOID_RETSIGTYPE
#define SIGRETURN(x) return
#else
#define SIGRETURN(x) return (RETSIGTYPE)(x)
#endif
#ifndef MAXPATHLEN
#define MAXPATHLEN (1024+4)
#endif
/* path to sysconf - should we force this to samba LIBDIR ? */
#define SYSCONFDIR "/etc"
/* Maximum values on all known systems */
#define MaxHostNameLen (64+4)
#define MaxPathLen (1024+4)
#define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.7rc1"}
/* even if we do have dlopen, we don't want heimdal using it */
#undef HAVE_DLOPEN
#define VERSION "Samba"
#define ROKEN_LIB_FUNCTION
/* these should be done with configure tests */
#define HAVE_H_ERRNO
#define HAVE_INET_ATON
#define HAVE_LONG_LONG
#define HAVE_GETHOSTNAME
#define HAVE_SOCKLEN_T
#define HAVE_GETNAMEINFO
#define HAVE_STRUCT_WINSIZE
#define HAVE_STRUCT_SOCKADDR_STORAGE
#define HAVE_STRUCT_ADDRINFO
#define HAVE_GAI_STRERROR
#include <sys/types.h>
#include "lib/replace/replace.h"
#endif