add a NOCRYPT check alongside the NO_OPENSSL check.

Approved by:	re (scottl)
This commit is contained in:
Dag-Erling Smørgrav 2003-05-19 15:52:50 +00:00
parent 7691f66abf
commit 54126046fd

View File

@ -5,7 +5,7 @@ PROG= factor
SRCS= factor.c pr_tbl.c
CFLAGS+=-I${.CURDIR}/../primes
.if exists(${.CURDIR}/../../crypto) && !defined(NO_OPENSSL)
.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
CFLAGS+=-DHAVE_OPENSSL
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}