Pass /usr/X11R6/include for OpenBSD to find X11

This commit is contained in:
Rivo Nurges 2010-04-30 23:34:07 +02:00 committed by Christian Dywan
parent e7f04272cd
commit 7fe6c5614f

View file

@ -218,8 +218,10 @@ def configure (conf):
args = '--define-variable=target=win32'
elif sys.platform != 'darwin':
check_pkg ('x11')
conf.check (header_name='X11/extensions/scrnsaver.h', mandatory=False)
conf.check (lib='Xss', mandatory=False)
# Pass /usr/X11R6/include for OpenBSD
conf.check (header_name='X11/extensions/scrnsaver.h',
includes='/usr/X11R6/include', mandatory=False)
conf.check (lib='Xss', libpath='/usr/X11R6/lib', mandatory=False)
check_pkg ('gtk+-2.0', '2.10.0', var='GTK', args=args)
check_pkg ('webkit-1.0', '1.1.1', args=args)
check_pkg ('libsoup-2.4', '2.25.2')