Go to the documentation of this file.
29 #ifndef _OPAL_CONFIG_H
30 #define _OPAL_CONFIG_H
32 #include <ptlib_config.h>
43 #define OPAL_VERSION "3.18.8"
45 #define OPAL_CHECK_VERSION_OEM(major,minor,patch,oem) \
46 (PTLIB_VERSION_INT_OEM(OPAL_MAJOR,OPAL_MINOR,OPAL_PATCH,OPAL_OEM) >= PTLIB_VERSION_INT_OEM(major,minor,patch,oem))
47 #define OPAL_CHECK_VERSION(major,minor,patch) \
48 (PTLIB_VERSION_INT(OPAL_MAJOR,OPAL_MINOR,OPAL_PATCH) >= PTLIB_VERSION_INT(major,minor,patch))
69 #if defined(P_NAT) && !defined(OPAL_PTLIB_NAT)
70 #define OPAL_PTLIB_NAT P_NAT
72 #if defined(P_SSL) && !defined(OPAL_PTLIB_SSL)
73 #define OPAL_PTLIB_SSL P_SSL
75 #if defined(P_ASN) && !defined(OPAL_PTLIB_ASN)
76 #define OPAL_PTLIB_ASN P_ASN
78 #if defined(P_EXPAT) && !defined(OPAL_PTLIB_EXPAT)
79 #define OPAL_PTLIB_EXPAT P_EXPAT
81 #if defined(P_AUDIO) && !defined(OPAL_PTLIB_AUDIO)
82 #define OPAL_PTLIB_AUDIO P_AUDIO
84 #if defined(P_VIDEO) && !defined(OPAL_PTLIB_VIDEO)
85 #define OPAL_PTLIB_VIDEO P_VIDEO
87 #if defined(P_WAVFILE) && !defined(OPAL_PTLIB_WAVFILE)
88 #define OPAL_PTLIB_WAVFILE P_WAVFILE
90 #if defined(P_DTMF) && !defined(OPAL_PTLIB_DTMF)
91 #define OPAL_PTLIB_DTMF P_DTMF
93 #if defined(P_HAS_IPV6) && !defined(OPAL_PTLIB_IPV6)
94 #define OPAL_PTLIB_IPV6 P_HAS_IPV6
96 #if defined(P_DNS_RESOLVER) && !defined(OPAL_PTLIB_DNS_RESOLVER)
97 #define OPAL_PTLIB_DNS_RESOLVER P_DNS_RESOLVER
99 #if defined(P_LDAP) && !defined(OPAL_PTLIB_LDAP)
100 #define OPAL_PTLIB_LDAP P_LDAP
102 #if defined(P_VXML) && !defined(OPAL_PTLIB_VXML)
103 #define OPAL_PTLIB_VXML P_VXML
105 #if defined(P_CONFIG_FILE) && !defined(OPAL_PTLIB_CONFIG_FILE)
106 #define OPAL_PTLIB_CONFIG_FILE P_CONFIG_FILE
108 #if defined(P_GSTREAMER) && !defined(OPAL_GSTREAMER)
109 #define OPAL_GSTREAMER P_GSTREAMER
111 #if defined(P_HTTP) && !defined(OPAL_PTLIB_HTTP)
112 #define OPAL_PTLIB_HTTP P_HTTP
134 #define OPAL_SKINNY 1
144 #if OPAL_SDP && OPAL_PTLIB_HTTP
145 #define OPAL_SDP_HTTP 1
148 #if OPAL_SDP && P_STUNSRVR && P_SSL
160 #define H323_H450 OPAL_H450
164 #if OPAL_H460 && OPAL_PTLIB_NAT
165 #define OPAL_H460_NAT 1
166 #if OPAL_H460_NAT && P_STUN
167 #define OPAL_H460_24 1
169 #define OPAL_H460_24A 1
175 #define OPAL_H235_6 1
185 #define OPAL_STATISTICS 1
186 #define OPAL_RTCP_XR 1
188 #define GCC_HAS_CLZ 1
190 #define OPAL_HAS_MIXER 1
192 #define OPAL_HAS_PCSS 1
195 #define OPAL_SCRIPT 1
204 #define OPAL_G711PLC 1
212 #define OPAL_RFC4175 1
218 #if defined(_MSC_VER)
219 #define JPEGLIB_LIBRARY "@JPEGLIB_DIR@/../lib/jpeg.lib"
220 #pragma include_alias(<jpeglib.h>, <@JPEGLIB_DIR@/jpeglib.h>)
227 #define OPAL_T38_CAPABILITY 1
229 #if OPAL_T38_CAPABILITY && OPAL_PTLIB_ASN && OPAL_STATISTICS
234 #define H323_DISABLE_T38 1
240 #define OPAL_HAS_PRESENCE 1
242 #if OPAL_HAS_PRESENCE && OPAL_SIP
243 #define OPAL_SIP_PRESENCE 1
249 #define OPAL_HAS_MSRP 1
251 #define OPAL_HAS_SIPIM 1
253 #define OPAL_HAS_RFC4103 1
255 #define OPAL_HAS_IM (OPAL_HAS_SIPIM || OPAL_HAS_MSRP || OPAL_HAS_RFC4103)
259 #define OPAL_HAS_H224 1
260 #if OPAL_VIDEO && OPAL_HAS_H224
261 #define OPAL_HAS_H281 1
266 #define OPAL_SYSTEM_SPEEX 1
279 #if defined(_MSC_VER)
280 #pragma include_alias(<vpbapi.h>, <@VPB_DIR@/src/vpbapi.h>)
281 #define VPB_LIBRARY "@VPB_DIR@/win32/libvpb/Debug/libvpb.lib"
296 #define OPAL_AEAD_CRYPTO_SUITES 1
298 #define HAS_SRTP_SRTP_H 0
312 #if defined(OPAL_SRTP) && defined(HAS_LIBZRTP)
316 #if defined(_MSC_VER)
319 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Debug/libzrtp.lib"
321 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Release/libzrtp.lib"
324 #pragma comment(lib, LIBZRTP_LIBRARY)
326 #pragma include_alias("WINCONFIG/config.h", "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
327 #pragma include_alias("WINCONFIG\config.h", "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
329 #pragma include_alias(<zrtp.h>, <@LIBZRTP_DIR@/include/zrtp.h>)
330 #pragma include_alias(<zrtp_log.h>, <@LIBZRTP_DIR@/include/zrtp_log.h>)
331 #pragma include_alias(<zrtp_types.h>, <@LIBZRTP_DIR@/include/zrtp_types.h>)
332 #pragma include_alias(<zrtp_crypto.h>, <@LIBZRTP_DIR@/include/zrtp_crypto.h>)
333 #pragma include_alias(<zrtp_protocol.h>, <@LIBZRTP_DIR@/include/zrtp_protocol.h>)
334 #pragma include_alias(<zrtp_string.h>, <@LIBZRTP_DIR@/include/zrtp_string.h>)
335 #pragma include_alias(<zrtp_iface.h>, <@LIBZRTP_DIR@/include/zrtp_iface.h>)
336 #pragma include_alias(<zrtp_error.h>, <@LIBZRTP_DIR@/include/zrtp_error.h>)
337 #pragma include_alias(<zrtp_net.h>, <@LIBZRTP_DIR@/include/zrtp_net.h>)
338 #pragma include_alias(<zrtp_system.h>, <@LIBZRTP_DIR@/include/zrtp_system.h>)
339 #pragma include_alias("bn.h", "@LIBZRTP_DIR@/bnlib/bn.h")
340 #pragma include_alias(<bn.h>, <@LIBZRTP_DIR@/bnlib/bn.h>)
341 #pragma include_alias("bnsize00.h", "@LIBZRTP_DIR@/bnlib/bnsize00.h")
342 #pragma include_alias(<bnsize00.h>, <@LIBZRTP_DIR@/bnlib/bnsize00.h>)
344 #pragma include_alias("aes.h", "@LIBZRTP_DIR@/bgaes/aes.h")
345 #pragma include_alias("sha2.h", "@LIBZRTP_DIR@/bgaes/sha2.h")
347 #pragma include_alias("zrtp_win_config.h", "@LIBZRTP_DIR@/config/zrtp_win_config.h")
352 #pragma include_alias("srtp.h", "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
353 #pragma include_alias(<srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
354 #pragma include_alias("srtp/srtp.h", "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
355 #pragma include_alias(<srtp/include/srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
356 #pragma include_alias("crypto_kernel.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/crypto_kernel.h")
357 #pragma include_alias("rdbx.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdbx.h")
358 #pragma include_alias("rdb.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdb.h")
359 #pragma include_alias("integers.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/integers.h")
374 #if OPAL_JAVA && defined(_MSC_VER)
375 #pragma include_alias(<jni.h>, <@JAVA_DIR@/include/jni.h>)
376 #pragma include_alias("jni_md.h", "@JAVA_DIR@/include/win32/jni_md.h")
386 #if OPAL_LYNC && defined(_MSC_VER)
387 #define OPAL_LYNC_LIBRARY "@OPAL_LYNC_DIR@/SDK/Core/Bin/Microsoft.Rtc.Collaboration.dll"
396 #define OPAL_CSHARP 1
408 #if defined(_MSC_VER)
409 #define RUBY_MSC_VER 1200
411 #pragma include_alias(<ruby.h>, <@RUBY_DIR@/ruby.h>)
412 #pragma include_alias("ruby/config.h", "@RUBY_DIR@/i386-mswin32/ruby/config.h")
413 #pragma include_alias("ruby/io.h", "@RUBY_DIR@/ruby/io.h")
414 #pragma include_alias("ruby/encoding.h", "@RUBY_DIR@/ruby/encoding.h")
415 #pragma include_alias("ruby/oniguruma.h", "@RUBY_DIR@/ruby/oniguruma.h")
417 #define RUBY_LIBRARY "@RUBY_DIR@/../../lib/msvcrt-ruby191.lib"
429 #define H323_DISABLE_H225 1
430 #define H323_DISABLE_H235 1
431 #define H323_DISABLE_H245 1
434 #if OPAL_SRTP && OPAL_H323
435 #define OPAL_H235_8 1
439 #define H323_DISABLE_H235_SRTP 1
443 #define H323_DISABLE_X880 1
444 #define H323_DISABLE_H4501 1
445 #define H323_DISABLE_H4502 1
446 #define H323_DISABLE_H4503 1
447 #define H323_DISABLE_H4504 1
448 #define H323_DISABLE_H4505 1
449 #define H323_DISABLE_H4506 1
450 #define H323_DISABLE_H4507 1
451 #define H323_DISABLE_H4508 1
452 #define H323_DISABLE_H4509 1
453 #define H323_DISABLE_H45010 1
454 #define H323_DISABLE_H45011 1
458 #define H323_DISABLE_H46018 1
459 #define H323_DISABLE_H46019 1
460 #define H323_DISABLE_H46024B 1
465 #define H323_DISABLE_GCC 1
466 #define H323_DISABLE_MCS 1
467 #endif // OPAL_T120DATA
471 #define H323_DISABLE_H501 1
475 #endif // _OPAL_CONFIG_H