1
+ /***********************************************************************
2
+ **
3
+ ** REBOL [R3] Language Interpreter and Run-time Environment
4
+ **
5
+ ** Copyright 2012 REBOL Technologies
6
+ ** REBOL is a trademark of REBOL Technologies
7
+ **
8
+ ** Licensed under the Apache License, Version 2.0 (the "License");
9
+ ** you may not use this file except in compliance with the License.
10
+ ** You may obtain a copy of the License at
11
+ **
12
+ ** http://www.apache.org/licenses/LICENSE-2.0
13
+ **
14
+ ** Unless required by applicable law or agreed to in writing, software
15
+ ** distributed under the License is distributed on an "AS IS" BASIS,
16
+ ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ ** See the License for the specific language governing permissions and
18
+ ** limitations under the License.
19
+ **
20
+ ************************************************************************
21
+ **
22
+ ** Summary: Optional (default) build configuration
23
+ ** Module: opt-config.h
24
+ ** Author: Oldes
25
+ ** Notes:
26
+ ** This file may be used to specify, which parts should be used or excluded
27
+ **
28
+ ***********************************************************************/
29
+
30
+ #ifndef REBOL_OPTIONS_H
31
+
32
+ // native codecs ******************************************************/
33
+ #define INCLUDE_BMP_CODEC // used in u-bmp.c file
34
+ #define INCLUDE_PNG_CODEC // used in u-png.c file
35
+ #define INCLUDE_JPG_CODEC // used in u-jpg.c file
36
+ #define INCLUDE_GIF_CODEC // used in u-gif.c file
37
+
38
+ // native WAV codec was just a prove of concept, don't use it
39
+ // there is more feature full Rebol implementation instead
40
+ //#define INCLUDE_WAV_CODEC // used in u-wav.c file
41
+
42
+
43
+ // optional compression & encoding *************************************/
44
+ #define INCLUDE_LZMA // used in u-lzma.c, n-string.c and u-compress.c files
45
+ #define INCLUDE_BASE85 // adds support for enbase/debase with base 85 (ASCII85)
46
+
47
+
48
+ // optional devices ***************************************************/
49
+ #define INCLUDE_MIDI_DEVICE
50
+
51
+
52
+ // optional natives ***************************************************/
53
+ #define INCLUDE_IMAGE_NATIVES
54
+
55
+
56
+ // otional checksums **************************************************/
57
+ //#define INCLUDE_MBEDTLS // used for checksum implementation so far (for crypt later)
58
+ #define INCLUDE_MD4 // checksum: MD4 (unsecure)
59
+ #define INCLUDE_RIPEMD160 // checksum: RIPE-MD-160 (requires USE_MBEDTLS)
60
+
61
+
62
+ // unfinished features ************************************************/
63
+ //#define INCLUDE_TASK // tasks are not implemented yet, so include it only on demand
64
+
65
+
66
+
67
+ // other options ******************************************************/
68
+
69
+ //#define HAS_WIDGET_GOB // used in t-gob.c
70
+
71
+ //#define EXCLUDE_CHACHA20POLY1305 // don't include chacha20 and poly1305 cipher/authentication code
72
+
73
+ //#define USE_EMPTY_HASH_AS_NONE // a single # means NONE, else error; Used in l-scan.c file
74
+
75
+ //#define DO_NOT_NORMALIZE_MAP_KEYS
76
+ // with above define you would get:
77
+ // [a b:] = keys-of make map! [a 1 b: 2]
78
+ // [a 1 b: 2] = body-of make map! [a 1 b: 2]
79
+ //
80
+ // else:
81
+ // [a b] = keys-of make map! [a 1 b: 2]
82
+ // [a: 1 b: 2] = body-of make map! [a 1 b: 2]
83
+
84
+ //#define FORCE_ANSI_ESC_EMULATION_ON_WINDOWS // would not try to use MS' built-in VIRTUAL_TERMINAL_PROCESSING
85
+ //#define EXCLUDE_VECTOR_MATH // don't include vector math support (like: 3 * #[vector! integer! 8 3 [1 2 3]]); Used in t-vector.c file
86
+ //#define WRITE_ANY_VALUE_TO_CLIPBOARD // https://github.com/Oldes/Rebol-issues/issues/1619
87
+
88
+
89
+ //#define SERIES_LABELS // used for special debug purposes
90
+ //#define SHOW_SIZEOFS // for debugging ports to some systems
91
+ //#define NDEBUG // removes some asserts
92
+
93
+
94
+
95
+ //**************************************************************//
96
+ #include "opt-dependencies.h" // checks for above options
97
+
98
+ #endif //REBOL_OPTIONS_H
0 commit comments