From 60f0cc8b06f6b2a732dba45282047230a78eab47 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 19 Apr 1997 21:26:35 +0000 Subject: Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")'' Same change doen for SKEY, YP, and KERBEROS5. This allows people to override those setting in /etc/mk.conf. --- usr.bin/login/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.bin/login') diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile index 07e00167837..b866fdd7698 100644 --- a/usr.bin/login/Makefile +++ b/usr.bin/login/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 1997/03/26 00:35:29 deraadt Exp $ +# $OpenBSD: Makefile,v 1.9 1997/04/19 21:26:26 millert Exp $ # $NetBSD: Makefile,v 1.10 1994/12/23 06:52:56 jtc Exp $ PROG= login @@ -8,18 +8,18 @@ DPADD= ${LIBUTIL} .include # For SKEY, KERBEROS and KERBEROS5 -.if defined(SKEY) +.if (${SKEY} == "yes") CFLAGS+=-DSKEY LDADD+= -lskey DPADD+= ${LIBSKEY} .endif -.if defined(KERBEROS5) +.if (${KERBEROS5} == "yes") CFLAGS+= -DKERBEROS5 SRCS+= k5login.c LDADD+= -lkrb5 -lcrypto DPADD+= ${LIBKRB5} ${LIBCRYPTO} -.elif defined(KERBEROS) +.elif (${KERBEROS} == "yes") CFLAGS+= -DKERBEROS SRCS+= klogin.c LDADD+= -lkrb -ldes -- cgit v1.2.3