Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/crypto Pull up rev. 1.3 (veego):



details:   https://anonhg.NetBSD.org/src/rev/712bee12c03e
branches:  netbsd-1-5
changeset: 488435:712bee12c03e
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jul 05 18:35:06 2000 +0000

description:
Pull up rev. 1.3 (veego):
Change the USELESS_CRYPTO check to MKCRYPTO_{IDEA,RC5,RSA}.

diffstat:

 crypto/Makefile.openssl |  14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 3694302bd472 -r 712bee12c03e crypto/Makefile.openssl
--- a/crypto/Makefile.openssl   Wed Jul 05 18:30:07 2000 +0000
+++ b/crypto/Makefile.openssl   Wed Jul 05 18:35:06 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.openssl,v 1.2 2000/06/16 06:16:37 thorpej Exp $
+#      $NetBSD: Makefile.openssl,v 1.2.2.1 2000/07/05 18:35:06 thorpej Exp $
 
 .ifndef _MAKEFILE_OPENSSL_INCLUDED
 _MAKEFILE_OPENSSL_INCLUDED=1
@@ -8,8 +8,16 @@
 OPENSSLSRC=    ${CRYPTODIST}/openssl
 CPPFLAGS+= -DOPENSSLDIR=\"/etc/openssl\"
 
-.if defined(USELESS_CRYPTO)
-CPPFLAGS+= -DNO_IDEA -DNO_RC5 -DNO_RSA
+.if (${MKCRYPTO_IDEA} == "no")
+CPPFLAGS+= -DNO_IDEA
+.endif
+
+.if (${MKCRYPTO_RC5} == "no")
+CPPFLAGS+= -DNO_RC5
+.endif
+
+.if (${MKCRYPTO_RSA} == "no")
+CPPFLAGS+= -DNO_RSA
 .endif
 
 .endif



Home | Main Index | Thread Index | Old Index