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:
authorGeoff Thorpe <geoff@openssl.org>2000-04-06 15:56:45 +0400
committerGeoff Thorpe <geoff@openssl.org>2000-04-06 15:56:45 +0400
commiteca57e925a5a318d0880f6edb03532cb1b415ae9 (patch)
tree4eca9e68d0da90752c63c798278893c13864c9b3 /Configure
parentbc2aadad842d16d6bdc1bfa2467b60bd7825f371 (diff)
I forgot about $openssl_other_defines ... should probably do this
for consistency. Not sure though whether HAVE_DLFCN_H should be included too? If we go the autoconf route then this probably wouldn't be included.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure12
1 files changed, 9 insertions, 3 deletions
diff --git a/Configure b/Configure
index 112a48836d..fbd781977d 100755
--- a/Configure
+++ b/Configure
@@ -554,21 +554,27 @@ $cflags="$flags$cflags" if ($flags ne "");
# has support compiled in for them. Currently each method is enabled
# by a define "DSO_<name>" ... we translate the "dso_scheme" config
# string entry into using the following logic;
+my $dso_cflags;
if (!$no_dso && $dso_scheme ne "")
{
$dso_scheme =~ tr/[a-z]/[A-Z]/;
if ($dso_scheme eq "DLFCN")
{
- $cflags = "-DDSO_DLFCN -DHAVE_DLFCN_H $cflags";
+ $dso_cflags = "-DDSO_DLFCN -DHAVE_DLFCN_H";
+ $openssl_other_defines .= "#define DSO_DLFCN\n";
+ $openssl_other_defines .= "#define HAVE_DLFCN_H\n";
}
elsif ($dso_scheme eq "DLFCN_NO_H")
{
- $cflags = "-DDSO_DLFCN $cflags";
+ $dso_cflags = "-DDSO_DLFCN";
+ $openssl_other_defines .= "#define DSO_DLFCN\n";
}
else
{
- $cflags = "-DDSO_$dso_scheme $cflags";
+ $dso_cflags = "-DDSO_$dso_scheme";
+ $openssl_other_defines .= "#define DSO_$dso_scheme\n";
}
+ $cflags = "$dso_cflags $cflags";
}
my $thread_cflags;