summaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/libc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index 54fb044282b..9696cdb9f23 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 1996/12/08 15:22:24 downsj Exp $
+# $OpenBSD: Makefile,v 1.12 1997/04/19 21:26:17 millert Exp $
#
# All library objects contain sccsid strings by default; they may be
# excluded as a space-saving measure. To produce a library that does
@@ -17,7 +17,7 @@
LIB=c
CFLAGS+=-DNLS -DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/include
-.if defined(YP)
+.if (${YP} == "yes")
CFLAGS+=-DYP -I${.CURDIR}/yp
.endif
LINTFLAGS=-z
@@ -54,7 +54,7 @@ CLEANFILES+=tags
.include "${.CURDIR}/termios/Makefile.inc"
.include "${.CURDIR}/time/Makefile.inc"
.include "${.CURDIR}/sys/Makefile.inc"
-.if defined(YP)
+.if (${YP} == "yes")
.include "${.CURDIR}/yp/Makefile.inc"
.endif