2 this is a replacement config.h for building the heimdal parts of the
6 #ifndef HAVE_HEIMDAL_CONFIG_H
7 #define HAVE_HEIMDAL_CONFIG_H 1
9 #include "include/config.h"
14 #ifdef VOID_RETSIGTYPE
15 #define SIGRETURN(x) return
17 #define SIGRETURN(x) return (RETSIGTYPE)(x)
20 /* path to sysconf - should we force this to samba LIBDIR ? */
21 #define SYSCONFDIR "/etc"
23 /* HDB module dir - set to Samba LIBDIR/hdb ? */
24 #define HDBDIR "/usr/heimdal/lib"
26 /* Maximum values on all known systems */
27 #define MaxHostNameLen (64+4)
28 #define MaxPathLen (1024+4)
30 #define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.7rc1"}
32 /* even if we do have dlopen, we don't want heimdal using it */
35 #define VERSION "Samba"
37 #define ROKEN_LIB_FUNCTION
39 /* these should be done with configure tests */
42 /* we need to tell roken about the functions that Samba replaces in lib/replace */
44 #define HAVE_SETEUID 1
47 #define GETHOSTBYADDR_PROTO_COMPATIBLE
48 #define GETSERVBYNAME_PROTO_COMPATIBLE
49 #define OPENLOG_PROTO_COMPATIBLE
50 #define GETSOCKNAME_PROTO_COMPATIBLE
52 #ifndef HAVE_SOCKLEN_T
53 #define HAVE_SOCKLEN_T
59 #ifndef HAVE_SOCKLEN_T
60 #define HAVE_SOCKLEN_T