00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef OPAL_BUILDOPTS_H
00033 #define OPAL_BUILDOPTS_H
00034
00035 #include <ptbuildopts.h>
00036
00038
00039
00040
00041
00042 #define OPAL_MAJOR 3
00043 #define OPAL_MINOR 12
00044 #define OPAL_BUILD 3
00045 #define OPAL_VERSION "3.12.3"
00046
00047 #define OPAL_CHECK_VERSION(major,minor,build) \
00048 (PTLIB_VERSION_INT(OPAL_MAJOR,OPAL_MINOR,OPAL_BUILD) >= PTLIB_VERSION_INT(major,minor,build))
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058 #ifndef _WIN32_WCE
00059
00060 #endif
00061 #ifndef P_IPHONEOS
00062
00063 #endif
00064
00065
00066 #define OPAL_AEC 1
00067
00068
00069
00070
00071 #if defined(P_SSL) && !defined(OPAL_PTLIB_SSL)
00072 #define OPAL_PTLIB_SSL P_SSL
00073 #endif
00074 #if defined(P_ASN) && !defined(OPAL_PTLIB_ASN)
00075 #define OPAL_PTLIB_ASN P_ASN
00076 #endif
00077 #if defined(P_EXPAT) && !defined(OPAL_PTLIB_EXPAT)
00078 #define OPAL_PTLIB_EXPAT P_EXPAT
00079 #endif
00080 #if defined(P_AUDIO) && !defined(OPAL_PTLIB_AUDIO)
00081 #define OPAL_PTLIB_AUDIO P_AUDIO
00082 #endif
00083 #if defined(P_VIDEO) && !defined(OPAL_PTLIB_VIDEO)
00084 #define OPAL_PTLIB_VIDEO P_VIDEO
00085 #endif
00086 #if defined(P_WAVFILE) && !defined(OPAL_PTLIB_WAVFILE)
00087 #define OPAL_PTLIB_WAVFILE P_WAVFILE
00088 #endif
00089 #if defined(P_DTMF) && !defined(OPAL_PTLIB_DTMF)
00090 #define OPAL_PTLIB_DTMF P_DTMF
00091 #endif
00092 #if defined(P_HAS_IPV6) && !defined(OPAL_PTLIB_IPV6)
00093 #define OPAL_PTLIB_IPV6 P_HAS_IPV6
00094 #endif
00095 #if defined(P_DNS_RESOLVER) && !defined(OPAL_PTLIB_DNS_RESOLVER)
00096 #define OPAL_PTLIB_DNS_RESOLVER P_DNS_RESOLVER
00097 #endif
00098 #if defined(P_LDAP) && !defined(OPAL_PTLIB_LDAP)
00099 #define OPAL_PTLIB_LDAP P_LDAP
00100 #endif
00101 #if defined(P_VXML) && !defined(OPAL_PTLIB_VXML)
00102 #define OPAL_PTLIB_VXML P_VXML
00103 #endif
00104 #if defined(P_CONFIG_FILE) && !defined(OPAL_PTLIB_CONFIG_FILE)
00105 #define OPAL_PTLIB_CONFIG_FILE P_CONFIG_FILE
00106 #endif
00107
00108 #define OPAL_PLUGIN_DIR "/usr/local/lib_linux_x86_64/opal-3.12.3"
00109
00110
00111 #if P_VIDEO
00112 #define OPAL_VIDEO 1
00113 #endif
00114
00115
00117
00118
00119
00120
00121 #define OPAL_IAX2 1
00122 #define OPAL_SIP 1
00123 #if P_ASN
00124 #define OPAL_H323 1
00125 #endif
00126 #define OPAL_LID 1
00127
00128
00129
00130
00131 #if OPAL_PTLIB_VXML
00132 #define OPAL_IVR 1
00133 #endif
00134
00135 #if OPAL_H323
00136 #if OPAL_VIDEO
00137 #define OPAL_H239 1
00138 #endif
00139 #define OPAL_H501 1
00140
00141 #define OPAL_H450 1
00142 #if OPAL_H450
00143 #define H323_H450 OPAL_H450
00144 #endif
00145
00146 #define OPAL_H460 1
00147 #if OPAL_H460 && P_NAT
00148 #define OPAL_H460_NAT 1
00149 #endif
00150 #else // OPAL_H323
00151 #define H323_DISABLE_H225 1
00152 #define H323_DISABLE_H235 1
00153 #define H323_DISABLE_H245 1
00154 #endif // OPAL_H323
00155
00156
00157 #if !OPAL_H450
00158 #define H323_DISABLE_X880 1
00159 #define H323_DISABLE_H4501 1
00160 #define H323_DISABLE_H4502 1
00161 #define H323_DISABLE_H4503 1
00162 #define H323_DISABLE_H4504 1
00163 #define H323_DISABLE_H4505 1
00164 #define H323_DISABLE_H4506 1
00165 #define H323_DISABLE_H4507 1
00166 #define H323_DISABLE_H4508 1
00167 #define H323_DISABLE_H4509 1
00168 #define H323_DISABLE_H45010 1
00169 #define H323_DISABLE_H45011 1
00170 #endif
00171
00172 #if !OPAL_H460_NAT
00173 #define H323_DISABLE_H46018 1
00174 #define H323_DISABLE_H46019 1
00175 #define H323_DISABLE_H46024B 1
00176 #endif
00177
00178
00179 #if !OPAL_T120DATA
00180 #define H323_DISABLE_GCC 1
00181 #define H323_DISABLE_MCS 1
00182 #endif // OPAL_T120DATA
00183
00184
00185 #if !OPAL_H501
00186 #define H323_DISABLE_H501 1
00187 #endif
00188
00189
00191
00192
00193
00194
00195 #define OPAL_STATISTICS 1
00196 #define OPAL_RTCP_XR 1
00197
00198
00199 #define OPAL_HAS_MIXER 1
00200 #if OPAL_PTLIB_AUDIO
00201 #define OPAL_HAS_PCSS 1
00202 #endif
00203
00204 #define OPAL_SCRIPT 1
00205
00206
00208
00209
00210
00211
00212
00213 #define OPAL_G711PLC 1
00214
00215 #if OPAL_VIDEO
00216
00217 #define OPAL_RFC4175 1
00218
00219
00220
00221
00222 #if OPAL_RFC2435
00223 #if defined(_MSC_VER)
00224 #define JPEGLIB_LIBRARY "@JPEGLIB_DIR@/../lib/jpeg.lib"
00225 #pragma include_alias(<jpeglib.h>, <@JPEGLIB_DIR@/jpeglib.h>)
00226 #endif
00227 #endif
00228 #endif
00229
00230
00231
00232 #define OPAL_T38_CAPABILITY 1
00233
00234 #if OPAL_T38_CAPABILITY && OPAL_PTLIB_ASN && OPAL_STATISTICS
00235 #define OPAL_FAX 1
00236 #endif
00237
00238 #if !OPAL_FAX
00239 #define H323_DISABLE_T38 1
00240 #endif
00241
00242
00243
00244 #if OPAL_PTLIB_EXPAT
00245 #define OPAL_HAS_PRESENCE 1
00246
00247 #if OPAL_HAS_PRESENCE && OPAL_SIP
00248 #define OPAL_SIP_PRESENCE 1
00249 #endif
00250 #endif
00251
00252
00253
00254 #define OPAL_HAS_MSRP 1
00255 #if OPAL_SIP
00256 #define OPAL_HAS_SIPIM 1
00257 #endif
00258 #define OPAL_HAS_RFC4103 1
00259
00260 #define OPAL_HAS_IM (OPAL_HAS_SIPIM || OPAL_HAS_MSRP || OPAL_HAS_RFC4103)
00261
00262
00263
00264 #define OPAL_HAS_H224 1
00265 #define OPAL_HAS_H281 1
00266
00267
00268
00269
00270
00271
00272
00273
00275
00276
00277
00278
00279 #if OPAL_LID
00280
00281
00282 #if HAS_VPB
00283 #if defined(_MSC_VER)
00284 #pragma include_alias(<vpbapi.h>, <@VPB_DIR@/src/vpbapi.h>)
00285 #define VPB_LIBRARY "@VPB_DIR@/win32/libvpb/Debug/libvpb.lib"
00286 #endif
00287 #endif
00288 #endif
00289
00290
00292
00293
00294
00295
00296 #if OPAL_PTLIB_SSL
00297
00298 #endif
00299
00300
00302
00303
00304
00305
00306
00307
00308
00309
00310
00311
00312 #if defined(OPAL_SRTP) && defined(HAS_LIBZRTP) && !defined(_WIN32_WCE)
00313
00314 #define OPAL_ZRTP 1
00315
00316 #if defined(_MSC_VER)
00317
00318 #ifdef _DEBUG
00319 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Debug/libzrtp.lib"
00320 #else
00321 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Release/libzrtp.lib"
00322 #endif
00323
00324 #pragma comment(lib, LIBZRTP_LIBRARY)
00325
00326 #pragma include_alias("WINCONFIG/config.h", "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00327 #pragma include_alias("WINCONFIG\config.h", "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00328
00329 #pragma include_alias(<zrtp.h>, <@LIBZRTP_DIR@/include/zrtp.h>)
00330 #pragma include_alias(<zrtp_log.h>, <@LIBZRTP_DIR@/include/zrtp_log.h>)
00331 #pragma include_alias(<zrtp_types.h>, <@LIBZRTP_DIR@/include/zrtp_types.h>)
00332 #pragma include_alias(<zrtp_crypto.h>, <@LIBZRTP_DIR@/include/zrtp_crypto.h>)
00333 #pragma include_alias(<zrtp_protocol.h>, <@LIBZRTP_DIR@/include/zrtp_protocol.h>)
00334 #pragma include_alias(<zrtp_string.h>, <@LIBZRTP_DIR@/include/zrtp_string.h>)
00335 #pragma include_alias(<zrtp_iface.h>, <@LIBZRTP_DIR@/include/zrtp_iface.h>)
00336 #pragma include_alias(<zrtp_error.h>, <@LIBZRTP_DIR@/include/zrtp_error.h>)
00337 #pragma include_alias(<zrtp_net.h>, <@LIBZRTP_DIR@/include/zrtp_net.h>)
00338 #pragma include_alias(<zrtp_system.h>, <@LIBZRTP_DIR@/include/zrtp_system.h>)
00339 #pragma include_alias("bn.h", "@LIBZRTP_DIR@/bnlib/bn.h")
00340 #pragma include_alias(<bn.h>, <@LIBZRTP_DIR@/bnlib/bn.h>)
00341 #pragma include_alias("bnsize00.h", "@LIBZRTP_DIR@/bnlib/bnsize00.h")
00342 #pragma include_alias(<bnsize00.h>, <@LIBZRTP_DIR@/bnlib/bnsize00.h>)
00343
00344 #pragma include_alias("aes.h", "@LIBZRTP_DIR@/bgaes/aes.h")
00345 #pragma include_alias("sha2.h", "@LIBZRTP_DIR@/bgaes/sha2.h")
00346
00347 #pragma include_alias("zrtp_win_config.h", "@LIBZRTP_DIR@/config/zrtp_win_config.h")
00348
00349
00350
00351
00352 #pragma include_alias("srtp.h", "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00353 #pragma include_alias(<srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00354 #pragma include_alias("srtp/srtp.h", "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00355 #pragma include_alias(<srtp/include/srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00356 #pragma include_alias("crypto_kernel.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/crypto_kernel.h")
00357 #pragma include_alias("rdbx.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdbx.h")
00358 #pragma include_alias("rdb.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdb.h")
00359 #pragma include_alias("integers.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/integers.h")
00360
00361
00362
00363 #endif
00364 #endif
00365
00366
00368
00369
00370
00371
00372
00373
00374 #if OPAL_JAVA
00375 #if defined(_MSC_VER)
00376 #pragma include_alias(<jni.h>, <@JAVA_DIR@/include/jni.h>)
00377 #pragma include_alias("jni_md.h", "@JAVA_DIR@/include/win32/jni_md.h")
00378 #endif
00379 #endif
00380
00381
00383
00384
00385
00386
00387 #if !defined(_WIN32_WCE)
00388
00389 #endif
00390
00391 #if OPAL_RUBY
00392
00393 #if defined(_MSC_VER)
00394 #define RUBY_MSC_VER 1200
00395
00396 #pragma include_alias(<ruby.h>, <@RUBY_DIR@/ruby.h>)
00397 #pragma include_alias("ruby/config.h", "@RUBY_DIR@/i386-mswin32/ruby/config.h")
00398 #pragma include_alias("ruby/io.h", "@RUBY_DIR@/ruby/io.h")
00399 #pragma include_alias("ruby/encoding.h", "@RUBY_DIR@/ruby/encoding.h")
00400 #pragma include_alias("ruby/oniguruma.h", "@RUBY_DIR@/ruby/oniguruma.h")
00401
00402 #define RUBY_LIBRARY "@RUBY_DIR@/../../lib/msvcrt-ruby191.lib"
00403 #endif
00404
00405 #endif
00406
00407
00408 #endif // OPAL_BUILDOPTS_H
00409
00410
00411