1 $ ! OpenSSL config: determine the architecture and run Configure
3 $ ! Very simple for the moment, it will take the following arguments:
5 $ ! -32 or 32 sets /POINTER_SIZE=32
6 $ ! -64 or 64 sets /POINTER_SIZE=64
8 $ ! -h prints a usage and exits
9 $ ! -t test mode, doesn't run Configure
11 $ arch == f$edit( f$getsyi( "arch_name"), "lowercase")
14 $ here = F$PARSE("A.;",F$ENVIRONMENT("PROCEDURE"),,,"SYNTAX_ONLY") - "A.;"
19 $ P_index = P_index + 1
20 $ IF P_index .GT. 8 THEN GOTO ENDLOOP1
21 $ P = F$EDIT(P1,"TRIM,LOWERCASE")
28 Usage: @config [options]
30 -32 or 32 Build with 32-bit pointer size.
31 -64 or 64 Build with 64-bit pointer size.
32 -d Build with debugging.
33 -t Test mode, do not run the Configure perl script.
36 Any other text will be passed to the Configure perl script.
37 See INSTALL for instructions.
46 $ IF P .EQS. "-32" .OR. P .EQS. "32"
48 $ pointer_size = "-P32"
51 $ IF P .EQS. "-64" .OR. P .EQS. "64"
53 $ pointer_size = "-P64"
58 $ collected_args = collected_args + " --debug"
61 $ IF P .NES. "" THEN -
62 collected_args = collected_args + " " + P1
74 $ target = "vms-''arch'''pointer_size'"
77 $ WRITE SYS$OUTPUT "PERL ''here'Configure ""''target'""''collected_args'"
79 $ PERL 'here'Configure "''target'" 'debug' 'collected_args'