summaryrefslogtreecommitdiff
path: root/usr.bin/login
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-19 21:26:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-19 21:26:35 +0000
commit60f0cc8b06f6b2a732dba45282047230a78eab47 (patch)
tree095b6ccdab3a498288710207dff5b8c76acad921 /usr.bin/login
parent11de9e6ceccf61da35fe169021912e46267d7f74 (diff)
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.
Diffstat (limited to 'usr.bin/login')
-rw-r--r--usr.bin/login/Makefile8
1 files changed, 4 insertions, 4 deletions
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 <bsd.own.mk> # 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