main/astobj2: Make REF_DEBUG a menuselect item; improve REF_DEBUG output
[asterisk/asterisk.git] / build_tools / cflags.xml
1 <category name="MENUSELECT_CFLAGS" displayname="Compiler Flags" positive_output="yes" remove_on_change=".lastclean">
2                 <member name="DONT_OPTIMIZE" displayname="Disable Optimizations by the Compiler">
3                         <support_level>core</support_level>
4                 </member>
5                 <member name="DEBUG_THREADS" displayname="Enable Thread Debugging">
6                         <support_level>core</support_level>
7                 </member>
8                 <member name="REF_DEBUG" displayname="Enable reference count debugging">
9                         <support_level>extended</support_level>
10                 </member>
11                 <member name="STATIC_BUILD" displayname="Build static binaries">
12                         <support_level>extended</support_level>
13                 </member>
14                 <member name="LOADABLE_MODULES" displayname="Runtime module loading">
15                         <defaultenabled>yes</defaultenabled>
16                         <support_level>core</support_level>
17                 </member>
18                 <member name="DEBUG_FD_LEAKS" displayname="Enable File Descriptor Leak Detection">
19                         <support_level>core</support_level>
20                 </member>
21                 <member name="REBUILD_PARSERS" displayname="Rebuild AEL and expression parsers from bison/flex source files">
22                         <depend>bison</depend>
23                         <depend>flex</depend>
24                         <defaultenabled>no</defaultenabled>
25                         <support_level>extended</support_level>
26                 </member>
27                 <member name="LOW_MEMORY" displayname="Optimize for Low Memory Usage">
28                         <support_level>extended</support_level>
29                 </member>
30                 <member name="DISABLE_INLINE" displayname="Disable the inline API">
31                         <!-- Added to work around GCC bug
32                              See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47816
33                           -->
34                         <support_level>extended</support_level>
35                 </member>
36                 <member name="OPTIONAL_API" displayname="Enable the optional API">
37                         <!-- Added to manually disable the optional API, since
38                              it's now supported on all systems.
39                           -->
40                         <defaultenabled>yes</defaultenabled>
41                         <support_level>extended</support_level>
42                 </member>
43                 <member name="BETTER_BACKTRACES" displayname="Use libbfd (GPL) to generate better inline backtraces">
44                         <depend>BFD</depend>
45                         <depend>DLADDR</depend>
46                         <defaultenabled>no</defaultenabled>
47                         <support_level>core</support_level>
48                 </member>
49                 <member name="USE_HOARD_ALLOCATOR" displayname="Use the Hoard Memory Allocator instead of the default system one">
50                         <defaultenabled>no</defaultenabled>
51                         <depend>hoard</depend>
52                         <support_level>extended</support_level>
53                 </member>
54                 <member name="LOTS_OF_SPANS" displayname="More than 32 DAHDI spans">
55                         <support_level>core</support_level>
56                 </member>
57                 <member name="RADIO_RELAX" displayname="Relax DTMF for Radio Applications">
58                         <support_level>extended</support_level>
59                 </member>
60                 <member name="G711_NEW_ALGORITHM" displayname="Use the NEW ulaw/alaw codecs (slower, but cleaner)">
61                         <defaultenabled>no</defaultenabled>
62                         <support_level>extended</support_level>
63                 </member>
64                 <member name="G711_REDUCED_BRANCHING" displayname="New ulaw/alaw codec, reduced branching (might help it run faster in some architectures)">
65                         <depend>G711_NEW_ALGORITHM</depend>
66                         <support_level>extended</support_level>
67                 </member>
68                 <member name="TEST_CODING_TABLES" displayname="New ulaw/alaw codec, turn on table tests on init">
69                         <depend>G711_NEW_ALGORITHM</depend>
70                         <support_level>extended</support_level>
71                 </member>
72                 <member name="TEST_TANDEM_TRANSCODING" displayname="New ulaw/alaw codec, turn on transcoding tests on init">
73                         <depend>G711_NEW_ALGORITHM</depend>
74                         <support_level>extended</support_level>
75                 </member>
76                 <member name="MALLOC_DEBUG" displayname="Keep Track of Memory Allocations">
77                         <support_level>core</support_level>
78                 </member>
79                 <member name="BUSYDETECT_TONEONLY" displayname="Enable additional comparision of only the tone duration not the silence part">
80                         <conflict>BUSYDETECT_COMPARE_TONE_AND_SILENCE</conflict>
81                         <defaultenabled>no</defaultenabled>
82                         <support_level>extended</support_level>
83                 </member>
84                 <member name="BUSYDETECT_COMPARE_TONE_AND_SILENCE" displayname="Assume that tone and silence have the same duration">
85                         <conflict>BUSYDETECT_TONEONLY</conflict>
86                         <defaultenabled>no</defaultenabled>
87                         <support_level>extended</support_level>
88                 </member>
89                 <member name="BUSYDETECT_DEBUG" displayname="Enable additional busy detection debugging">
90                         <defaultenabled>no</defaultenabled>
91                         <support_level>extended</support_level>
92                 </member>
93                 <member name="INTEGER_CALLERID" displayname="Use the (less accurate) integer-based method for decoding FSK tones (for embedded systems)">
94                         <support_level>extended</support_level>
95                 </member>
96                 <member name="BUILD_NATIVE" displayname="Allow compiler to generate code optimized for the CPU on which the build is performed.">
97                         <support_level>core</support_level>
98                         <defaultenabled>yes</defaultenabled>
99                         <depend>native_arch</depend>
100                 </member>
101         </category>