diff options
author | David Robillard <d@drobilla.net> | 2011-05-20 16:39:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-20 16:39:23 +0000 |
commit | ebed51d51b557112de26ed3f3750cb3fa3c3d975 (patch) | |
tree | 9b6f964e0a93fadc8a3294265aa9351fa4438aec /wscript | |
parent | a8d19d25195f59dd47b398a1e640106cc9012a1d (diff) | |
download | suil-ebed51d51b557112de26ed3f3750cb3fa3c3d975.tar.gz suil-ebed51d51b557112de26ed3f3750cb3fa3c3d975.tar.bz2 suil-ebed51d51b557112de26ed3f3750cb3fa3c3d975.zip |
Fix compilation with ancient versions of Gtk2 (fix ticket #655).
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3299 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -39,7 +39,12 @@ def configure(conf): autowaf.check_header(conf, 'lv2/lv2plug.in/ns/extensions/ui/ui.h') autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2', - atleast_version='2.0.0', mandatory=False) + atleast_version='2.18.0', mandatory=False) + if not conf.env['HAVE_GTK2']: + autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2', + atleast_version='2.0.0', mandatory=False) + if conf.env['HAVE_GTK']: + autowaf.define('SUIL_OLD_GTK', 1) autowaf.check_pkg(conf, 'QtGui', uselib_store='QT4', atleast_version='4.0.0', mandatory=False) |