Go to the documentation of this file.
32 #ifndef OPAL_BUILDOPTS_H
33 #define OPAL_BUILDOPTS_H
35 #include <ptlib_config.h>
45 #define OPAL_VERSION "3.14.3"
47 #define OPAL_CHECK_VERSION(major,minor,build) \
48 (PTLIB_VERSION_INT(OPAL_MAJOR,OPAL_MINOR,OPAL_BUILD) >= PTLIB_VERSION_INT(major,minor,build))
71 #if defined(P_NAT) && !defined(OPAL_PTLIB_NAT)
72 #define OPAL_PTLIB_NAT P_NAT
74 #if defined(P_SSL) && !defined(OPAL_PTLIB_SSL)
75 #define OPAL_PTLIB_SSL P_SSL
77 #if defined(P_ASN) && !defined(OPAL_PTLIB_ASN)
78 #define OPAL_PTLIB_ASN P_ASN
80 #if defined(P_EXPAT) && !defined(OPAL_PTLIB_EXPAT)
81 #define OPAL_PTLIB_EXPAT P_EXPAT
83 #if defined(P_AUDIO) && !defined(OPAL_PTLIB_AUDIO)
84 #define OPAL_PTLIB_AUDIO P_AUDIO
86 #if defined(P_VIDEO) && !defined(OPAL_PTLIB_VIDEO)
87 #define OPAL_PTLIB_VIDEO P_VIDEO
89 #if defined(P_WAVFILE) && !defined(OPAL_PTLIB_WAVFILE)
90 #define OPAL_PTLIB_WAVFILE P_WAVFILE
92 #if defined(P_DTMF) && !defined(OPAL_PTLIB_DTMF)
93 #define OPAL_PTLIB_DTMF P_DTMF
95 #if defined(P_HAS_IPV6) && !defined(OPAL_PTLIB_IPV6)
96 #define OPAL_PTLIB_IPV6 P_HAS_IPV6
98 #if defined(P_DNS_RESOLVER) && !defined(OPAL_PTLIB_DNS_RESOLVER)
99 #define OPAL_PTLIB_DNS_RESOLVER P_DNS_RESOLVER
101 #if defined(P_LDAP) && !defined(OPAL_PTLIB_LDAP)
102 #define OPAL_PTLIB_LDAP P_LDAP
104 #if defined(P_VXML) && !defined(OPAL_PTLIB_VXML)
105 #define OPAL_PTLIB_VXML P_VXML
107 #if defined(P_CONFIG_FILE) && !defined(OPAL_PTLIB_CONFIG_FILE)
108 #define OPAL_PTLIB_CONFIG_FILE P_CONFIG_FILE
110 #if defined(P_GSTREAMER) && !defined(OPAL_GSTREAMER)
111 #define OPAL_GSTREAMER P_GSTREAMER
113 #if defined(P_HTTP) && !defined(OPAL_PTLIB_HTTP)
114 #define OPAL_PTLIB_HTTP P_HTTP
133 #define OPAL_SKINNY 1
158 #define H323_H450 OPAL_H450
162 #if OPAL_H460 && OPAL_PTLIB_NAT
163 #define OPAL_H460_NAT 1
164 #if OPAL_H460_NAT && P_STUN
165 #define OPAL_H460_24 1
167 #define OPAL_H460_24A 1
173 #define OPAL_H235_6 1
183 #define OPAL_STATISTICS 1
184 #define OPAL_RTCP_XR 1
186 #define GCC_HAS_CLZ 1
188 #define OPAL_HAS_MIXER 1
190 #define OPAL_HAS_PCSS 1
193 #define OPAL_SCRIPT 1
202 #define OPAL_G711PLC 1
206 #define OPAL_RFC4175 1
212 #if defined(_MSC_VER)
213 #define JPEGLIB_LIBRARY "@JPEGLIB_DIR@/../lib/jpeg.lib"
214 #pragma include_alias(<jpeglib.h>, <@JPEGLIB_DIR@/jpeglib.h>)
221 #define OPAL_T38_CAPABILITY 1
223 #if OPAL_T38_CAPABILITY && OPAL_PTLIB_ASN && OPAL_STATISTICS
228 #define H323_DISABLE_T38 1
234 #define OPAL_HAS_PRESENCE 1
236 #if OPAL_HAS_PRESENCE && OPAL_SIP
237 #define OPAL_SIP_PRESENCE 1
243 #define OPAL_HAS_MSRP 1
245 #define OPAL_HAS_SIPIM 1
247 #define OPAL_HAS_RFC4103 1
249 #define OPAL_HAS_IM (OPAL_HAS_SIPIM || OPAL_HAS_MSRP || OPAL_HAS_RFC4103)
253 #define OPAL_HAS_H224 1
254 #if OPAL_VIDEO && OPAL_HAS_H224
255 #define OPAL_HAS_H281 1
260 #define OPAL_SYSTEM_SPEEX 1
273 #if defined(_MSC_VER)
274 #pragma include_alias(<vpbapi.h>, <@VPB_DIR@/src/vpbapi.h>)
275 #define VPB_LIBRARY "@VPB_DIR@/win32/libvpb/Debug/libvpb.lib"
288 #define HAS_SRTP_SRTP_H 1
302 #if defined(OPAL_SRTP) && defined(HAS_LIBZRTP) && !defined(_WIN32_WCE)
306 #if defined(_MSC_VER)
309 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Debug/libzrtp.lib"
311 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Release/libzrtp.lib"
314 #pragma comment(lib, LIBZRTP_LIBRARY)
316 #pragma include_alias("WINCONFIG/config.h", "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
317 #pragma include_alias("WINCONFIG\config.h", "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
319 #pragma include_alias(<zrtp.h>, <@LIBZRTP_DIR@/include/zrtp.h>)
320 #pragma include_alias(<zrtp_log.h>, <@LIBZRTP_DIR@/include/zrtp_log.h>)
321 #pragma include_alias(<zrtp_types.h>, <@LIBZRTP_DIR@/include/zrtp_types.h>)
322 #pragma include_alias(<zrtp_crypto.h>, <@LIBZRTP_DIR@/include/zrtp_crypto.h>)
323 #pragma include_alias(<zrtp_protocol.h>, <@LIBZRTP_DIR@/include/zrtp_protocol.h>)
324 #pragma include_alias(<zrtp_string.h>, <@LIBZRTP_DIR@/include/zrtp_string.h>)
325 #pragma include_alias(<zrtp_iface.h>, <@LIBZRTP_DIR@/include/zrtp_iface.h>)
326 #pragma include_alias(<zrtp_error.h>, <@LIBZRTP_DIR@/include/zrtp_error.h>)
327 #pragma include_alias(<zrtp_net.h>, <@LIBZRTP_DIR@/include/zrtp_net.h>)
328 #pragma include_alias(<zrtp_system.h>, <@LIBZRTP_DIR@/include/zrtp_system.h>)
329 #pragma include_alias("bn.h", "@LIBZRTP_DIR@/bnlib/bn.h")
330 #pragma include_alias(<bn.h>, <@LIBZRTP_DIR@/bnlib/bn.h>)
331 #pragma include_alias("bnsize00.h", "@LIBZRTP_DIR@/bnlib/bnsize00.h")
332 #pragma include_alias(<bnsize00.h>, <@LIBZRTP_DIR@/bnlib/bnsize00.h>)
334 #pragma include_alias("aes.h", "@LIBZRTP_DIR@/bgaes/aes.h")
335 #pragma include_alias("sha2.h", "@LIBZRTP_DIR@/bgaes/sha2.h")
337 #pragma include_alias("zrtp_win_config.h", "@LIBZRTP_DIR@/config/zrtp_win_config.h")
342 #pragma include_alias("srtp.h", "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
343 #pragma include_alias(<srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
344 #pragma include_alias("srtp/srtp.h", "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
345 #pragma include_alias(<srtp/include/srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
346 #pragma include_alias("crypto_kernel.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/crypto_kernel.h")
347 #pragma include_alias("rdbx.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdbx.h")
348 #pragma include_alias("rdb.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdb.h")
349 #pragma include_alias("integers.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/integers.h")
364 #if OPAL_JAVA && defined(_MSC_VER)
365 #pragma include_alias(<jni.h>, <@JAVA_DIR@/include/jni.h>)
366 #pragma include_alias("jni_md.h", "@JAVA_DIR@/include/win32/jni_md.h")
375 #define OPAL_CSHARP 1
383 #if !defined(_WIN32_WCE)
389 #if defined(_MSC_VER)
390 #define RUBY_MSC_VER 1200
392 #pragma include_alias(<ruby.h>, <@RUBY_DIR@/ruby.h>)
393 #pragma include_alias("ruby/config.h", "@RUBY_DIR@/i386-mswin32/ruby/config.h")
394 #pragma include_alias("ruby/io.h", "@RUBY_DIR@/ruby/io.h")
395 #pragma include_alias("ruby/encoding.h", "@RUBY_DIR@/ruby/encoding.h")
396 #pragma include_alias("ruby/oniguruma.h", "@RUBY_DIR@/ruby/oniguruma.h")
398 #define RUBY_LIBRARY "@RUBY_DIR@/../../lib/msvcrt-ruby191.lib"
410 #define H323_DISABLE_H225 1
411 #define H323_DISABLE_H235 1
412 #define H323_DISABLE_H245 1
415 #if OPAL_SRTP && OPAL_H323
416 #define OPAL_H235_8 1
420 #define H323_DISABLE_H235_SRTP 1
424 #define H323_DISABLE_X880 1
425 #define H323_DISABLE_H4501 1
426 #define H323_DISABLE_H4502 1
427 #define H323_DISABLE_H4503 1
428 #define H323_DISABLE_H4504 1
429 #define H323_DISABLE_H4505 1
430 #define H323_DISABLE_H4506 1
431 #define H323_DISABLE_H4507 1
432 #define H323_DISABLE_H4508 1
433 #define H323_DISABLE_H4509 1
434 #define H323_DISABLE_H45010 1
435 #define H323_DISABLE_H45011 1
439 #define H323_DISABLE_H46018 1
440 #define H323_DISABLE_H46019 1
441 #define H323_DISABLE_H46024B 1
446 #define H323_DISABLE_GCC 1
447 #define H323_DISABLE_MCS 1
448 #endif // OPAL_T120DATA
452 #define H323_DISABLE_H501 1
456 #endif // OPAL_BUILDOPTS_H