From 8171a144e05d7e1a52023bd08717f025d54fe016 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 14 Nov 2011 21:48:41 +0000 Subject: 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 --- wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index dab040b0f5..4de9f252e5 100644 --- a/wscript +++ b/wscript @@ -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) -- cgit v1.2.3