Don't check existence of -lcrypt to decide if DES is employed,

instead check that "NOCRYPT" isn't defined.
This commit is contained in:
Poul-Henning Kamp 1994-10-29 10:13:34 +00:00
parent e68790c363
commit e615020eae
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3989

View File

@ -1,11 +1,11 @@
# $Id$
# $Id: Makefile,v 1.8 1994/09/24 02:55:20 davidg Exp $
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
.if exists(/usr/lib/libcrypt.a)
.if !defined(NOCRYPT)
CFLAGS+=-DDES
LDADD+= -lcrypt
DPADD+= ${LIBCRYPT}