From b529bba4bf23aa7cf6500a4b42befc3ad1fd7551 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 25 Aug 2009 07:30:02 +0000 Subject: [PATCH] Make sure ENGINES can be separately compiled as well. Make sure _XOPEN_SOURCE_EXTENDED is defined in opensslconf.h Submitted by Zoltan Arpadffy --- makevms.com | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/makevms.com b/makevms.com index 65699f7f69..bd6a45654a 100755 --- a/makevms.com +++ b/makevms.com @@ -7,6 +7,7 @@ $! A-Com Computing, Inc. $! byer@mail.all-net.net $! $! Changes by Richard Levitte +$! Zoltan Arpadffy $! $! This procedure creates the SSL libraries of "[.xxx.EXE.CRYPTO]LIBCRYPTO.OLB" $! "[.xxx.EXE.SSL]LIBSSL.OLB" @@ -264,7 +265,7 @@ $ GOTO TIDY $ ENDIF $ ENDIF $ ENDIF -$ IF ARCH .EQS. "AXP" +$ IF ARCH .NES. "VAX" $ THEN $! $! Write the Alpha specific data @@ -346,6 +347,10 @@ $! End $! $ ENDIF $! +$! There are many places where this is needed. +$! +$ WRITE H_FILE "#define _XOPEN_SOURCE_EXTENDED" +$! $! Close the [.CRYPTO.]OPENSSLCONF.H file $! $ CLOSE H_FILE @@ -735,7 +740,8 @@ $! $ IF (P1.EQS."CONFIG").OR.(P1.EQS."BUILDINF").OR.(P1.EQS."SOFTLINKS") - .OR.(P1.EQS."BUILDALL") - .OR.(P1.EQS."CRYPTO").OR.(P1.EQS."SSL") - - .OR.(P1.EQS."SSL_TASK").OR.(P1.EQS."TEST").OR.(P1.EQS."APPS") + .OR.(P1.EQS."SSL_TASK").OR.(P1.EQS."TEST").OR.(P1.EQS."APPS") - + .OR.(P1.EQS."ENGINES") $ THEN $! $! A Valid Arguement. @@ -749,7 +755,11 @@ $! $! Tell The User We Don't Know What They Want. $! $ WRITE SYS$OUTPUT "" -$ WRITE SYS$OUTPUT "The Option ",P1," Is Invalid. The Valid Options Are:" +$ WRITE SYS$OUTPUT "USAGE: @MAKEVMS.COM [Target] [not-used option] [Debug option] " +$ WRITE SYS$OUTPUT "" +$ WRITE SYS$OUTPUT "Example: @MAKEVMS.COM ALL NORSAREF NODEBUG " +$ WRITE SYS$OUTPUT "" +$ WRITE SYS$OUTPUT "The Target ",P1," Is Invalid. The Valid Target Options Are:" $ WRITE SYS$OUTPUT "" $ WRITE SYS$OUTPUT " ALL : Just Build Everything." $ WRITE SYS$OUTPUT " CONFIG : Just build the [.CRYPTO.''ARCH']OPENSSLCONF.H file." @@ -763,6 +773,7 @@ $ WRITE SYS$OUTPUT " SSL : To Build Just The [.xxx.EXE.SSL]LIBSSL.O $ WRITE SYS$OUTPUT " SSL_TASK : To Build Just The [.xxx.EXE.SSL]SSL_TASK.EXE Program." $ WRITE SYS$OUTPUT " TEST : To Build Just The OpenSSL Test Programs." $ WRITE SYS$OUTPUT " APPS : To Build Just The OpenSSL Application Programs." +$ WRITE SYS$OUTPUT " ENGINES : To Build Just The ENGINES" $ WRITE SYS$OUTPUT "" $ WRITE SYS$OUTPUT " Where 'xxx' Stands For:" $ WRITE SYS$OUTPUT "" -- 2.25.1