Test for the existence of ../../secure rather

than /usr/include/des.h before building with MSChap.
support.  Also allow -DNOCRYPT (as well as -DNOSECURE)
as an override
sbin/init example pointed out by: bde
This commit is contained in:
Brian Somers 1997-09-28 20:17:59 +00:00
parent c2d4a15648
commit 4e556546a8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29947

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.25 1997/09/25 00:52:31 brian Exp $
# $Id: Makefile,v 1.26 1997/09/27 19:11:39 brian Exp $
PROG= ppp
SRCS= alias_cmd.c arp.c async.c auth.c ccp.c chap.c chat.c command.c \
@ -13,7 +13,7 @@ BINMODE=4550
BINOWN= root
BINGRP= network
.if exists(${DESTDIR}/usr/include/des.h) && !defined(NOSECURE)
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
CFLAGS+=-DHAVE_DES
SRCS+= chap_ms.c
LDADD+= -ldes