3 $! Original Author: UNKNOWN
4 $! Rewritten By: Robert Byer
6 $! A-Com Computing, Inc.
7 $! byer@mail.all-net.net
9 $! Changes by Richard Levitte <richard@levitte.org>
11 $! This procedure creates the SSL libraries of "[.xxx.EXE.CRYPTO]LIBCRYPTO.OLB"
12 $! "[.xxx.EXE.SSL]LIBSSL.OLB" and if specified "[.xxx.EXE.RSAREF]LIBRSAGLUE.OLB".
13 $! The "xxx" denotes the machine architecture of AXP or VAX.
15 $! This procedures accepts two command line options listed below.
17 $! Specify one of the following build options for P1.
19 $! ALL Just build "everything".
20 $! BUILDINF Just build the "[.CRYPTO]BUILDINF.H" file.
21 $! SOFTLINKS Just fix the Unix soft links.
22 $! RSAREF Just build the "[.xxx.EXE.RSAREF]LIBRSAGLUE.OLB" library.
23 $! CRYPTO Just build the "[.xxx.EXE.CRYPTO]LIBCRYPTO.OLB" library.
24 $! SSL Just build the "[.xxx.EXE.SSL]LIBSSL.OLB" library.
25 $! SSL_TASK Just build the "[.xxx.EXE.SSL]SSL_TASK.EXE" program.
26 $! TEST Just build the "[.xxx.EXE.TEST]" test programs for OpenSSL.
27 $! APPS Just build the "[.xxx.EXE.APPS]" application programs for OpenSSL.
30 $! Specify RSAREF as P2 to compile using the RSAREF Library.
31 $! If you specify NORSAREF, it will compile without using RSAREF.
32 $! (If in the United States, You Must Compile Using RSAREF).
34 $! Note: The RSAREF libraries are NOT INCLUDED and you have to
35 $! download it from "ftp://ftp.rsa.com/rsaref". You have to
36 $! get the ".tar-Z" file as the ".zip" file dosen't have the
37 $! directory structure stored. You have to extract the file
38 $! into the [.RSAREF] directory as that is where the scripts
39 $! will look for the files.
41 $! Speficy DEBUG or NODEBUG as P3 to compile with or without debugging
44 $! Specify which compiler at P4 to try to compile under.
49 $! LINK To only link the programs from existing object files.
50 $! (not yet implemented)
52 $! If you don't speficy a compiler, it will try to determine which
53 $! "C" compiler to use.
55 $! P5, if defined, sets a TCP/IP library to use, through one of the following
58 $! UCX for UCX or UCX emulation
59 $! SOCKETSHR for SOCKETSHR+NETLIB
61 $! P6, if defined, sets a compiler thread NOT needed on OpenVMS 7.1 (and up)
64 $! Check Which Architecture We Are Using.
66 $ IF (F$GETSYI("CPU").GE.128)
69 $! The Architecture Is AXP.
77 $! The Architecture Is VAX.
81 $! End The Architecture Check.
85 $! Check To Make Sure We Have Valid Command Line Parameters.
89 $! Check To See What We Are To Do.
91 $ IF (BUILDALL.EQS."TRUE")
94 $! Since Nothing Special Was Specified, Do Everything.
95 $! First, Fix The Unix Softlinks.
99 $! Create The "BUILDINF.H" Include File.
103 $! Check To See If We Are Going To Be Building The
104 $! [.xxx.EXE.RSAREF]LIBRSAGLUE.OLB Library.
106 $ IF (RSAREF.EQS."RSAREF")
109 $! Build The [.xxx.EXE.RSAREF]LIBRSAGLUE.OLB Library.
113 $! End The RSAREF Check.
117 $! Build The [.xxx.EXE.CRYPTO]LIBCRYPTO.OLB Library.
121 $! Build The [.xxx.EXE.SSL]LIBSSL.OLB Library.
125 $! Build The [.xxx.EXE.SSL]SSL_TASK.EXE DECNet SSL Engine.
129 $! Build The [.xxx.EXE.TEST] OpenSSL Test Utilities.
133 $! Build The [.xxx.EXE.APPS] OpenSSL Application Utilities.
141 $! Build Just What The User Wants Us To Build.
150 $! Rebuild The "[.CRYPTO]BUILDINF.H" file.
154 $! Tell The User We Are Creating The [.CRYPTO]BUILDINF.H File.
156 $ WRITE SYS$OUTPUT "Creating [.CRYPTO]BUILDINF.H Include File."
158 $! Create The [.CRYPTO]BUILDINF.H File.
160 $ OPEN/WRITE H_FILE SYS$DISK:[.CRYPTO]BUILDINF.H
162 $! Get The Current Date & Time.
166 $! Write The [.CRYPTO]BUILDINF.H File.
168 $ WRITE H_FILE "#define CFLAGS """" /* Not filled in for now */"
169 $ WRITE H_FILE "#define PLATFORM ""VMS"""
170 $ WRITE H_FILE "#define DATE ""''TIME'"" "
172 $! Close The [.CRYPTO]BUILDINF.H File.
176 $! That's All, Time To RETURN.
180 $! Copy a lot of files around.
184 $! Tell The User We Are Partly Rebuilding The [.TEST] Directory.
186 $ WRITE SYS$OUTPUT "Rebuilding The '[.APPS]MD5.C' And '[.APPS]RMD160.C' Files."
188 $ DELETE SYS$DISK:[.APPS]MD5.C;*,RMD160.C;*
190 $! Copy MD5.C from [.CRYPTO.MD5] into [.APPS]
192 $ COPY SYS$DISK:[.CRYPTO.MD5]MD5.C SYS$DISK:[.APPS]
194 $! Copy RMD160.C from [.CRYPTO.RIPEMD] into [.APPS]
196 $ COPY SYS$DISK:[.CRYPTO.RIPEMD]RMD160.C SYS$DISK:[.APPS]
198 $! Tell The User We Are Partly Rebuilding The [.TEST] Directory.
200 $ WRITE SYS$OUTPUT "Rebuilding The '[.TEST]*.C' Files."
202 $! First, We Have To "Rebuild" The "[.TEST]" Directory, So Delete
203 $! All The "C" Files That Are Currently There Now.
205 $ DELETE SYS$DISK:[.TEST]*.C;*
207 $! Copy all the *TEST.C files from [.CRYPTO...] into [.TEST]
209 $ COPY SYS$DISK:[.CRYPTO.*]%*TEST.C SYS$DISK:[.TEST]
211 $! Copy all the *TEST.C files from [.SSL...] into [.TEST]
213 $ COPY SYS$DISK:[.SSL]%*TEST.C SYS$DISK:[.TEST]
215 $! Tell The User We Are Rebuilding The [.INCLUDE.OPENSSL] Directory.
217 $ WRITE SYS$OUTPUT "Rebuilding The '[.INCLUDE.OPENSSL]' Directory."
219 $! First, make sure the directory exists
221 $ IF F$PARSE("SYS$DISK:[.INCLUDE.OPENSSL]") .EQS. "" THEN -
222 CREATE/DIRECTORY SYS$DISK:[.INCLUDE.OPENSSL]
224 $! Copy All The ".H" Files From The Main Directory.
226 $ EXHEADER := e_os.h,e_os2.h
227 $ COPY 'EXHEADER' SYS$DISK:[.INCLUDE.OPENSSL]
229 $! Copy All The ".H" Files From The [.CRYPTO] Directory Tree.
231 $ SDIRS := ,MD2,MD5,SHA,MDC2,HMAC,RIPEMD,-
232 DES,RC2,RC4,RC5,IDEA,BF,CAST,-
234 BUFFER,BIO,STACK,LHASH,RAND,ERR,OBJECTS,-
235 EVP,ASN1,PEM,X509,X509V3,-
236 CONF,TXT_DB,PKCS7,PKCS12,COMP
237 $ EXHEADER_ := crypto.h,tmdiff.h,opensslv.h,opensslconf.h,ebcdic.h
238 $ EXHEADER_MD2 := md2.h
239 $ EXHEADER_MD5 := md5.h
240 $ EXHEADER_SHA := sha.h
241 $ EXHEADER_MDC2 := mdc2.h
242 $ EXHEADER_HMAC := hmac.h
243 $ EXHEADER_RIPEMD := ripemd.h
244 $ EXHEADER_DES := des.h
245 $ EXHEADER_RC2 := rc2.h
246 $ EXHEADER_RC4 := rc4.h
247 $ EXHEADER_RC5 := rc5.h
248 $ EXHEADER_IDEA := idea.h
249 $ EXHEADER_BF := blowfish.h
250 $ EXHEADER_CAST := cast.h
251 $ EXHEADER_BN := bn.h
252 $ EXHEADER_RSA := rsa.h
253 $ EXHEADER_DSA := dsa.h
254 $ EXHEADER_DH := dh.h
255 $ EXHEADER_BUFFER := buffer.h
256 $ EXHEADER_BIO := bio.h
257 $ EXHEADER_STACK := stack.h,safestack.h
258 $ EXHEADER_LHASH := lhash.h
259 $ EXHEADER_RAND := rand.h
260 $ EXHEADER_ERR := err.h
261 $ EXHEADER_OBJECTS := objects.h
262 $ EXHEADER_EVP := evp.h
263 $ EXHEADER_ASN1 := asn1.h,asn1_mac.h
264 $ EXHEADER_PEM := pem.h,pem2.h
265 $ EXHEADER_X509 := x509.h,x509_vfy.h
266 $ EXHEADER_X509V3 := x509v3.h
267 $ EXHEADER_CONF := conf.h
268 $ EXHEADER_TXT_DB := txt_db.h
269 $ EXHEADER_PKCS7 := pkcs7.h
270 $ EXHEADER_PKCS12 := pkcs12.h
271 $ EXHEADER_COMP := comp.h
275 $ D = F$EDIT(F$ELEMENT(I, ",", SDIRS),"TRIM")
277 $ IF D .EQS. "," THEN GOTO LOOP_SDIRS_END
281 $ COPY [.CRYPTO]'tmp' SYS$DISK:[.INCLUDE.OPENSSL] /LOG
283 $ COPY [.CRYPTO.'D']'tmp' SYS$DISK:[.INCLUDE.OPENSSL] /LOG
288 $! Copy All The ".H" Files From The [.RSAREF] Directory.
290 $ EXHEADER := rsaref.h
291 $ COPY SYS$DISK:[.RSAREF]'EXHEADER' SYS$DISK:[.INCLUDE.OPENSSL]
293 $! Copy All The ".H" Files From The [.SSL] Directory.
295 $ EXHEADER := ssl.h,ssl2.h,ssl3.h,ssl23.h,tls1.h
296 $ COPY SYS$DISK:[.SSL]'EXHEADER' SYS$DISK:[.INCLUDE.OPENSSL]
298 $! Copy All The ".H" Files From The [.VMS] Directory.
300 $ EXHEADER := vms_idhacks.h
301 $ COPY SYS$DISK:[.VMS]'EXHEADER' SYS$DISK:[.INCLUDE.OPENSSL]
305 $ PURGE SYS$DISK:[.INCLUDE.OPENSSL]*.H
307 $! That's All, Time To RETURN.
311 $! Build The "[.xxx.EXE.CRYPTO]LIBCRYPTO.OLB" Library.
315 $! Tell The User What We Are Doing.
317 $ WRITE SYS$OUTPUT ""
318 $ WRITE SYS$OUTPUT "Building The [.",ARCH,".EXE.CRYPTO]LIBCRYPTO.OLB Library."
320 $! Go To The [.CRYPTO] Directory.
322 $ SET DEFAULT SYS$DISK:[.CRYPTO]
324 $! Build The [.xxx.EXE.CRYPTO]LIBCRYPTO.OLB Library.
326 $ @CRYPTO-LIB LIBRARY 'RSAREF' 'DEBUGGER' "''COMPILER'" "''TCPIP_TYPE'" 'ISSEVEN'
328 $! Go Back To The Main Directory.
336 $! Build The [.xxx.EXE.RSAREF]LIBRSAGLUE Library.
340 $! Tell The User What We Are Doing.
342 $ WRITE SYS$OUTPUT ""
343 $ WRITE SYS$OUTPUT "Building The [.",ARCH,".EXE.RSAREF]LIBRSAGLUE.OLB Library."
345 $! Go To The [.RSAREF] Directory.
347 $ SET DEFAULT SYS$DISK:[.RSAREF]
349 $! Build The [.xxx.EXE.RSAREF]LIBRSAGLUE.OLB Library.
351 $ @RSAREF-LIB LIBRARY 'DEBUGGER' "''COMPILER'" 'ISSEVEN'
353 $! Go Back To The Main Directory.
361 $! Build The "[.xxx.EXE.SSL]LIBSSL.OLB" Library.
365 $! Tell The User What We Are Doing.
367 $ WRITE SYS$OUTPUT ""
368 $ WRITE SYS$OUTPUT "Building The [.",ARCH,".EXE.SSL]LIBSSL.OLB Library."
370 $! Go To The [.SSL] Directory.
372 $ SET DEFAULT SYS$DISK:[.SSL]
374 $! Build The [.xxx.EXE.SSL]LIBSSL.OLB Library.
376 $ @SSL-LIB LIBRARY 'RSAREF' 'DEBUGGER' "''COMPILER'" "''TCPIP_TYPE'" 'ISSEVEN'
378 $! Go Back To The Main Directory.
386 $! Build The "[.xxx.EXE.SSL]SSL_TASK.EXE" Program.
390 $! Tell The User What We Are Doing.
392 $ WRITE SYS$OUTPUT ""
393 $ WRITE SYS$OUTPUT "Building DECNet Based SSL Engine, [.",ARCH,".EXE.SSL]SSL_TASK.EXE"
395 $! Go To The [.SSL] Directory.
397 $ SET DEFAULT SYS$DISK:[.SSL]
399 $! Build The [.xxx.EXE.SSL]SSL_TASK.EXE
401 $ @SSL-LIB SSL_TASK 'RSAREF' 'DEBUGGER' "''COMPILER'" "''TCPIP_TYPE'" 'ISSEVEN'
403 $! Go Back To The Main Directory.
407 $! That's All, Time To RETURN.
411 $! Build The OpenSSL Test Programs.
415 $! Tell The User What We Are Doing.
417 $ WRITE SYS$OUTPUT ""
418 $ WRITE SYS$OUTPUT "Building The OpenSSL [.",ARCH,".EXE.TEST] Test Utilities."
420 $! Go To The [.TEST] Directory.
422 $ SET DEFAULT SYS$DISK:[.TEST]
424 $! Build The Test Programs.
426 $ @MAKETESTS 'RSAREF' 'DEBUGGER' "''COMPILER'" "''TCPIP_TYPE'" 'ISSEVEN'
428 $! Go Back To The Main Directory.
432 $! That's All, Time To RETURN.
436 $! Build The OpenSSL Application Programs.
440 $! Tell The User What We Are Doing.
442 $ WRITE SYS$OUTPUT ""
443 $ WRITE SYS$OUTPUT "Building OpenSSL [.",ARCH,".EXE.APPS] Applications."
445 $! Go To The [.APPS] Directory.
447 $ SET DEFAULT SYS$DISK:[.APPS]
449 $! Build The Application Programs.
451 $ @MAKEAPPS 'RSAREF' 'DEBUGGER' "''COMPILER'" "''TCPIP_TYPE'" 'ISSEVEN'
453 $! Go Back To The Main Directory.
457 $! That's All, Time To RETURN.
461 $! Check The User's Options.
465 $! Check To See If P1 Is Blank.
470 $! P1 Is ALL, So Build Everything.
478 $! Else, Check To See If P1 Has A Valid Arguement.
480 $ IF (P1.EQS."BUILDINF").OR.(P1.EQS."SOFTLINKS").OR.(P1.EQS."CRYPTO") -
481 .OR.(P1.EQS."SSL").OR.(P1.EQS."RSAREF").OR.(P1.EQS."SSL_TASK") -
482 .OR.(P1.EQS."TEST").OR.(P1.EQS."APPS")
485 $! A Valid Arguement.
493 $! Tell The User We Don't Know What They Want.
495 $ WRITE SYS$OUTPUT ""
496 $ WRITE SYS$OUTPUT "The Option ",P1," Is Invalid. The Valid Options Are:"
497 $ WRITE SYS$OUTPUT ""
498 $ WRITE SYS$OUTPUT " ALL : Just Build Everything."
499 $ WRITE SYS$OUTPUT " BUILDINF : Just build the [.CRYPTO]BUILDINF.H file."
500 $ WRITE SYS$OUTPUT " SOFTLINKS: Just Fix The Unix soft links."
501 $ WRITE SYS$OUTPUT " RSAREF : To Build Just The [.xxx.EXE.RSAREF]LIBRSAGLUE.OLB Library."
502 $ WRITE SYS$OUTPUT " CRYPTO : To Build Just The [.xxx.EXE.CRYPTO]LIBCRYPTO.OLB Library."
503 $ WRITE SYS$OUTPUT " SSL : To Build Just The [.xxx.EXE.SSL]LIBSSL.OLB Library."
504 $ WRITE SYS$OUTPUT " SSL_TASK : To Build Just The [.xxx.EXE.SSL]SSL_TASK.EXE Program."
505 $ WRITE SYS$OUTPUT " TEST : To Build Just The OpenSSL Test Programs."
506 $ WRITE SYS$OUTPUT " APPS : To Build Just The OpenSSL Application Programs."
507 $ WRITE SYS$OUTPUT ""
508 $ WRITE SYS$OUTPUT " Where 'xxx' Stands For:"
509 $ WRITE SYS$OUTPUT ""
510 $ WRITE SYS$OUTPUT " AXP : Alpha Architecture."
511 $ WRITE SYS$OUTPUT " VAX : VAX Architecture."
512 $ WRITE SYS$OUTPUT ""
518 $! End The Valid Argument Check.
526 $! Check To See If P2 Is Blank.
528 $ IF (P2.EQS."NORSAREF")
531 $! P2 Is NORSAREF, So Compile Without RSAREF.
533 $ RSAREF = "NORSAREF"
539 $! Check To See If We Are To Compile Using The RSAREF Library.
541 $ IF (P2.EQS."RSAREF")
544 $! Compile With RSAREF Library.
552 $! Tell The User Entered An Invalid Option..
554 $ WRITE SYS$OUTPUT ""
555 $ WRITE SYS$OUTPUT "The Option ",P2," Is Invalid. The Valid Options Are:"
556 $ WRITE SYS$OUTPUT ""
557 $ WRITE SYS$OUTPUT " RSAREF : To Compile With The RSAREF Library."
558 $ WRITE SYS$OUTPUT " NORSAREF : To Compile With The Regular RSA Library."
559 $ WRITE SYS$OUTPUT ""
565 $! End The Valid Arguemnt Check.
573 $! Check To See If P3 Is Blank.
575 $ IF (P3.EQS."NODEBUG")
578 $! P3 Is NODEBUG, So Compile Without Debugger Information.
580 $ DEBUGGER = "NODEBUG"
586 $! Check To See If We Are To Compile With Debugger Information.
588 $ IF (P3.EQS."DEBUG")
591 $! Compile With Debugger Information.
599 $! Tell The User Entered An Invalid Option..
601 $ WRITE SYS$OUTPUT ""
602 $ WRITE SYS$OUTPUT "The Option ",P3," Is Invalid. The Valid Options Are:"
603 $ WRITE SYS$OUTPUT ""
604 $ WRITE SYS$OUTPUT " DEBUG : Compile With The Debugger Information."
605 $ WRITE SYS$OUTPUT " NODEBUG : Compile Without The Debugger Information."
606 $ WRITE SYS$OUTPUT ""
612 $! End The Valid Arguement Check.
620 $! Check To See If P4 Is Blank.
625 $! O.K., The User Didn't Specify A Compiler, Let's Try To
626 $! Find Out Which One To Use.
628 $! Check To See If We Have GNU C.
630 $ IF (F$TRNLNM("GNU_CC").NES."")
633 $! Looks Like GNUC, Set To Use GNUC.
637 $! Tell The User We Are Using GNUC.
639 $ WRITE SYS$OUTPUT "Using GNU 'C' Compiler."
641 $! End The GNU C Compiler Check.
645 $! Check To See If We Have VAXC Or DECC.
647 $ IF (F$GETSYI("CPU").GE.128).OR.(F$TRNLNM("DECC$CC_DEFAULT").EQS."/DECC")
650 $! Looks Like DECC, Set To Use DECC.
654 $! Tell The User We Are Using DECC.
656 $ WRITE SYS$OUTPUT "Using DECC 'C' Compiler."
662 $! Looks Like VAXC, Set To Use VAXC.
666 $! Tell The User We Are Using VAX C.
668 $ WRITE SYS$OUTPUT "Using VAXC 'C' Compiler."
670 $! End The DECC & VAXC Compiler Check.
678 $! Check To See If The User Entered A Valid Paramter.
680 $ IF (P4.EQS."VAXC").OR.(P4.EQS."DECC").OR.(P4.EQS."GNUC")!.OR.(P4.EQS."LINK")
683 $! Check To See If The User Wanted To Just LINK.
688 $! Looks Like LINK-only
692 $! Tell The User We Are Only Linking.
694 $ WRITE SYS$OUTPUT "LINK Only. This actually NOT YET SUPPORTED!"
700 $! Check To See If The User Wanted DECC.
705 $! Looks Like DECC, Set To Use DECC.
709 $! Tell The User We Are Using DECC.
711 $ WRITE SYS$OUTPUT "Using DECC 'C' Compiler."
717 $! Check To See If We Are To Use VAXC.
722 $! Looks Like VAXC, Set To Use VAXC.
726 $! Tell The User We Are Using VAX C.
728 $ WRITE SYS$OUTPUT "Using VAXC 'C' Compiler."
734 $! Check To See If We Are To Use GNU C.
739 $! Looks Like GNUC, Set To Use GNUC.
743 $! Tell The User We Are Using GNUC.
745 $ WRITE SYS$OUTPUT "Using GNU 'C' Compiler."
747 $! End The GNU C Check.
751 $! Else The User Entered An Invalid Arguement.
755 $! Tell The User We Don't Know What They Want.
757 $ WRITE SYS$OUTPUT ""
758 $ WRITE SYS$OUTPUT "The Option ",P4," Is Invalid. The Valid Options Are:"
759 $ WRITE SYS$OUTPUT ""
760 $ WRITE SYS$OUTPUT " VAXC : To Compile With VAX C."
761 $ WRITE SYS$OUTPUT " DECC : To Compile With DEC C."
762 $ WRITE SYS$OUTPUT " GNUC : To Compile With GNU C."
763 $ WRITE SYS$OUTPUT ""
769 $! End The Valid Arguement Check.
777 $! Time to check the contents of P5, and to make sure we get the correct library.
779 $ IF P5.EQS."SOCKETSHR" .OR. P5.EQS."MULTINET" .OR. P5.EQS."UCX"
782 $! Check to see if SOCKETSHR was chosen
784 $ IF P5.EQS."SOCKETSHR"
787 $! Set the library to use SOCKETSHR
789 $ TCPIP_LIB = "[-.VMS]SOCKETSHR_SHR.OPT/OPT"
793 $ WRITE SYS$OUTPUT "Using SOCKETSHR for TCP/IP"
795 $! Done with SOCKETSHR
799 $! Check to see if MULTINET was chosen
801 $ IF P5.EQS."MULTINET"
804 $! Set the library to use UCX emulation.
810 $ WRITE SYS$OUTPUT "Using MultiNet via UCX emulation for TCP/IP"
812 $! Done with MULTINET
816 $! Check to see if UCX was chosen
821 $! Set the library to use UCX.
823 $ TCPIP_LIB = "[-.VMS]UCX_SHR_DECC.OPT/OPT"
827 $ WRITE SYS$OUTPUT "Using UCX or an emulation thereof for TCP/IP"
833 $! Set the TCPIP_TYPE symbol
839 $ WRITE SYS$OUTPUT "TCP/IP library spec: ", TCPIP_LIB
841 $! Else The User Entered An Invalid Arguement.
847 $! Tell The User We Don't Know What They Want.
849 $ WRITE SYS$OUTPUT ""
850 $ WRITE SYS$OUTPUT "The Option ",P5," Is Invalid. The Valid Options Are:"
851 $ WRITE SYS$OUTPUT ""
852 $ WRITE SYS$OUTPUT " SOCKETSHR : To link with SOCKETSHR TCP/IP library."
853 $ WRITE SYS$OUTPUT " UCX : To link with UCX TCP/IP library."
854 $ WRITE SYS$OUTPUT ""
861 $! Set the TCPIP_TYPE symbol
866 $! Done with TCP/IP libraries
870 $! Special Threads For OpenVMS v7.1 Or Later
872 $! Written By: Richard Levitte
873 $! richard@levitte.org
876 $! Check To See If We Have A Option For P6.
881 $! Get The Version Of VMS We Are Using.
884 $ TMP = F$ELEMENT(0,"-",F$EXTRACT(1,4,F$GETSYI("VERSION")))
885 $ TMP = F$INTEGER(F$ELEMENT(0,".",TMP)+F$ELEMENT(1,".",TMP))
887 $! Check To See If The VMS Version Is v7.1 Or Later.
892 $! We Have OpenVMS v7.1 Or Later, So Use The Special Threads.
894 $ ISSEVEN := ,PTHREAD_USE_D4
896 $! End The VMS Version Check.