aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/buildh.in
blob: 8f2f277c89247b4916de8cd3e24a28d12af9a66e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

#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

#ifdef __GNUG__
  #define BOTAN_COMPILER_HAS_GCC_INLINE_ASM 1
#endif

#define BOTAN_USE_TR1_SHARED_PTR
//#define BOTAN_USE_BOOST_TR1_SHARED_PTR

#ifndef BOTAN_COMPILER_HAS_GCC_INLINE_ASM
  #define BOTAN_COMPILER_HAS_GCC_INLINE_ASM 0
#endif

#ifndef BOTAN_DLL
  #define BOTAN_DLL @{var:dll_export_flags}
#endif

@{var:defines}
@{var:local_config}
#endif