Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto Change the USELESS_CRYPTO check to MKCRYPTO_{IDEA, RC5...
details: https://anonhg.NetBSD.org/src/rev/c72dde1b5bee
branches: trunk
changeset: 494309:c72dde1b5bee
user: veego <veego%NetBSD.org@localhost>
date: Wed Jul 05 13:57:15 2000 +0000
description:
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 19f5763ae54b -r c72dde1b5bee crypto/Makefile.openssl
--- a/crypto/Makefile.openssl Wed Jul 05 13:51:32 2000 +0000
+++ b/crypto/Makefile.openssl Wed Jul 05 13:57:15 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.3 2000/07/05 13:57:15 veego 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