]> git.samba.org - kai/samba.git/blobdiff - source4/heimdal_build/config.h
heimdal_build: Use consistent name for heimbase.
[kai/samba.git] / source4 / heimdal_build / config.h
index e15c6effa8207e3a7192eaf7472149469e2236f5..0fdb292c9655963d307790cde0e64a23a7a918fc 100644 (file)
@@ -8,6 +8,16 @@
 
 #include "include/config.h"
 #include "../replace/replace.h"
+#include "../lib/util/attr.h"
+#define HEIMDAL_NORETURN_ATTRIBUTE _NORETURN_
+#define HEIMDAL_PRINTF_ATTRIBUTE(x) FORMAT_ATTRIBUTE(x)
+#define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4"}
+
+#define VERSION "Samba"
+
+#define PACKAGE VERSION
+#define PACKAGE_BUGREPORT "https://bugzilla.samba.org/"
+#define PACKAGE_VERSION VERSION
 
 #define RCSID(msg) struct __rcsid { int __rcsdi; }
 #define KRB5
 
 #undef HAVE_KRB5_ENCRYPT_BLOCK
 
+/* Because it can't be defined in roken.h */
+#ifndef USE_HCRYPTO_IMATH
+#define USE_HCRYPTO_IMATH
+#endif
+
+/*Workaround for heimdal define vs samba define*/
+#ifdef HAVE_LIBINTL_H
+#define LIBINTL
+#endif
+
+/* heimdal now wants some atomic ops - ask for the non-atomic ones for Samba */
+#define HEIM_BASE_NON_ATOMIC 1
+
 #endif