summaryrefslogtreecommitdiff
path: root/x11/Xcomposite/builtin.mk
blob: 2d1441d333068969f014b538d017f978d871bd38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $NetBSD: builtin.mk,v 1.4 2004/10/09 06:40:48 xtraeme Exp $

_XCOMPOSITE_H=	${X11BASE}/include/X11/extensions/xcomposite.h
_XCOMPOSITE_PC=	${X11BASE}/lib/pkgconfig/xcomposite.pc

.if !defined(IS_BUILTIN.Xcomposite)
IS_BUILTIN.Xcomposite=     no
.  if exists(${_XCOMPOSITE_H}) && exists(${_XCOMPOSITE_PC})
IS_BUILTIN.Xcomposite=     yes
.  endif
.endif  # IS_BUILTIN.Xcomposite

USE_BUILTIN.Xcomposite?=   ${IS_BUILTIN.Xcomposite}