Replaced 'Options' with 'Variables' to solve warnings about the former being deprecated.
This commit is contained in:
parent
37c6a6f97c
commit
ddbdbdb1d0
24
SConstruct
24
SConstruct
@ -459,15 +459,15 @@ if defaultSendmailPath == None:
|
|||||||
|
|
||||||
|
|
||||||
# Command line options
|
# Command line options
|
||||||
opts = Options('options.cache')
|
opts = Variables('options.cache')
|
||||||
|
|
||||||
opts.AddOptions(
|
opts.AddVariables(
|
||||||
(
|
(
|
||||||
'prefix',
|
'prefix',
|
||||||
'Installation prefix directory',
|
'Installation prefix directory',
|
||||||
'/usr'
|
'/usr'
|
||||||
),
|
),
|
||||||
EnumOption(
|
EnumVariable(
|
||||||
'debug',
|
'debug',
|
||||||
'Debug version (useful for developers only)',
|
'Debug version (useful for developers only)',
|
||||||
'no',
|
'no',
|
||||||
@ -475,7 +475,7 @@ opts.AddOptions(
|
|||||||
map = { },
|
map = { },
|
||||||
ignorecase = 1
|
ignorecase = 1
|
||||||
),
|
),
|
||||||
EnumOption(
|
EnumVariable(
|
||||||
'with_messaging',
|
'with_messaging',
|
||||||
'Messaging support (connection to mail store/transport servers)',
|
'Messaging support (connection to mail store/transport servers)',
|
||||||
'yes',
|
'yes',
|
||||||
@ -483,7 +483,7 @@ opts.AddOptions(
|
|||||||
map = { },
|
map = { },
|
||||||
ignorecase = 1
|
ignorecase = 1
|
||||||
),
|
),
|
||||||
EnumOption(
|
EnumVariable(
|
||||||
'with_filesystem',
|
'with_filesystem',
|
||||||
'Enable file-system support (this is needed for "maildir" messaging support)',
|
'Enable file-system support (this is needed for "maildir" messaging support)',
|
||||||
'yes',
|
'yes',
|
||||||
@ -509,7 +509,7 @@ opts.AddOptions(
|
|||||||
+ 'Currently available platform handlers: posix.',
|
+ 'Currently available platform handlers: posix.',
|
||||||
'"posix"'
|
'"posix"'
|
||||||
),
|
),
|
||||||
EnumOption(
|
EnumVariable(
|
||||||
'with_sasl',
|
'with_sasl',
|
||||||
'Enable SASL support (requires GNU SASL library)',
|
'Enable SASL support (requires GNU SASL library)',
|
||||||
'yes',
|
'yes',
|
||||||
@ -517,7 +517,7 @@ opts.AddOptions(
|
|||||||
map = { },
|
map = { },
|
||||||
ignorecase = 1
|
ignorecase = 1
|
||||||
),
|
),
|
||||||
EnumOption(
|
EnumVariable(
|
||||||
'with_tls',
|
'with_tls',
|
||||||
'Enable TLS support (requires GNU TLS library)',
|
'Enable TLS support (requires GNU TLS library)',
|
||||||
'yes',
|
'yes',
|
||||||
@ -530,7 +530,7 @@ opts.AddOptions(
|
|||||||
'Specifies the path to sendmail.',
|
'Specifies the path to sendmail.',
|
||||||
defaultSendmailPath
|
defaultSendmailPath
|
||||||
),
|
),
|
||||||
EnumOption(
|
EnumVariable(
|
||||||
'byte_order',
|
'byte_order',
|
||||||
'Byte order (Big Endian or Little Endian)',
|
'Byte order (Big Endian or Little Endian)',
|
||||||
sys.byteorder,
|
sys.byteorder,
|
||||||
@ -538,7 +538,7 @@ opts.AddOptions(
|
|||||||
map = { },
|
map = { },
|
||||||
ignorecase = 1
|
ignorecase = 1
|
||||||
),
|
),
|
||||||
EnumOption(
|
EnumVariable(
|
||||||
'pf_8bit_type',
|
'pf_8bit_type',
|
||||||
'The C-language 8-bit type for your platform',
|
'The C-language 8-bit type for your platform',
|
||||||
'char',
|
'char',
|
||||||
@ -546,7 +546,7 @@ opts.AddOptions(
|
|||||||
map = { },
|
map = { },
|
||||||
ignorecase = 1
|
ignorecase = 1
|
||||||
),
|
),
|
||||||
EnumOption(
|
EnumVariable(
|
||||||
'pf_16bit_type',
|
'pf_16bit_type',
|
||||||
'The C-language 16-bit type for your platform',
|
'The C-language 16-bit type for your platform',
|
||||||
'short',
|
'short',
|
||||||
@ -554,7 +554,7 @@ opts.AddOptions(
|
|||||||
map = { },
|
map = { },
|
||||||
ignorecase = 1
|
ignorecase = 1
|
||||||
),
|
),
|
||||||
EnumOption(
|
EnumVariable(
|
||||||
'pf_32bit_type',
|
'pf_32bit_type',
|
||||||
'The C-language 32-bit type for your platform',
|
'The C-language 32-bit type for your platform',
|
||||||
'int',
|
'int',
|
||||||
@ -562,7 +562,7 @@ opts.AddOptions(
|
|||||||
map = { },
|
map = { },
|
||||||
ignorecase = 1
|
ignorecase = 1
|
||||||
),
|
),
|
||||||
EnumOption(
|
EnumVariable(
|
||||||
'build_tests',
|
'build_tests',
|
||||||
'Build unit tests (run with "scons run-tests")',
|
'Build unit tests (run with "scons run-tests")',
|
||||||
'no',
|
'no',
|
||||||
|
Loading…
Reference in New Issue
Block a user