aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/threads
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2009-05-15 16:36:56 +0000
committerRichard Levitte <levitte@openssl.org>2009-05-15 16:36:56 +0000
commitcc8cc9a3a175690d146a209d648652bbd53b3e68 (patch)
treeb65b88c0cdadd458389b5cd2a01df37367bac755 /crypto/threads
parentaf55c09d9fc91494bc5a4ace682d320b37729ef0 (diff)
downloadopenssl-cc8cc9a3a175690d146a209d648652bbd53b3e68.tar.gz
Functional VMS changes submitted by sms@antinode.info (Steven M. Schweda).
Thank you\! (note: not tested for now, a few nightly builds should give indications though)
Diffstat (limited to 'crypto/threads')
-rw-r--r--crypto/threads/pthreads-vms.com9
1 files changed, 7 insertions, 2 deletions
diff --git a/crypto/threads/pthreads-vms.com b/crypto/threads/pthreads-vms.com
index 63f5b8cc2e..1cf92bdf57 100644
--- a/crypto/threads/pthreads-vms.com
+++ b/crypto/threads/pthreads-vms.com
@@ -2,8 +2,13 @@ $! To compile mttest on VMS.
$!
$! WARNING: only tested with DEC C so far.
$
-$ arch := vax
-$ if f$getsyi("CPU") .ge. 128 then arch := axp
+$ if (f$getsyi("cpu").lt.128)
+$ then
+$ arch := VAX
+$ else
+$ arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
+$ if (arch .eqs. "") then arch = "UNK"
+$ endif
$ define/user openssl [--.include.openssl]
$ cc/def=PTHREADS mttest.c
$ link mttest,[--.'arch'.exe.ssl]libssl/lib,[--.'arch'.exe.crypto]libcrypto/lib