Enable PAM support if USE_PAM is set

This commit is contained in:
manu 2005-01-05 20:19:52 +00:00
parent a773da1261
commit 0a17789d0d
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.xdm,v 1.7 2004/05/16 10:25:14 lukem Exp $
# $NetBSD: Makefile.xdm,v 1.8 2005/01/05 20:19:52 manu Exp $
XDMVARDIR= /var/db/xdm
XDMDIR= ${X11ETCDIR}/xdm
@ -15,4 +15,9 @@ CPPFLAGS+= -DBINDIR=\"${X11BINDIR}\" -DXDMDIR=\"${XDMDIR}\" \
-I${X11SRCDIR.xc}/programs/xdm \
${X11FLAGS.VERSION}
.if (${USE_PAM} == YES)
CPPFLAGS+= -DUSE_PAM
LDADD+= -lpam
.endif
.PATH: ${X11SRCDIR.xc}/programs/xdm