FreeSWITCH: FS git hash f7210b2402488ec8f9be97cc79921fa605bbb7a4
[feed/telephony.git] / net / freeswitch / Config.in
1 menu "Configuration"
2 depends on PACKAGE_freeswitch
3
4 choice
5 depends on DEVEL
6 prompt "Git HEAD version to use"
7 default FS_WITH_DEFAULT_HEAD
8 help
9 The existing git HEAD is probably outdated. This option allows
10 OpenWRT to pull the latest git HEAD. Please ONLY enable this
11 option if you know what you are doing. It may and/or may not
12 be cleanly compiled and may require some intervension to create
13 new patches. If you take this route and come up with some patches,
14 please contemplate to contribute
15 or send in your patches.
16
17 config FS_WITH_DEFAULT_HEAD
18 bool "Default"
19 help
20 Since developers @FreeSWITCH are actively working to improve
21 FreeSWITCH, there is a chance the default git HEAD has long
22 been oudated.
23
24 config FS_WITH_LATEST_HEAD
25 bool "Latest"
26 help
27 Please use this option with cautious. It may and/or may not compile
28 out of the box and may and/or may not require some additional new
29 patches.
30
31 endchoice
32
33 choice
34 depends on FS_WITH_LATEST_HEAD
35 prompt "FS TARRED archive to use"
36 default FS_WITH_OPENWRT_SOURCE
37 help
38 Select which tarred to use: local or OpenWRT
39 local: FS tarred from local archive
40 OpenWRT: FS tarred download from source by OpenWRT
41
42 config FS_WITH_LOCAL_SOURCE
43 bool "local"
44 help
45 Use local tarred archive. This approach requires a manually checkout
46 source from FS git repository using 'git clone', then package the
47 source using tar with XZ compression. The tarred file should include
48 $(PKG_VERSION) as follows:
49 1. "git clone git://git.freeswitch.org/freeswitch.git <dir>"
50 2. Change to <dir>.
51 3. "git checkout $(FS_DEFAULT_HEAD) && git submodule update"
52 4. Back to parent <dir>.
53 5. "tar -Jcf freeswitch_git-$(PKG_VERSION).tar.xz <dir>"
54 6. Move the tarred file to OpenWRT download directory.
55
56 config FS_WITH_OPENWRT_SOURCE
57 bool "OpenWRT"
58 help
59 Use (download) tarred archive from OpenWRT.
60
61 endchoice
62
63 choice
64 prompt "Select database"
65 default FS_WITH_SQLITE3
66 help
67 Select which database library to use for libs/apr-util package.
68 Default is SQLite.
69
70 config FS_WITH_MYSQL
71 bool "MySQL"
72 help
73 Compile libs/apr-util with MySQL support.
74
75 config FS_WITH_POSTGRESQL
76 bool "PostgreSQL"
77 help
78 Compile libs/apr-util with PostgreSQL support.
79
80 config FS_WITH_SQLITE3
81 bool "SQLITE3"
82 help
83 Compile libs/apr-util with SQLITE3 support.
84
85 endchoice
86
87 config FS_WITH_ALSA
88 bool "Enable ALSA for sound support"
89 default n
90 help
91 Compile with ALSA support.
92
93 config FS_WITH_VISIBILITY
94 bool "Enable API visibility support"
95 default y
96 help
97 Compile with API visibility support.
98
99 config FS_WITH_APR_CONFIG_SWITCHES
100 bool "Enable APR configuration switches"
101 default y
102 help
103 Enable some configure switches in libs/apr.
104
105 config FS_WITH_APR_IPV6
106 depends on FS_WITH_APR_CONFIG_SWITCHES
107 bool "Enable IPV6 support in APR"
108 default y
109 help
110 Compile libs/apr package with IPV6 support.
111
112 config FS_WITH_APR_SCTP
113 depends on FS_WITH_APR_CONFIG_SWITCHES
114 bool "Enable SCTP support in APR"
115 default y
116 help
117 Compile with SCTP (Stream Control Transfer Protocol)
118 support in lib APR.
119
120 config FS_WITH_APR_THREADS
121 depends on FS_WITH_APR_CONFIG_SWITCHES
122 bool "Enable threading support in APR"
123 default y
124 help
125 Compile with threads support in libs/apr.
126
127 config FS_WITH_BUILTIN_ZRTP
128 bool "Enable built-in ZRTP"
129 default y
130 help
131 Compile with ZRTP support.
132
133 config FS_WITH_OGG
134 bool "Enable ogg support in mod_celt"
135 default y
136 help
137 Enable this option to allow use of OGG in mod_celt.
138
139 config FS_WITH_CORE_LIBEDIT_SUPPORT
140 bool "Compile with libedit Support"
141 default n
142 help
143 Compile with libedit Support. ATM, libedit isn't
144 supported by OpenWRT.
145
146 config FS_WITH_FHS
147 bool "Follow the FHS when placing files and directories"
148 default y
149 help
150 Build FreeSWITCH to comply with FHS when placing
151 files and directories.
152
153 config FS_WITH_LZMA
154 bool "Enable liblzma usage in libtiff"
155 default y
156 help
157 Compile libs/tiff package with liblzma support. This option
158 requires LZMA2 compression package called liblzma.
159
160 config FS_WITH_ODBC
161 depends on PACKAGE_sqliteodbc
162 depends on PACKAGE_unixodbc_svn
163 bool "Compile with ODBC support (Requires unixodbc NOT YET AVAILABLE)"
164 default n
165 help
166 Enable ODBC support. Since both sqliteodbc and unixodbc
167 packages are not yet available on OpenWRT, ODBC support
168 should not be enabled.
169
170 config FS_WITH_OPENSSL
171 bool "Enable SSL support"
172 default y
173 help
174 Compile with SSL support.
175
176 config FS_WITH_OPT
177 bool "Enable optimization"
178 default y
179 help
180 Compile with optimization flag enabled. This
181 will add max optimising compiler flags
182
183 config FS_WITH_SRTP
184 bool "Enable SRTP"
185 default y
186 help
187 Compile with SRTP support.
188
189 config FS_WITH_SRTP_GENERIC_AESICM
190 depends on FS_WITH_SRTP
191 bool "Compile in changes for ISMAcryp"
192 default y
193 help
194 Compile in changes for ISMAcryp.
195
196 config FS_WITH_SRTP_KERNEL_LINUX
197 depends on FS_WITH_SRTP
198 bool "Build library to run in Linux kernel context"
199 default n
200 help
201 Build library to run in Linux kernel context.
202
203 config FS_WITH_SRTP_OPENSSL
204 depends on FS_WITH_SRTP
205 bool "Use OpenSSL crypto primitives to build SRTP"
206 default y
207 help
208 Use OpenSSL crypto primitives.
209
210 config FS_WITH_ERLANG
211 depends on PACKAGE_freeswitch-mod-erlang-event
212 string
213 prompt "path to erlang installed directory"
214 default "$$(STAGING_DIR_HOST)/lib/erlang"
215 help
216 Specify the path to erlang libraries.
217
218 # config FS_WITH_OGG_INCLUDES
219 # string
220 # prompt "OGG include HEADER path"
221 # default "$$(STAGING_DIR)/usr/include"
222 # help
223 # Specify the include header path for OGG library.
224
225 endmenu