OPAL Version 3.10.4

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- File List
- Globals

buildopts.h
Go to the documentation of this file.
1 /* include/opal/buildopts.h. Generated from buildopts.h.in by configure. */
2 /*
3 * buildopts.h
4 *
5 * Build options generated by the configure script.
6 *
7 * Portable Windows Library
8 *
9 * Copyright (c) 2003 Equivalence Pty. Ltd.
10 *
11 * The contents of this file are subject to the Mozilla Public License
12 * Version 1.0 (the "License"); you may not use this file except in
13 * compliance with the License. You may obtain a copy of the License at
14 * http://www.mozilla.org/MPL/
15 *
16 * Software distributed under the License is distributed on an "AS IS"
17 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
18 * the License for the specific language governing rights and limitations
19 * under the License.
20 *
21 * The Original Code is Portable Windows Library.
22 *
23 * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
24 *
25 * Contributor(s): ______________________________________.
26 *
27 * $Revision: 26936 $
28 * $Author: rjongbloed $
29 * $Date: 2012-02-06 19:31:58 -0600 (Mon, 06 Feb 2012) $
30 */
31
32 #ifndef OPAL_BUILDOPTS_H
33 #define OPAL_BUILDOPTS_H
34
35 #include <ptbuildopts.h>
36
38 //
39 // OPAL Version
40 //
41
42 #define OPAL_MAJOR 3
43 #define OPAL_MINOR 10
44 #define OPAL_BUILD 4
45 #define OPAL_VERSION "3.10.4"
46
47 #define OPAL_PTLIB_SSL 1
48 #define OPAL_PTLIB_SSL_AES 1
49 #define OPAL_PTLIB_ASN 1
50 #define OPAL_PTLIB_EXPAT 1
51 #define OPAL_PTLIB_AUDIO 1
52 #define OPAL_PTLIB_VIDEO 1
53 #define OPAL_PTLIB_WAVFILE 1
54 #define OPAL_PTLIB_DTMF 1
55 #define OPAL_PTLIB_IPV6 1
56 #ifndef _WIN32_WCE
57 #define OPAL_PTLIB_DNS 1
58 #endif
59 #ifndef P_IPHONEOS
60 #define OPAL_PTLIB_LDAP 1
61 #endif
62 #define OPAL_PTLIB_VXML 1
63 #define OPAL_PTLIB_CONFIG_FILE 1
64 #define OPAL_AEC 1
65
66
67 // If a "configure" did not set these variables above then they get set from PTlib variables
68
69 #if defined(P_SSL) && !defined(OPAL_PTLIB_SSL)
70 #define OPAL_PTLIB_SSL 1
71 #endif
72 #if defined(P_SSL_AES) && !defined(OPAL_PTLIB_SSL_AES)
73 #define OPAL_PTLIB_SSL_AES 1
74 #endif
75 #if defined(P_ASN) && !defined(OPAL_PTLIB_ASN)
76 #define OPAL_PTLIB_ASN 1
77 #endif
78 #if defined(P_EXPAT) && !defined(OPAL_PTLIB_EXPAT)
79 #define OPAL_PTLIB_EXPAT 1
80 #endif
81 #if defined(P_AUDIO) && !defined(OPAL_PTLIB_AUDIO)
82 #define OPAL_PTLIB_AUDIO 1
83 #endif
84 #if defined(P_VIDEO) && !defined(OPAL_PTLIB_VIDEO)
85 #define OPAL_PTLIB_VIDEO 1
86 #endif
87 #if defined(P_WAVFILE) && !defined(OPAL_PTLIB_WAVFILE)
88 #define OPAL_PTLIB_WAVFILE 1
89 #endif
90 #if defined(P_DTMF) && !defined(OPAL_PTLIB_DTMF)
91 #define OPAL_PTLIB_DTMF 1
92 #endif
93 #if defined(P_HAS_IPV6) && !defined(OPAL_PTLIB_IPV6)
94 #define OPAL_PTLIB_IPV6 1
95 #endif
96 #if defined(P_DNS) && !defined(OPAL_PTLIB_DNS)
97 #define OPAL_PTLIB_DNS 1
98 #endif
99 #if defined(P_LDAP) && !defined(OPAL_PTLIB_LDAP)
100 #define OPAL_PTLIB_LDAP 1
101 #endif
102 #if defined(P_VXML) && !defined(OPAL_PTLIB_VXML)
103 #define OPAL_PTLIB_VXML 1
104 #endif
105 #if defined(P_CONFIG_FILE) && !defined(OPAL_PTLIB_CONFIG_FILE)
106 #define OPAL_PTLIB_CONFIG_FILE 1
107 #endif
108
109 #define OPAL_PLUGIN_DIR "/usr/lib/opal-3.10.4"
110
111 // Video
112 #if P_VIDEO
113 #define OPAL_VIDEO 1
114 #endif
115
116
118 //
119 // Protocol support
120 //
121
122 #define OPAL_IAX2 1
123 #define OPAL_SIP 1
124 #define OPAL_H323 1
125 #define OPAL_LID 1
126 #define OPAL_CAPI 1
127 /* #undef OPAL_T120DATA */
128
129 #if OPAL_PTLIB_VXML
130 #define OPAL_IVR 1
131 #endif
132
133 #if OPAL_H323
134 #if OPAL_VIDEO
135 #define OPAL_H239 1
136 #endif
137 #define OPAL_H501 1
138
139 #define OPAL_H450 1
140 #if OPAL_H450
141 #define H323_H450 OPAL_H450
142 #endif
143
144 #define OPAL_H460 1
145 #if OPAL_H460
146 #define H323_H460 OPAL_H460
147 #endif
148 #else // OPAL_H323
149 #define H323_DISABLE_H225 1
150 #define H323_DISABLE_H235 1
151 #define H323_DISABLE_H245 1
152 #endif // OPAL_H323
153
154
155 #if !OPAL_H450
156 #define H323_DISABLE_X880 1
157 #define H323_DISABLE_H4501 1
158 #define H323_DISABLE_H4502 1
159 #define H323_DISABLE_H4503 1
160 #define H323_DISABLE_H4504 1
161 #define H323_DISABLE_H4505 1
162 #define H323_DISABLE_H4506 1
163 #define H323_DISABLE_H4507 1
164 #define H323_DISABLE_H4508 1
165 #define H323_DISABLE_H4509 1
166 #define H323_DISABLE_H45010 1
167 #define H323_DISABLE_H45011 1
168 #endif
169
170
171 #if !OPAL_T120DATA
172 #define H323_DISABLE_GCC 1
173 #define H323_DISABLE_MCS 1
174 #endif // OPAL_T120DATA
175
176
177 #if !OPAL_H501
178 #define H323_DISABLE_H501 1
179 #endif
180
181
183 //
184 // Various options
185 //
186
187 #define OPAL_STATISTICS 1
188 #define OPAL_RTCP_XR 1
189 /* #undef GCC_HAS_CLZ */
190
191 #define OPAL_HAS_MIXER 1
192 #if OPAL_PTLIB_AUDIO
193 #define OPAL_HAS_PCSS 1
194 #endif
195
196
198 //
199 // Media support
200 //
201
202 // G.711 Packet Loss Concealment
203 #define OPAL_G711PLC 1
204
205 #if OPAL_VIDEO
206 // Uncompressed video over RTP
207 #define OPAL_RFC4175 1
208
209 // JPEG over RTP
210 /* #undef OPAL_RFC2435 */
211
212 #if OPAL_RFC2435
213 #if defined(_MSC_VER)
214 #define JPEGLIB_LIBRARY "@JPEGLIB_DIR@/../lib/jpeg.lib"
215 #pragma include_alias(<jpeglib.h>, <@JPEGLIB_DIR@/jpeglib.h>)
216 #endif
217 #endif
218 #endif
219
220
221 // T.38 Fax
222 #define OPAL_T38_CAPABILITY 1
223
224 #if OPAL_T38_CAPABILITY
225 #if OPAL_PTLIB_ASN
226 #define OPAL_FAX 1
227 #endif
228 #endif
229
230 #if !OPAL_FAX
231 #define H323_DISABLE_T38 1
232 #endif
233
234
235 // Instant Messaging
236 #define OPAL_HAS_MSRP 1
237 #if OPAL_SIP
238 #define OPAL_HAS_SIPIM 1
239 #endif
240 #define OPAL_HAS_RFC4103 1
241
242 #define OPAL_HAS_IM (OPAL_HAS_SIPIM || OPAL_HAS_MSRP || OPAL_HAS_RFC4103)
243
244
245 // Far end camera control
246 #define OPAL_HAS_H224 1
247 #define OPAL_HAS_H281 1
248
249
250 // Use system Speex audio codec
251 #define OPAL_SYSTEM_SPEEX 1
252 #define OPAL_HAVE_SPEEX_SPEEX_H 1
253 /* #undef OPAL_SPEEX_FLOAT_NOISE */
254
255
257 //
258 // VoiceTronic VPB Line Interface Devide support
259 //
260
261 #if OPAL_LID
262 /* #undef HAS_VPB */
263
264 #if HAS_VPB
265 #if defined(_MSC_VER)
266 #pragma include_alias(<vpbapi.h>, <@VPB_DIR@/src/vpbapi.h>)
267 #define VPB_LIBRARY "@VPB_DIR@/win32/libvpb/Debug/libvpb.lib"
268 #endif
269 #endif
270 #endif
271
272
274 //
275 // libSRTP support
276 //
277
278 /* Temporarily disabled as is currently broken, doesn't work,
279 probably doesn't even compile, need to sort out API to enable/disable,
280 add SDP and H.245 handling, and link into libsrtp
281 */
282 //#undef HAS_LIBSRTP
283
284 #if HAS_LIBSRTP && !OPAL_ZRTP && !defined(_WIN32_WCE)
285
286 #define OPAL_SRTP 1
287
288 #if defined(_MSC_VER)
289
290 #pragma include_alias("srtp/srtp.h", "@LIBSRTP_DIR@/include/srtp.h")
291 #pragma include_alias(<srtp/include/srtp.h>, <@LIBSRTP_DIR@/include/srtp.h>)
292 #pragma include_alias("crypto_kernel.h", "@LIBSRTP_DIR@/crypto/include/crypto_kernel.h")
293 #pragma include_alias("rdbx.h", "@LIBSRTP_DIR@/crypto/include/rdbx.h")
294 #pragma include_alias("rdb.h", "@LIBSRTP_DIR@/crypto/include/rdb.h")
295 #pragma include_alias("integers.h", "@LIBSRTP_DIR@/crypto/include/integers.h")
296
297 #ifdef _DEBUG
298 #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Debug/libsrtp.lib"
299 #else
300 #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Release/libsrtp.lib"
301 #endif
302 #endif
303 #endif
304
305
307 //
308 // libZRTP support
309 //
310
311 /* Temporarily disabled as is currently broken, doesn't work,
312 probably doesn't even compile, need to sort out API to enable/disable as
313 well as getting the pass code back to user, and link into libzrtp
314 */
315 //#undef HAS_LIBZRTP
316
317 #if defined(OPAL_SRTP) && defined(HAS_LIBZRTP) && !defined(_WIN32_WCE)
318
319 #define OPAL_ZRTP 1
320
321 #if defined(_MSC_VER)
322
323 #ifdef _DEBUG
324 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Debug/libzrtp.lib"
325 #else
326 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Release/libzrtp.lib"
327 #endif
328
329 #pragma comment(lib, LIBZRTP_LIBRARY)
330
331 #pragma include_alias("WINCONFIG/config.h", "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
332 #pragma include_alias("WINCONFIG\config.h", "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
333
334 #pragma include_alias(<zrtp.h>, <@LIBZRTP_DIR@/include/zrtp.h>)
335 #pragma include_alias(<zrtp_log.h>, <@LIBZRTP_DIR@/include/zrtp_log.h>)
336 #pragma include_alias(<zrtp_types.h>, <@LIBZRTP_DIR@/include/zrtp_types.h>)
337 #pragma include_alias(<zrtp_crypto.h>, <@LIBZRTP_DIR@/include/zrtp_crypto.h>)
338 #pragma include_alias(<zrtp_protocol.h>, <@LIBZRTP_DIR@/include/zrtp_protocol.h>)
339 #pragma include_alias(<zrtp_string.h>, <@LIBZRTP_DIR@/include/zrtp_string.h>)
340 #pragma include_alias(<zrtp_iface.h>, <@LIBZRTP_DIR@/include/zrtp_iface.h>)
341 #pragma include_alias(<zrtp_error.h>, <@LIBZRTP_DIR@/include/zrtp_error.h>)
342 #pragma include_alias(<zrtp_net.h>, <@LIBZRTP_DIR@/include/zrtp_net.h>)
343 #pragma include_alias(<zrtp_system.h>, <@LIBZRTP_DIR@/include/zrtp_system.h>)
344 #pragma include_alias("bn.h", "@LIBZRTP_DIR@/bnlib/bn.h")
345 #pragma include_alias(<bn.h>, <@LIBZRTP_DIR@/bnlib/bn.h>)
346 #pragma include_alias("bnsize00.h", "@LIBZRTP_DIR@/bnlib/bnsize00.h")
347 #pragma include_alias(<bnsize00.h>, <@LIBZRTP_DIR@/bnlib/bnsize00.h>)
348
349 #pragma include_alias("aes.h", "@LIBZRTP_DIR@/bgaes/aes.h")
350 #pragma include_alias("sha2.h", "@LIBZRTP_DIR@/bgaes/sha2.h")
351
352 #pragma include_alias("zrtp_win_config.h", "@LIBZRTP_DIR@/config/zrtp_win_config.h")
353
354
355 // ZRTP includes SRTP, so include SRTP headers
356
357 #pragma include_alias("srtp.h", "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
358 #pragma include_alias(<srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
359 #pragma include_alias("srtp/srtp.h", "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
360 #pragma include_alias(<srtp/include/srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
361 #pragma include_alias("crypto_kernel.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/crypto_kernel.h")
362 #pragma include_alias("rdbx.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdbx.h")
363 #pragma include_alias("rdb.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdb.h")
364 #pragma include_alias("integers.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/integers.h")
365
366 // end of SRTP headers
367
368 #endif
369 #endif
370
371
373 //
374 // Java JNI support
375 //
376
377 /* #undef OPAL_JAVA */
378
379 #if OPAL_JAVA
380 #if defined(_MSC_VER)
381 #pragma include_alias(<jni.h>, <@JAVA_DIR@/include/jni.h>)
382 #pragma include_alias("jni_md.h", "@JAVA_DIR@/include/win32/jni_md.h")
383 #endif
384 #endif
385
386
388 //
389 // Ruby support
390 //
391
392 #if !defined(_WIN32_WCE)
393 /* #undef OPAL_RUBY */
394 #endif
395
396 #if OPAL_RUBY
397
398 #if defined(_MSC_VER)
399 #define RUBY_MSC_VER 1200
400
401 #pragma include_alias(<ruby.h>, <@RUBY_DIR@/ruby.h>)
402 #pragma include_alias("ruby/config.h", "@RUBY_DIR@/i386-mswin32/ruby/config.h")
403 #pragma include_alias("ruby/io.h", "@RUBY_DIR@/ruby/io.h")
404 #pragma include_alias("ruby/encoding.h", "@RUBY_DIR@/ruby/encoding.h")
405 #pragma include_alias("ruby/oniguruma.h", "@RUBY_DIR@/ruby/oniguruma.h")
406
407 #define RUBY_LIBRARY "@RUBY_DIR@/../../lib/msvcrt-ruby191.lib"
408 #endif
409
410 #endif
411
412
413 #endif // OPAL_BUILDOPTS_H
414
415
416 // End Of File ///////////////////////////////////////////////////////////////