aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-12 16:01:14 +0000
committerlloyd <[email protected]>2008-10-12 16:01:14 +0000
commit460a802025d3b0cbe882e08273e824fd09daa8bf (patch)
treeeff68133abc6e871655af52e3f0bcebdb5a821d3 /src/build-data
parent109cb25ffbb58ab2dcceef7777eee4c6b60a7982 (diff)
Add a new switch to configure.pl --with-tr1-implementation which
accepts options 'boost' and 'system'. Now GF(p) math (and indirectly, ECDSA) will be enabled if --with-tr1=boost or --with-tr1=system is passed at build time to enable a shared_ptr implementation. Modules can now specify that they require TR1, in which case they will only be autoloaded if a TR1 implementation was set (they can choose which one to use by checking the feature macros from build.h) The gfpmath module was set to load only on request. That has changed to load automatically (but will only do so if a TR1 impl is set as described above). CVC has also been marked as requiring TR1. (ECDSA/ECDH are not, since they do not use tr1 shared_ptr directly) Update and cleanup help output. Do not print the list of modules in --help anymore (too long); you can still get the list (in an easier to parse format) --module-info. Reorganize the help text so the more useful options are described closer to the top. Fix the --with-endian and --with-unaligned-mem options: they were being accepted but ignored.
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/buildh.in8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index da4854e76..87ff62b72 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -31,14 +31,6 @@
#define BOTAN_USE_GCC_INLINE_ASM 0
#endif
-/* Which TR1 shared_ptr implementation to use? */
-//#define BOTAN_USE_STD_TR1
-#define BOTAN_USE_BOOST_TR1
-
-#if !defined(BOTAN_USE_BOOST_TR1) and !defined(BOTAN_USE_STD_TR1)
- #define BOTAN_USE_BOOST_TR1
-#endif
-
/* Target identification and feature test macros */
@{var:defines}