aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-09-08 07:08:39 +0000
committerlloyd <[email protected]>2006-09-08 07:08:39 +0000
commit04394be5f29cb71c9c49180bffd37751d8ce7109 (patch)
tree4cee61fe588e581c6c798ad7f3653b3dbc079521 /misc
parent2857819945f5ad3cfd7899edae173385176ae7bd (diff)
Check in the template for the build.h file
Diffstat (limited to 'misc')
-rw-r--r--misc/config/buildh.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/misc/config/buildh.in b/misc/config/buildh.in
new file mode 100644
index 000000000..4f4e976be
--- /dev/null
+++ b/misc/config/buildh.in
@@ -0,0 +1,21 @@
+/*************************************************
+* Build Config Header File *
+* (C) 1999-2006 The Botan Project *
+*************************************************/
+
+#ifndef BOTAN_BUILD_CONFIG_H__
+#define BOTAN_BUILD_CONFIG_H__
+
+#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_KARAT_MUL_THRESHOLD 12
+#define BOTAN_KARAT_SQR_THRESHOLD 12
+
+@{var:defines}
+@{var:local_config}
+#endif