aboutsummaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-06-22 00:47:49 +0200
committerRichard Levitte <levitte@openssl.org>2017-06-22 01:24:54 +0200
commit906eb3d0316194681ddac09bfa7d1e5143dcb616 (patch)
treec26853a3a2a7f1379b48ca64ff5dbe5c372ead70 /Configurations
parent410e8c9356e54d0b96ac15ffcae30f4528b9565e (diff)
downloadopenssl-906eb3d0316194681ddac09bfa7d1e5143dcb616.tar.gz
Configure: give config targets the possibility to enable or disable features
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3745)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/00-base-templates.conf4
-rw-r--r--Configurations/README7
2 files changed, 11 insertions, 0 deletions
diff --git a/Configurations/00-base-templates.conf b/Configurations/00-base-templates.conf
index 8c47e9e596..84f71442c1 100644
--- a/Configurations/00-base-templates.conf
+++ b/Configurations/00-base-templates.conf
@@ -42,6 +42,10 @@
BASE_common => {
template => 1,
+
+ enable => [],
+ disable => [],
+
defines =>
sub {
my @defs = ();
diff --git a/Configurations/README b/Configurations/README
index 92ff1ace7f..40fcc45a32 100644
--- a/Configurations/README
+++ b/Configurations/README
@@ -34,6 +34,13 @@ In each table entry, the following keys are significant:
sys_id => System identity for systems where that
is difficult to determine automatically.
+ enable => Enable specific configuration features.
+ This MUST be an array of words.
+ disable => Disable specific configuration features.
+ This MUST be an array of words.
+ Note: if the same feature is both enabled
+ and disabled, disable wins.
+
cc => The C compiler command, usually one of "cc",
"gcc" or "clang". This command is normally
also used to link object files and