aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-13 15:52:55 +0000
committerlloyd <[email protected]>2010-06-13 15:52:55 +0000
commitdf0222e101d908151be837e7ef46ab715f71973f (patch)
treee64c1a35ede1a7c43d20bbd49a2d4b2f1cdf4a3b
parent781712f324aac1df9b3e7400bb134fb2641974dc (diff)
Rename the --use-boost-python optin to --with-boost-python, and add a
--without-boost-python to explicitly disable it. This makes it much easier to use at least in Gentoo's ebuild system, and perhaps with other packaging systems as well.
-rwxr-xr-xconfigure.py7
-rw-r--r--doc/building.tex2
-rw-r--r--doc/log.txt1
3 files changed, 8 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index c63f9a4b1..4c8aad17c 100755
--- a/configure.py
+++ b/configure.py
@@ -208,10 +208,15 @@ def process_command_line(args):
build_group.add_option('--disable-debug', dest='debug_build',
action='store_false', help=SUPPRESS_HELP)
- build_group.add_option('--use-boost-python', dest='boost_python',
+ build_group.add_option('--with-boost-python', dest='boost_python',
default=False, action='store_true',
help='enable Boost.Python wrapper')
+ build_group.add_option('--without-boost-python',
+ dest='boost_python',
+ action='store_false',
+ help=SUPPRESS_HELP)
+
build_group.add_option('--gen-amalgamation', dest='gen_amalgamation',
default=False, action='store_true',
help='generate amalgamation files')
diff --git a/doc/building.tex b/doc/building.tex
index 0e3f03d4d..30ec0afb0 100644
--- a/doc/building.tex
+++ b/doc/building.tex
@@ -333,7 +333,7 @@ to set the appropriate flags in their Makefile/project file.
The Python wrappers for Botan use Boost.Python, so you must have Boost
installed. To build the wrappers, add the flag
-\verb|--use-boost-python|
+\verb|--with-boost-python|
to \verb|configure.py|. This will create a second makefile,
\verb|Makefile.python|, with instructions for building the Python
diff --git a/doc/log.txt b/doc/log.txt
index 8a9b5a138..900ecdb1e 100644
--- a/doc/log.txt
+++ b/doc/log.txt
@@ -4,6 +4,7 @@
- Use constant time multiplication in IDEA
- Avoid possible timing attack against OAEP decoding
- Removed FORK-256; rarely used and it has been broken
+ - Rename --use-boost-python to --with-boost-python
- Skip building shared libraries on MinGW/Cygwin
- Fix creation of 512 and 768 bit DL groups using the DSA kosherizer
- Fix compilation on GCC versions before 4.3 (missing cpuid.h)