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
path: root/config
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2003-01-18 17:59:19 +0300
committerAndy Polyakov <appro@openssl.org>2003-01-18 17:59:19 +0300
commitc44033353578541ae6294f779b4d1a3c4383867d (patch)
tree04a6b8bd9082a23a9489e7dbc8d816582a74146b /config
parent5322333b7b9b35603a374f3aa2e17ba1593da4e3 (diff)
Caldera/SCO targets erroneously limit themselves to 386. See RT#464.
Diffstat (limited to 'config')
-rwxr-xr-xconfig41
1 files changed, 17 insertions, 24 deletions
diff --git a/config b/config
index dc03e00c92..38f635b6a7 100755
--- a/config
+++ b/config
@@ -74,34 +74,27 @@ if [ "x$XREL" != "x" ]; then
echo "whatever-whatever-sco5"; exit 0
;;
4.2MP)
- if [ "x$VERSION" = "x2.01" ]; then
- echo "${MACHINE}-whatever-unixware201"; exit 0
- elif [ "x$VERSION" = "x2.02" ]; then
- echo "${MACHINE}-whatever-unixware202"; exit 0
- elif [ "x$VERSION" = "x2.03" ]; then
- echo "${MACHINE}-whatever-unixware203"; exit 0
- elif [ "x$VERSION" = "x2.1.1" ]; then
- echo "${MACHINE}-whatever-unixware211"; exit 0
- elif [ "x$VERSION" = "x2.1.2" ]; then
- echo "${MACHINE}-whatever-unixware212"; exit 0
- elif [ "x$VERSION" = "x2.1.3" ]; then
- echo "${MACHINE}-whatever-unixware213"; exit 0
- else
- echo "${MACHINE}-whatever-unixware2"; exit 0
- fi
+ case "x${VERSION}" in
+ x2.0*) echo "${MACHINE}-whatever-unixware20"; exit 0 ;;
+ x2.1*) echo "${MACHINE}-whatever-unixware21"; exit 0 ;;
+ x2*) echo "${MACHINE}-whatever-unixware2"; exit 0 ;;
+ esac
;;
4.2)
- echo "whatever-whatever-unixware1"; exit 0
- ;;
- OpenUNIX)
- if [ "`echo x$VERSION | sed -e 's/\..*//'`" = "x8" ]; then
- echo "${MACHINE}-unknown-OpenUNIX${VERSION}"; exit 0
- fi
+ echo "i386-whatever-unixware1"; exit 0
;;
5)
- if [ "`echo x$VERSION | sed -e 's/\..*//'`" = "x7" ]; then
- echo "${MACHINE}-sco-unixware7"; exit 0
- fi
+ case "x${VERSION}" in
+ # We hardcode i586 in place of ${MACHINE} for the
+ # following reason. The catch is that even though Pentium
+ # is minimum requirement for platforms in question,
+ # ${MACHINE} gets always assigned to i386. Now, problem
+ # with i386 is that it makes ./config pass 386 to
+ # ./Configure, which in turn makes make generate
+ # inefficient SHA-1 (for this moment) code.
+ x7*) echo "i586-sco-unixware7"; exit 0 ;;
+ x8*) echo "i586-unkn-OpenUNIX${VERSION}; exit 0 ;;
+ esac
;;
esac
fi