summaryrefslogtreecommitdiffstats
path: root/make/configure.py
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-05-24 18:15:40 +0000
committerjstebbins <[email protected]>2010-05-24 18:15:40 +0000
commitb1d5e7b5af2cbc601253d254389a4ef8df709639 (patch)
tree0baeb0af4fd534eabfa7f25d3456f2aa452e52a6 /make/configure.py
parenteef8301f8f1c858961395ea8f1a9e6a58400e36d (diff)
LinGui: add option to completely disable update checking
configure --disable-gtk-update-checks removes the code that does update checks including the webkit library used for displaying the appcast. this is useful when packaging for a repository that has it's own update mechanism. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3323 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'make/configure.py')
-rw-r--r--make/configure.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/configure.py b/make/configure.py
index dcd798cf4..6702ee28d 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -1055,6 +1055,8 @@ def createCLI():
h = IfHost( 'disable GTK GUI', '*-*-linux*', none=optparse.SUPPRESS_HELP ).value
grp.add_option( '--disable-gtk', default=False, action='store_true', help=h )
+ h = IfHost( 'disable GTK GUI update checks', '*-*-linux*', none=optparse.SUPPRESS_HELP ).value
+ grp.add_option( '--disable-gtk-update-checks', default=False, action='store_true', help=h )
h = IfHost( 'enable GTK GUI (mingw)', '*-*-mingw*', none=optparse.SUPPRESS_HELP ).value
grp.add_option( '--enable-gtk-mingw', default=False, action='store_true', help=h )
@@ -1451,6 +1453,7 @@ int main ()
doc.addBlank()
doc.add( 'FEATURE.asm', 'disabled' )
doc.add( 'FEATURE.gtk', int( not options.disable_gtk ))
+ doc.add( 'FEATURE.gtk.update.checks', int( not options.disable_gtk_update_checks ))
doc.add( 'FEATURE.gtk.mingw', int( options.enable_gtk_mingw ))
doc.add( 'FEATURE.xcode', int( not (Tools.xcodebuild.fail or options.disable_xcode or options.cross) ))