aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/threads/pthreads-vms.com
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/threads/pthreads-vms.com')
-rw-r--r--openssl/crypto/threads/pthreads-vms.com9
1 files changed, 7 insertions, 2 deletions
diff --git a/openssl/crypto/threads/pthreads-vms.com b/openssl/crypto/threads/pthreads-vms.com
index 63f5b8cc2..1cf92bdf5 100644
--- a/openssl/crypto/threads/pthreads-vms.com
+++ b/openssl/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