Always define HAVE_FOO for unique, libsoup and sqlite
This commit is contained in:
parent
3520fff923
commit
39d2b36b00
1 changed files with 4 additions and 0 deletions
4
wscript
4
wscript
|
@ -113,6 +113,7 @@ def configure (conf):
|
||||||
Utils.pprint ('RED', 'Please use an older or newer version.')
|
Utils.pprint ('RED', 'Please use an older or newer version.')
|
||||||
else:
|
else:
|
||||||
option_checkfatal ('unique', 'single instance')
|
option_checkfatal ('unique', 'single instance')
|
||||||
|
conf.define ('HAVE_UNIQUE', 0)
|
||||||
single_instance = 'no'
|
single_instance = 'no'
|
||||||
conf.check_message_custom ('single instance', 'support', single_instance)
|
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]
|
libsoup = ['not available','yes'][conf.env['HAVE_LIBSOUP'] == 1]
|
||||||
else:
|
else:
|
||||||
option_checkfatal ('libsoup', 'libsoup')
|
option_checkfatal ('libsoup', 'libsoup')
|
||||||
|
conf.define ('HAVE_LIBSOUP', 0)
|
||||||
|
conf.define ('HAVE_LIBSOUP_2_25_2', 0)
|
||||||
libsoup = 'no'
|
libsoup = 'no'
|
||||||
conf.check_message_custom ('libsoup', 'support', libsoup)
|
conf.check_message_custom ('libsoup', 'support', libsoup)
|
||||||
|
|
||||||
|
@ -130,6 +133,7 @@ def configure (conf):
|
||||||
sqlite = ['not available','yes'][conf.env['HAVE_SQLITE'] == 1]
|
sqlite = ['not available','yes'][conf.env['HAVE_SQLITE'] == 1]
|
||||||
else:
|
else:
|
||||||
option_checkfatal ('sqlite', 'history database')
|
option_checkfatal ('sqlite', 'history database')
|
||||||
|
conf.define ('HAVE_SQLITE', 0)
|
||||||
sqlite = 'no'
|
sqlite = 'no'
|
||||||
conf.check_message_custom ('history database', 'support', sqlite)
|
conf.check_message_custom ('history database', 'support', sqlite)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue