make the UID_WRAPPER skip checks at runtime
[sfrench/samba-autobuild/.git] / source4 / heimdal_build / config.h
1 /*
2   this is a replacement config.h for building the heimdal parts of the
3   Samba source tree
4 */
5
6 #ifndef HAVE_HEIMDAL_CONFIG_H
7 #define HAVE_HEIMDAL_CONFIG_H
8
9 #include "include/config.h"
10 #include "../replace/replace.h"
11
12 #if !defined(HAVE_DIRFD) && !defined(HAVE_DIRFD_DECL) && !defined(dirfd)
13 #define dirfd(d) (-1)
14 #endif
15
16 #define RCSID(msg) struct __rcsid { int __rcsdi; }
17 #define KRB5
18
19 /* This needs to be defined for roken too */
20 #ifdef VOID_RETSIGTYPE
21 #define SIGRETURN(x) return
22 #else
23 #define SIGRETURN(x) return (RETSIGTYPE)(x)
24 #endif
25
26 #define HDB_DB_DIR ""
27
28 #undef HAVE_KRB5_ENCRYPT_BLOCK
29
30 #if defined(UID_WRAPPER)
31 #if !defined(UID_WRAPPER_REPLACE) && !defined(UID_WRAPPER_NOT_REPLACE)
32 #define UID_WRAPPER_REPLACE
33 #include "../uid_wrapper/uid_wrapper.h"
34 #endif
35 #else
36 #define uwrap_enabled() 0
37 #endif
38
39 #endif