aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2010-02-12 22:00:49 +0000
committerVincent Richard <[email protected]>2010-02-12 22:00:49 +0000
commitddbdbdb1d0951f45c9b04bcdee5a0e7c1fb25829 (patch)
tree45c96a18589ebcf9a0453d0682585d28bbbf3c90
parentFixed missing M4 file in dist tarball. (diff)
downloadvmime-ddbdbdb1d0951f45c9b04bcdee5a0e7c1fb25829.tar.gz
vmime-ddbdbdb1d0951f45c9b04bcdee5a0e7c1fb25829.zip
Replaced 'Options' with 'Variables' to solve warnings about the former being deprecated.
-rw-r--r--SConstruct24
1 files changed, 12 insertions, 12 deletions
diff --git a/SConstruct b/SConstruct
index f6dc2573..d45aec01 100644
--- a/SConstruct
+++ b/SConstruct
@@ -459,15 +459,15 @@ if defaultSendmailPath == None:
# Command line options
-opts = Options('options.cache')
+opts = Variables('options.cache')
-opts.AddOptions(
+opts.AddVariables(
(
'prefix',
'Installation prefix directory',
'/usr'
),
- EnumOption(
+ EnumVariable(
'debug',
'Debug version (useful for developers only)',
'no',
@@ -475,7 +475,7 @@ opts.AddOptions(
map = { },
ignorecase = 1
),
- EnumOption(
+ EnumVariable(
'with_messaging',
'Messaging support (connection to mail store/transport servers)',
'yes',
@@ -483,7 +483,7 @@ opts.AddOptions(
map = { },
ignorecase = 1
),
- EnumOption(
+ EnumVariable(
'with_filesystem',
'Enable file-system support (this is needed for "maildir" messaging support)',
'yes',
@@ -509,7 +509,7 @@ opts.AddOptions(
+ 'Currently available platform handlers: posix.',
'"posix"'
),
- EnumOption(
+ EnumVariable(
'with_sasl',
'Enable SASL support (requires GNU SASL library)',
'yes',
@@ -517,7 +517,7 @@ opts.AddOptions(
map = { },
ignorecase = 1
),
- EnumOption(
+ EnumVariable(
'with_tls',
'Enable TLS support (requires GNU TLS library)',
'yes',
@@ -530,7 +530,7 @@ opts.AddOptions(
'Specifies the path to sendmail.',
defaultSendmailPath
),
- EnumOption(
+ EnumVariable(
'byte_order',
'Byte order (Big Endian or Little Endian)',
sys.byteorder,
@@ -538,7 +538,7 @@ opts.AddOptions(
map = { },
ignorecase = 1
),
- EnumOption(
+ EnumVariable(
'pf_8bit_type',
'The C-language 8-bit type for your platform',
'char',
@@ -546,7 +546,7 @@ opts.AddOptions(
map = { },
ignorecase = 1
),
- EnumOption(
+ EnumVariable(
'pf_16bit_type',
'The C-language 16-bit type for your platform',
'short',
@@ -554,7 +554,7 @@ opts.AddOptions(
map = { },
ignorecase = 1
),
- EnumOption(
+ EnumVariable(
'pf_32bit_type',
'The C-language 32-bit type for your platform',
'int',
@@ -562,7 +562,7 @@ opts.AddOptions(
map = { },
ignorecase = 1
),
- EnumOption(
+ EnumVariable(
'build_tests',
'Build unit tests (run with "scons run-tests")',
'no',