aboutsummaryrefslogtreecommitdiffstats
path: root/configure.pl
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-30 19:38:54 +0000
committerlloyd <[email protected]>2008-09-30 19:38:54 +0000
commitab225988716bceb8f87e635bc411bccdc2b7d4f1 (patch)
tree176a3cf09a56502b290b112d163fb4b9b36b331c /configure.pl
parentb036b755f2eff775676388e7e7a9e16175050d8b (diff)
Improve configure.pl's --help output. s/--module-set/--enable-module-set/
Diffstat (limited to 'configure.pl')
-rwxr-xr-xconfigure.pl48
1 files changed, 22 insertions, 26 deletions
diff --git a/configure.pl b/configure.pl
index f8f58088c..0ff96c0cc 100755
--- a/configure.pl
+++ b/configure.pl
@@ -276,39 +276,35 @@ To change what modules to use:
Known modules:
$modules
-To add a set of modules:
- --module-set=[$sets]
-
- --module-info: display more information about modules
- --noauto: don't enable any modules unless specifically named
+ --module-info display more information about modules
+ --disable-autoconfig don't enable any modules unless specifically named
To change where the library is installed:
- --prefix=PATH: set the base installation directory
- --libdir=PATH: install library files in \${prefix}/\${libdir}
- --docdir=PATH: install documentation in \${prefix}/\${docdir}
+ --prefix=PATH set the base installation directory
+ --libdir=PATH install library files in \${prefix}/\${libdir}
+ --docdir=PATH install documentation in \${prefix}/\${docdir}
To change build options:
- --disable-debug: don't worry about debugging
- --enable-debug: set compiler flags for debugging
-
- --enable-shared: enable shared libraries
- --disable-shared: don't build shared libararies
-
- --with-build-dir=DIR: setup the build in DIR
- --with-local-config=FILE: include the contents of FILE into build.h
+ --disable-debug don't worry about debugging
+ --enable-debug set compiler flags for debugging
-For more information about supported CPUs, use --arch-info:
+ --enable-shared enable shared libraries
+ --disable-shared don't build shared libararies
- --arch-info=[$cpus]
+ --with-build-dir=DIR setup the build in DIR
+ --with-local-config=FILE include the contents of FILE into build.h
For diagnostic output:
- --help display this help
- --version display the version of Botan
- --quiet display only warnings and errors
- --trace enable runtime tracing of this program
+ --show-arch-info=CPU show more information about CPU
+ [$cpus]
+
+ --help display this help
+ --version display the version of Botan
+ --quiet display only warnings and errors
+ --trace enable runtime tracing of this program
See doc/building.pdf for more information about this program.
@@ -680,16 +676,16 @@ sub get_options {
'enable-modules=s' => sub { add_modules($config, $_[1]); },
'disable-modules=s' => sub { disable_modules($config, $_[1]); },
+ 'enable-module-sets=s' => sub { add_module_sets($config, $_[1]); },
+
'with-build-dir=s' => sub { $$config{'build-dir'} = $_[1]; },
'with-endian=s' => sub { &$save_option(@_); },
'with-unaligned-mem=s' => sub { &$save_option(@_); },
'with-local-config=s' =>
- sub { &$save_option('local_config', slurp_file($_[1])); },
+ sub { &$save_option('local_config', slurp_file($_[1])); },
- 'arch-info=s' => sub { emit_help(arch_info($_[1])); },
+ 'show-arch-info=s' => sub { emit_help(arch_info($_[1])); },
'make-style=s' => sub { &$save_option(@_); },
- 'module-set=s' => sub { add_module_sets($config, $_[1]); },
- 'module-sets=s' => sub { add_module_sets($config, $_[1]); },
'dumb-gcc|gcc295x' => sub { $$config{'gcc_bug'} = 1; }
);