]> spindle.queued.net Git - midori/commitdiff
Always define HAVE_FOO for unique, libsoup and sqlite
authorChristian Dywan <christian@twotoasts.de>
Mon, 12 Jan 2009 20:23:32 +0000 (21:23 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 12 Jan 2009 20:23:32 +0000 (21:23 +0100)
wscript

diff --git a/wscript b/wscript
index a124cad133c7e44ae991fa6351725ba378ee8d90..cccd3f829cd77159fa892bdecf4dc0192ee8daea 100644 (file)
--- a/wscript
+++ b/wscript
@@ -113,6 +113,7 @@ def configure (conf):
                 Utils.pprint ('RED', 'Please use an older or newer version.')
     else:
         option_checkfatal ('unique', 'single instance')
+        conf.define ('HAVE_UNIQUE', 0)
         single_instance = 'no'
     conf.check_message_custom ('single instance', 'support', single_instance)
 
@@ -122,6 +123,8 @@ def configure (conf):
         libsoup = ['not available','yes'][conf.env['HAVE_LIBSOUP'] == 1]
     else:
         option_checkfatal ('libsoup', 'libsoup')
+        conf.define ('HAVE_LIBSOUP', 0)
+        conf.define ('HAVE_LIBSOUP_2_25_2', 0)
         libsoup = 'no'
     conf.check_message_custom ('libsoup', 'support', libsoup)
 
@@ -130,6 +133,7 @@ def configure (conf):
         sqlite = ['not available','yes'][conf.env['HAVE_SQLITE'] == 1]
     else:
         option_checkfatal ('sqlite', 'history database')
+        conf.define ('HAVE_SQLITE', 0)
         sqlite = 'no'
     conf.check_message_custom ('history database', 'support', sqlite)