Merge pull request #428 from micmac1/fs-186
[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 prompt "FS TARRED archive to use"
35 default FS_WITH_OPENWRT_SOURCE
36 help
37 Select which tarred to use: local or OpenWRT
38 local: Manually downloaded from FS git repo
39 OpenWRT: FS tarred-file downloaded from source by OpenWRT
40 FS git repo: https://freeswitch.org/stash/scm/fs/freeswitch.git
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 y
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_LIBVPX
154 bool "Enable building libvpx"
155 default y
156 help
157 Compile to build libs/libvpx.
158
159 config FS_WITH_LIBYUV
160 bool "Enable building libyuv"
161 default y
162 help
163 Compile to build libs/libyuv.
164
165 config FS_WITH_LZMA
166 bool "Enable liblzma usage in libtiff"
167 default y
168 help
169 Compile libs/tiff package with liblzma support. This option
170 requires LZMA2 compression package called liblzma.
171
172 config FS_WITH_ODBC
173 depends on PACKAGE_sqliteodbc
174 depends on PACKAGE_unixodbc_svn
175 bool "Compile with ODBC support (Requires unixodbc NOT YET AVAILABLE)"
176 default n
177 help
178 Enable ODBC support. Since both sqliteodbc and unixodbc
179 packages are not yet available on OpenWRT, ODBC support
180 should not be enabled.
181
182 config FS_WITH_OPENSSL
183 bool "Enable SSL support"
184 default y
185 help
186 Compile with SSL support.
187
188 config FS_WITH_OPT
189 bool "Enable optimization"
190 default y
191 help
192 Compile with optimization flag enabled. This
193 will add max optimising compiler flags
194
195 config FS_WITH_SILENT_RULES
196 bool "Enable with less verbose build output"
197 default n
198 help
199 Enable this option to produce a less verbose build output
200 (undo: "make V=1")
201
202 config FS_WITH_SRTP
203 bool "Enable SRTP"
204 default y
205 help
206 Compile with SRTP support.
207
208 config FS_WITH_SRTP_GENERIC_AESICM
209 depends on FS_WITH_SRTP
210 bool "Compile in changes for ISMAcryp"
211 default y
212 help
213 Compile in changes for ISMAcryp.
214
215 config FS_WITH_SRTP_KERNEL_LINUX
216 depends on FS_WITH_SRTP
217 bool "Build library to run in Linux kernel context"
218 default n
219 help
220 Build library to run in Linux kernel context.
221
222 config FS_WITH_SRTP_OPENSSL
223 depends on FS_WITH_SRTP
224 bool "Use OpenSSL crypto primitives to build SRTP"
225 default y
226 help
227 Use OpenSSL crypto primitives.
228
229 config FS_WITH_STUN
230 bool "Enable stun module"
231 default y
232 help
233 Enable stun module.
234
235 config FS_WITH_ERLANG
236 depends on PACKAGE_freeswitch-mod-erlang-event
237 string
238 prompt "path to erlang installed directory"
239 default "$$(STAGING_DIR_HOSTPKG)/lib/erlang"
240 help
241 Specify the path to erlang libraries.
242
243 # config FS_WITH_OGG_INCLUDES
244 # string
245 # prompt "OGG include HEADER path"
246 # default "$$(STAGING_DIR)/usr/include"
247 # help
248 # Specify the include header path for OGG library.
249
250 config FS_WITH_PYTHON
251 bool "Enable to use system provided version of python"
252 default y
253 help
254 Enable to use system provided version of python.
255
256 config FS_WITH_PYTHON_PATH
257 depends on FS_WITH_PYTHON
258 string
259 prompt "full path to binary python$(PYTHON3_VERSION)"
260 default "$$(STAGING_DIR_HOSTPKG)/bin/python$(PYTHON3_VERSION)"
261 help
262 Specify the full path to binary python$(PYTHON3-VERSION).
263
264 endmenu