diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-14 21:48:41 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-14 21:48:41 +0000 |
commit | 8171a144e05d7e1a52023bd08717f025d54fe016 (patch) | |
tree | 41f5ded5750902489d4667c292599f8cfcc24bd9 /wscript | |
parent | 323bd2918ecf0e827666a47bd1ffbe0ed4568ef2 (diff) |
add configure time option to make building the freebie binaries easier
git-svn-id: svn://localhost/ardour2/branches/3.0@10595 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -368,6 +368,8 @@ def options(opt): opt.add_option('--no-fpu-optimization', action='store_false', dest='fpu_optimization') opt.add_option('--freedesktop', action='store_true', default=False, dest='freedesktop', help='Install MIME type, icons and .desktop file as per freedesktop.org standards') + opt.add_option('--freebie', action='store_true', default=False, dest='freebie', + help='Build a version suitable for distribution as a zero-cost binary') opt.add_option('--freesound', action='store_true', default=False, dest='freesound', help='Include Freesound database lookup') opt.add_option('--gprofile', action='store_true', default=False, dest='gprofile', @@ -445,7 +447,8 @@ def configure(conf): conf.define ('HAVE_COREAUDIO', 1) conf.define ('AUDIOUNIT_SUPPORT', 1) - conf.define ('AU_STATE_SUPPORT', 1) + if not Options.options.freebie: + conf.define ('AU_STATE_SUPPORT', 1) conf.define ('GTKOSX', 1) conf.define ('TOP_MENUBAR',1) conf.define ('GTKOSX',1) |