summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorappro <appro>2012-02-26 22:02:59 +0000
committerappro <appro>2012-02-26 22:02:59 +0000
commita452d5e6a9e34fd8aceae175e09b3679be7c5944 (patch)
treee388d93133267bc2219c4970c9f4c03614e42971
parent0f859232fd2e3f6394f149864b999745fd57f5ef (diff)
downloadopenssl-a452d5e6a9e34fd8aceae175e09b3679be7c5944.tar.gz
Configure: I remove adding of -D_XPG4_2 -D__EXTENSIONS__ in sctp builds for
following reasons: - it's not the way to engage XPG4v2 mode, defining _XOPEN_SOURCE to value less than 500 is (see standards(5)); - we need to work out strategy to handle _XOPEN_SOURCE, current state when we define e.g. _XOPEN_SOURCE to 500 in some files is inappropriate; - sctp implementation on Solaris is incomplete, in sense that bss_dgram.c doesn't compile, because not all structures are defined, so that enabling sctp doesn't work anyway;
-rwxr-xr-xConfigure8
1 files changed, 0 insertions, 8 deletions
diff --git a/Configure b/Configure
index a89302c45..f6ca42c82 100755
--- a/Configure
+++ b/Configure
@@ -1449,14 +1449,6 @@ if (!$IsMK1MF)
}
}
-if (!defined($disabled{"sctp"}))
- {
- if ($target =~ /^solaris/)
- {
- $cflags = "$cflags -D_XPG4_2 -D__EXTENSIONS__";
- }
- }
-
$cpuid_obj.=" uplink.o uplink-x86.o" if ($cflags =~ /\-DOPENSSL_USE_APPLINK/);
#