From 1a7d02624b0a3c2a679eae55aa61516ef54945d4 Mon Sep 17 00:00:00 2001 From: veego Date: Wed, 5 Jul 2000 13:57:15 +0000 Subject: [PATCH] Change the USELESS_CRYPTO check to MKCRYPTO_{IDEA,RC5,RSA}. --- crypto/Makefile.openssl | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/crypto/Makefile.openssl b/crypto/Makefile.openssl index 7ccc0d97b063..c91f753d3f96 100644 --- a/crypto/Makefile.openssl +++ b/crypto/Makefile.openssl @@ -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 @@ _MAKEFILE_OPENSSL_INCLUDED=1 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