summaryrefslogtreecommitdiffstats
path: root/config.com
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-16 16:07:05 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-16 16:10:06 +0100
commit7c55e22c6976d6d19cb6c2340c2f22316546bfca (patch)
tree57c1ff32bea0e08959fda0fcebee6d5b1680caea /config.com
parentFix Solaris link_a and link_o (diff)
downloadopenssl-7c55e22c6976d6d19cb6c2340c2f22316546bfca.tar.xz
openssl-7c55e22c6976d6d19cb6c2340c2f22316546bfca.zip
Lowercase configuration arguments on VMS
Depending on user preferences, Configure might get something like --PREFIX=blah just as well as --prefix=blah, or "SHARED" just as well as "shared". On VMS, let's therefore lowercase at least the portion of the argument before a possible equal sign. For good measure, we lowercase the arguments to be checked in config.com as well. The original argument is sent on to Configure, however. Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'config.com')
-rw-r--r--config.com18
1 files changed, 9 insertions, 9 deletions
diff --git a/config.com b/config.com
index 1beb74a258..b43acfaac4 100644
--- a/config.com
+++ b/config.com
@@ -17,24 +17,24 @@ $ P_index = 0
$ LOOP1:
$ P_index = P_index + 1
$ IF P_index .GT. 8 THEN GOTO ENDLOOP1
-$ P1 = F$EDIT(P1,"TRIM")
-$ IF P1 .EQS. "HELP" THEN GOTO USAGE
-$ IF P1 .EQS. "32"
+$ P = F$EDIT(P1,"TRIM,LOWERCASE")
+$ IF P .EQS. "help" THEN GOTO USAGE
+$ IF P .EQS. "32"
$ THEN
$ pointer_size = "-P32"
-$ P1 = ""
+$ P = ""
$ ENDIF
-$ IF P1 .EQS. "64"
+$ IF P .EQS. "64"
$ THEN
$ pointer_size = "-P64"
-$ P1 = ""
+$ P = ""
$ ENDIF
-$ IF P1 .EQS. "DEBUG"
+$ IF P .EQS. "debug"
$ THEN
$ debug = "--debug"
-$ P1 = ""
+$ P = ""
$ ENDIF
-$ IF P1 .NES. "" THEN -
+$ IF P .NES. "" THEN -
collected_args = collected_args + " " + P1
$ P1 = P2
$ P2 = P3