summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-21 05:35:43 +0000
committerDavid Robillard <d@drobilla.net>2012-03-21 05:35:43 +0000
commit6d02219044cbafc072c0eed93ce65eddc17b0961 (patch)
tree802ef3d693fde3cc89dcb3f13d641e27773b94f4 /wscript
parente6f61d105c1536f6821977f94927ef70f9bfe7d7 (diff)
downloadsuil-6d02219044cbafc072c0eed93ce65eddc17b0961.tar.gz
suil-6d02219044cbafc072c0eed93ce65eddc17b0961.tar.bz2
suil-6d02219044cbafc072c0eed93ce65eddc17b0961.zip
Implement resize extension automatically at the wrapper level.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4095 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript b/wscript
index 21cbb1f..75f52ec 100644
--- a/wscript
+++ b/wscript
@@ -43,6 +43,11 @@ def configure(conf):
conf.env.append_unique('CFLAGS', '-std=c99')
autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-extensions-ui', uselib_store='LV2_UI')
+ autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-ui-resize',
+ uselib_store='LV2_UI_RESIZE', mandatory=False)
+
+ if conf.env['HAVE_LV2_UI_RESIZE']:
+ autowaf.define(conf, 'HAVE_LV2_UI_RESIZE', 1)
autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2',
atleast_version='2.18.0', mandatory=False)