@@ -105,6 +105,9 @@ my $usage="Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [experimenta
105
105
106
106
my $gcc_devteam_warn = "-Wall -pedantic -DPEDANTIC -Wno-long-long -Wsign-compare -Wmissing-prototypes -Wshadow -Wformat -Werror -DCRYPTO_MDEBUG_ALL -DCRYPTO_MDEBUG_ABORT -DREF_CHECK -DOPENSSL_NO_DEPRECATED";
107
107
108
+ # Warn that "make depend" should be run?
109
+ my $warn_make_depend = 0;
110
+
108
111
my $clang_devteam_warn = "-Wno-unused-parameter -Wno-missing-field-initializers -Wno-language-extension-token -Wno-extended-offsetof -Qunused-arguments";
109
112
110
113
my $strict_warnings = 0;
@@ -1446,7 +1449,7 @@ if ($target =~ /\-icc$/) # Intel C compiler
1446
1449
# linker only when --prefix is not /usr.
1447
1450
if ($target =~ /^BSD\-/)
1448
1451
{
1449
- $shared_ldflag.=" -Wl,-rpath,\$(LIBRPATH)" if ($prefix !~ m|^/usr[/]*$|);
1452
+ $shared_ldflag.=" -Wl,-rpath,\$\$ (LIBRPATH)" if ($prefix !~ m|^/usr[/]*$|);
1450
1453
}
1451
1454
1452
1455
if ($sys_id ne "")
@@ -1953,14 +1956,8 @@ EOF
1953
1956
&dofile("apps/CA.pl",'/usr/local/bin/perl','^#!/', '#!%s');
1954
1957
}
1955
1958
if ($depflags ne $default_depflags && !$make_depend) {
1956
- print <<EOF;
1957
-
1958
- Since you've disabled or enabled at least one algorithm, you need to do
1959
- the following before building:
1960
-
1961
- make depend
1962
- EOF
1963
- }
1959
+ $warn_make_depend++;
1960
+ }
1964
1961
}
1965
1962
1966
1963
# create the ms/version32.rc file if needed
@@ -2039,12 +2036,18 @@ EOF
2039
2036
2040
2037
print <<\EOF if ($no_shared_warn);
2041
2038
2042
- You gave the option 'shared'. Normally, that would give you shared libraries.
2043
- Unfortunately, the OpenSSL configuration doesn't include shared library support
2044
- for this platform yet, so it will pretend you gave the option 'no-shared'. If
2045
- you can inform the developpers (openssl-dev\@openssl.org) how to support shared
2046
- libraries on this platform, they will at least look at it and try their best
2047
- (but please first make sure you have tried with a current version of OpenSSL).
2039
+ You gave the option 'shared', which is not supported on this platform, so
2040
+ we will pretend you gave the option 'no-shared'. If you know how to implement
2041
+ shared libraries, please let us know (but please first make sure you have
2042
+ tried with a current version of OpenSSL).
2043
+ EOF
2044
+
2045
+ print <<EOF if ($warn_make_depend);
2046
+
2047
+ *** Because of configuration changes, you MUST do the following before
2048
+ *** building:
2049
+
2050
+ make depend
2048
2051
EOF
2049
2052
2050
2053
exit(0);
0 commit comments