diff options
author | Richard Levitte <levitte@openssl.org> | 2016-02-18 13:17:15 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-18 23:43:09 +0100 |
commit | ce192ebed0f5445076996b46c279a1499fdc8948 (patch) | |
tree | 83bc0d2247e2577d6d9ddb6cef81891c202e0ac7 /Configure | |
parent | 88297284ad14a233430cb5140d368edf17dacf7a (diff) |
Remove all special make depend flags, as well as OPENSSL_DOING_MAKEDEPEND
All those flags existed because we had all the dependencies versioned
in the repository, and wanted to have it be consistent, no matter what
the local configuration was. Now that the dependencies are gone from
the versioned Makefile.ins, it makes much more sense to use the exact
same flags as when compiling the object files.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -400,14 +400,6 @@ while ((my $first, my $second) = (shift @list, shift @list)) { unshift @list, $second; } -# Construct the string of what $config{depdefines} should look like with -# the defaults from %disabled above. (we need this to see if we should -# advise the user to run "make depend"): -my @default_depdefines = - map { my $x = $_; $x =~ tr{[a-z]-}{[A-Z]_}; "OPENSSL_NO_$x"; } - grep { $disabled{$_} !~ /\(no-depdefines\)$/ } - sort keys %disabled; - # Explicit "no-..." options will be collected in %disabled along with the defaults. # To remove something from %disabled, use "enable-foo". # For symmetry, "disable-foo" is a synonym for "no-foo". @@ -429,7 +421,6 @@ my $no_sse2=0; my $user_cflags=""; my @user_defines=(); my $unified = 0; -$config{depdefines}=[]; $config{openssl_api_defines}=[]; $config{openssl_algorithm_defines}=[]; $config{openssl_thread_defines}=[]; @@ -785,7 +776,6 @@ foreach (sort (keys %disabled)) ($ALGO,$algo) = ("RMD160","rmd160") if ($algo eq "ripemd"); push @{$config{openssl_algorithm_defines}}, "OPENSSL_NO_$ALGO"; - push @{$config{depdefines}}, "OPENSSL_NO_$ALGO"; print " OPENSSL_NO_$ALGO"; # fix-up crypto/directory name(s) @@ -1097,8 +1087,6 @@ if ($^O ne "VMS") { close(PIPE); } -$config{depflags} =~ s/^\s*//; - # Deal with bn_ops ################################################### @@ -1134,7 +1122,6 @@ $config{cflags} =~ s/([\\\"])/\\\1/g; if (defined($config{api})) { $config{openssl_api_defines} = [ "OPENSSL_MIN_API=".$apitable->{$config{api}} ]; my $apiflag = sprintf("OPENSSL_API_COMPAT=%s", $apitable->{$config{api}}); - push @default_depdefines, $apiflag; push @{$config{defines}}, $apiflag; } |