s4:libnet: Move code using RC4 into its own function
[Samba.git] / third_party / heimdal_build / config.h
blob42b11ace11f5fc0237b57ae842f5825d199d4ffe
1 /*
2 this is a replacement config.h for building the heimdal parts of the
3 Samba source tree
4 */
6 #ifndef HAVE_HEIMDAL_CONFIG_H
7 #define HAVE_HEIMDAL_CONFIG_H
9 #include "include/config.h"
10 #include "../replace/replace.h"
11 #include "../lib/util/attr.h"
13 #define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4"}
15 #define VERSION "Samba"
17 #define PACKAGE VERSION
18 #define PACKAGE_BUGREPORT "https://bugzilla.samba.org/"
19 #define PACKAGE_VERSION VERSION
21 #define RCSID(msg) struct __rcsid { int __rcsdi; }
22 #define KRB5
24 /* This needs to be defined for roken too */
25 #ifdef VOID_RETSIGTYPE
26 #define SIGRETURN(x) return
27 #else
28 #define SIGRETURN(x) return (RETSIGTYPE)(x)
29 #endif
31 #define HDB_DB_DIR ""
33 #undef HAVE_KRB5_ENCRYPT_BLOCK
35 /* Because it can't be defined in roken.h */
36 #ifndef USE_HCRYPTO_IMATH
37 #define USE_HCRYPTO_IMATH
38 #endif
40 /*Workaround for heimdal define vs samba define*/
41 #if defined(HAVE_LIBINTL_H) && defined(HAVE_BINDTEXTDOMAIN) &&\
42 defined(HAVE_TEXTDOMAIN)
43 #define LIBINTL
44 #endif
46 /* heimdal now wants some atomic ops - ask for the non-atomic ones for Samba */
47 #define HEIM_BASE_NON_ATOMIC 1
49 /* lib/replace provides an XSI Compatable strerror_r so use that */
50 #define STRERROR_R_PROTO_COMPATIBLE
52 /* lib/replace provides a closefrom */
53 #ifndef HAVE_CLOSEFROM
54 #define HAVE_CLOSEFROM 1
55 #endif
57 /* lib/replace provides a getprogname */
58 #ifndef HAVE_GETPROGNAME
59 #define HAVE_GETPROGNAME 1
60 #endif
62 /* lib/replace provides a strsep */
63 #ifndef HAVE_STRSEP
64 #define HAVE_STRSEP 1
65 #endif
67 #define fallthrough FALL_THROUGH
69 #endif