Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-01-11 14:40:43 +0300
committerRichard Levitte <levitte@openssl.org>2003-01-11 14:40:43 +0300
commitdfc3b51e786d8686c208f44a953d0b24bc0b86f7 (patch)
tree6c4856dd5c25b36fa2c681116f31cbf80eb4b8d9 /Configure
parent7f2e024e787ef17c41db40ae7844ba9f9890e933 (diff)
If the user said 'shared' and we haven't included support for shared libraries,
warn him or her. Reminder by Andrew Marlow <apm35@student.open.ac.uk>
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure12
1 files changed, 12 insertions, 0 deletions
diff --git a/Configure b/Configure
index f3eb4c63b5..d41f38d087 100755
--- a/Configure
+++ b/Configure
@@ -955,6 +955,8 @@ my $shared_extension = $fields[$idx_shared_extension];
my $ranlib = $fields[$idx_ranlib];
my $arflags = $fields[$idx_arflags];
+my $no_shared_warn=0;
+
$cflags="$flags$cflags" if ($flags ne "");
# Kerberos settings. The flavor must be provided from outside, either through
@@ -1106,6 +1108,7 @@ if ($zlib)
my $shared_mark = "";
if ($shared_target eq "")
{
+ $no_shared_warn = 1 if !$no_shared;
$no_shared = 1;
}
if (!$no_shared)
@@ -1512,6 +1515,15 @@ applications as the compiler options required on this system are not known.
See file INSTALL for details if you need multi-threading.
EOF
+print <<\EOF if ($no_shared_warn);
+
+You gave the option 'shared'. Normally, that would give you shared libraries.
+Unfortunately, the OpenSSL configuration doesn't include shared library support
+for this platform yet, so it will pretend you gave the option 'no-shared'. If
+you can inform the developpers (openssl-dev\@openssl.org) how to support shared
+libraries on this platform, they will at least look at it and try their best.
+EOF
+
exit(0);
sub usage