]> spindle.queued.net Git - midori/commitdiff
Warn at configure time if GVfs is not installed
authorChristian Dywan <christian@twotoasts.de>
Sun, 31 Aug 2008 01:14:00 +0000 (03:14 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 31 Aug 2008 01:14:00 +0000 (03:14 +0200)
wscript

diff --git a/wscript b/wscript
index 8d246fc8e0bab2e1c92b857842bb1dd5b684a5e1..d280fc1eec3bdc89b369baf47399380fb01c09aa 100644 (file)
--- a/wscript
+++ b/wscript
@@ -4,6 +4,7 @@
 import Params
 import pproc as subprocess
 import Common
+import platform
 
 APPNAME = 'midori'
 VERSION = '0.0.20'
@@ -49,6 +50,13 @@ def configure (conf):
         gio = 'no'
     conf.check_message_custom ('GIO', 'support', gio)
 
+    if gio == 'yes':
+        if platform.system () != 'Windows':
+            if not conf.find_program ('gvfs-open'):
+                print '\tNote: There doesn\'t seem to be GVfs installed.'
+                print '\t      The HTTP backend of GVfs is recommended for'
+                print '\t      viewing source code and loading favicons.'
+
     conf.check_pkg ('gtk+-2.0', destvar='GTK', vnum='2.6.0', mandatory=True)
     conf.check_pkg ('gtksourceview-2.0', destvar='GTKSOURCEVIEW', vnum='2.0', mandatory=False)
     conf.check_pkg ('webkit-1.0', destvar='WEBKIT', vnum='0.1', mandatory=True)