VMS: If configured no-shared, don't provide shareable image logical names
authorRichard Levitte <levitte@openssl.org>
Wed, 3 Aug 2016 10:53:49 +0000 (12:53 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 3 Aug 2016 13:44:37 +0000 (15:44 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
VMS/openssl_ivp.com.in
VMS/openssl_shutdown.com.in
VMS/openssl_startup.com.in

index 6a944fa..3555bf6 100644 (file)
@@ -21,9 +21,9 @@ $     @'INSTALLTOP_'SYS$STARTUP]openssl_startup'v'
 $      @'INSTALLTOP_'SYS$STARTUP]openssl_utils'v'
 $
 $      IF F$SEARCH("OSSL$LIBCRYPTO''pz'") .EQS. "" -
-           .OR. F$SEARCH("OSSL$LIBSSL''pz'") .EQS. "" -
+           .OR. F$SEARCH("OSSL$LIBSSL''pz'") .EQS. "" {- output_off() if $config{no_shared}; "" -}-
            .OR. F$SEARCH("OSSL$LIBCRYPTO_SHR''pz'") .EQS. "" -
-           .OR. F$SEARCH("OSSL$LIBSSL_SHR''pz'") .EQS. "" -
+           .OR. F$SEARCH("OSSL$LIBSSL_SHR''pz'") .EQS. "" {- output_on() if $config{no_shared}; "" -}-
            .OR. F$SEARCH("OSSL$INCLUDE:[OPENSSL]crypto.h") .EQS. "" -
            .OR. F$SEARCH("OPENSSL:crypto.h") .EQS. "" -
            .OR. F$SEARCH("OSSL$EXE:OPENSSL''v'.EXE") .EQS. ""
index 385903f..f0df1c1 100644 (file)
@@ -38,15 +38,19 @@ $   DEAS OSSL$ENGINES'sv'
 $      DEAS OSSL$EXE
 $      DEAS OSSL$LIBCRYPTO'pz'
 $      DEAS OSSL$LIBSSL'pz'
+${- output_off() if $config{no_shared}; "" -}
 $      DEAS OSSL$LIBCRYPTO'sv'_SHR'pz'
 $      DEAS OSSL$LIBSSL'sv'_SHR'pz'
+${- output_on() if $config{no_shared}; "" -}
 $      DEAS OPENSSL
 $
 $      IF P2 .NES. "NOALIASES"
 $      THEN
 $          DEAS OSSL$ENGINES
+${- output_off() if $config{no_shared}; "" -}
 $          DEAS OSSL$LIBCRYPTO_SHR'pz'
 $          DEAS OSSL$LIBSSL_SHR'pz'
+${- output_on() if $config{no_shared}; "" -}
 $      ENDIF
 $
 $      EXIT 'status'
index 511c133..9c8c09a 100644 (file)
@@ -101,15 +101,19 @@ $ DEF  OSSL$EXE                   OSSL$INSTROOT:[EXE.'arch'],-
                                        OSSL$INSTROOT:[EXE]
 $      DEF  OSSL$LIBCRYPTO'pz'         OSSL$LIB:OSSL$LIBCRYPTO'pz'.OLB
 $      DEF  OSSL$LIBSSL'pz'            OSSL$LIB:OSSL$LIBSSL'pz'.OLB
+${- output_off() if $config{no_shared}; "" -}
 $      DEF  OSSL$LIBCRYPTO'sv'_SHR'pz' OSSL$SHARE:OSSL$LIBCRYPTO'sv'_SHR'pz'.EXE
 $      DEF  OSSL$LIBSSL'sv'_SHR'pz'    OSSL$SHARE:OSSL$LIBSSL'sv'_SHR'pz'.EXE
+${- output_on() if $config{no_shared}; "" -}
 $      DEF  OPENSSL                    OSSL$INCLUDE:[OPENSSL]
 $
 $      IF P2 .NES. "NOALIASES"
 $      THEN
 $          DEF OSSL$ENGINES'pz'        OSSL$ENGINES'sv''pz'
+${- output_off() if $config{no_shared}; "" -}
 $          DEF OSSL$LIBCRYPTO_SHR'pz'  OSSL$LIBCRYPTO'sv'_SHR'pz'
 $          DEF OSSL$LIBSSL_SHR'pz'     OSSL$LIBSSL'sv'_SHR'pz'
+${- output_on() if $config{no_shared}; "" -}
 $      ENDIF
 $
 $ bailout: