use XIDLE extension (if present)

This commit is contained in:
brezak 1993-07-22 13:09:47 +00:00
parent b74ddcc84b
commit 3c0990e964
1 changed files with 6 additions and 0 deletions

View File

@ -11,5 +11,11 @@ MAN8 = rpc.rusersd.0
DPADD= ${LIBRPCSVC} ${LIBUTIL}
LDADD= -lrpcsvc -lutil
.if exists(/usr/include/X11/extensions/xidle.h)
CFLAGS+= -DXIDLE
LDADD+= -L/usr/X386/lib -lXext -lX11
.endif
.include <bsd.prog.mk>