Architecture specific header files need special handling.
authorRichard Levitte <levitte@openssl.org>
Fri, 29 Jan 2010 11:44:36 +0000 (11:44 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 29 Jan 2010 11:44:36 +0000 (11:44 +0000)
crypto/install.com

index b3f24cc..3717677 100644 (file)
@@ -117,6 +117,10 @@ $  IF D .EQS. "," THEN GOTO LOOP_SDIRS_END
 $      tmp = EXHEADER_'D'
 $      IF D .EQS. ""
 $      THEN
+$        ! If we don't find a file in the source directory, it's most
+$        ! probably generated for each architecture
+$        ! (opensslconf.h, for example)
+$        IF F$SEARCH("''tmp'") .EQS. "" THEN tmp = "[-.''ARCH'.CRYPTO]''tmp'"
 $        COPY 'tmp' WRK_SSLINCLUDE: /LOG
 $      ELSE
 $        COPY [.'D']'tmp' WRK_SSLINCLUDE: /LOG