aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/buildh.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/buildh.in')
-rw-r--r--src/build-data/buildh.in43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
new file mode 100644
index 000000000..b0ffc87a1
--- /dev/null
+++ b/src/build-data/buildh.in
@@ -0,0 +1,43 @@
+
+#ifndef BOTAN_BUILD_CONFIG_H__
+#define BOTAN_BUILD_CONFIG_H__
+
+/*
+This file was automatically generated
+
+@{var:timestamp} UTC
+
+by @{var:user} on @{var:hostname}
+
+@{var:command-line}
+
+Target
+-------
+Compiler: @{var:cc} @{var:lib_opt} @{var:mach_opt}
+Arch: @{var:submodel}/@{var:arch}
+OS: @{var:os}
+
+Modules
+-------
+@{var:mod-list}
+*/
+
+#define BOTAN_VERSION_MAJOR @{var:version_major}
+#define BOTAN_VERSION_MINOR @{var:version_minor}
+#define BOTAN_VERSION_PATCH @{var:version_patch}
+
+#define BOTAN_MP_WORD_BITS @{var:mp_bits}
+#define BOTAN_DEFAULT_BUFFER_SIZE 4096
+#define BOTAN_MEM_POOL_CHUNK_SIZE 64*1024
+#define BOTAN_PRIVATE_KEY_OP_BLINDING_BITS 64
+
+#define BOTAN_KARAT_MUL_THRESHOLD 32
+#define BOTAN_KARAT_SQR_THRESHOLD 32
+
+#ifndef BOTAN_DLL
+ #define BOTAN_DLL @{var:dll_export_flags}
+#endif
+
+@{var:defines}
+@{var:local_config}
+#endif