OPAL Version 3.10.2
|
00001 /* include/opal/buildopts.h. Generated from buildopts.h.in by configure. */ 00002 /* 00003 * buildopts.h 00004 * 00005 * Build options generated by the configure script. 00006 * 00007 * Portable Windows Library 00008 * 00009 * Copyright (c) 2003 Equivalence Pty. Ltd. 00010 * 00011 * The contents of this file are subject to the Mozilla Public License 00012 * Version 1.0 (the "License"); you may not use this file except in 00013 * compliance with the License. You may obtain a copy of the License at 00014 * http://www.mozilla.org/MPL/ 00015 * 00016 * Software distributed under the License is distributed on an "AS IS" 00017 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See 00018 * the License for the specific language governing rights and limitations 00019 * under the License. 00020 * 00021 * The Original Code is Portable Windows Library. 00022 * 00023 * The Initial Developer of the Original Code is Equivalence Pty. Ltd. 00024 * 00025 * Contributor(s): ______________________________________. 00026 * 00027 * $Revision: 25550 $ 00028 * $Author: rjongbloed $ 00029 * $Date: 2011-04-12 01:56:22 -0500 (Tue, 12 Apr 2011) $ 00030 */ 00031 00032 #ifndef OPAL_BUILDOPTS_H 00033 #define OPAL_BUILDOPTS_H 00034 00035 #include <ptbuildopts.h> 00036 00038 // 00039 // OPAL Version 00040 // 00041 00042 #define OPAL_MAJOR 3 00043 #define OPAL_MINOR 10 00044 #define OPAL_BUILD 2 00045 #define OPAL_VERSION "3.10.2" 00046 00047 #define OPAL_PTLIB_SSL 1 00048 #define OPAL_PTLIB_SSL_AES 1 00049 #define OPAL_PTLIB_ASN 1 00050 #define OPAL_PTLIB_EXPAT 1 00051 #define OPAL_PTLIB_AUDIO 1 00052 #define OPAL_PTLIB_VIDEO 1 00053 #define OPAL_PTLIB_WAVFILE 1 00054 #define OPAL_PTLIB_DTMF 1 00055 #define OPAL_PTLIB_IPV6 1 00056 #ifndef _WIN32_WCE 00057 #define OPAL_PTLIB_DNS 1 00058 #endif 00059 #ifndef P_IPHONEOS 00060 #define OPAL_PTLIB_LDAP 1 00061 #endif 00062 #define OPAL_PTLIB_VXML 1 00063 #define OPAL_PTLIB_CONFIG_FILE 1 00064 #define OPAL_AEC 1 00065 00066 00067 // If a "configure" did not set these variables above then they get set from PTlib variables 00068 00069 #if defined(P_SSL) && !defined(OPAL_PTLIB_SSL) 00070 #define OPAL_PTLIB_SSL 1 00071 #endif 00072 #if defined(P_SSL_AES) && !defined(OPAL_PTLIB_SSL_AES) 00073 #define OPAL_PTLIB_SSL_AES 1 00074 #endif 00075 #if defined(P_ASN) && !defined(OPAL_PTLIB_ASN) 00076 #define OPAL_PTLIB_ASN 1 00077 #endif 00078 #if defined(P_EXPAT) && !defined(OPAL_PTLIB_EXPAT) 00079 #define OPAL_PTLIB_EXPAT 1 00080 #endif 00081 #if defined(P_AUDIO) && !defined(OPAL_PTLIB_AUDIO) 00082 #define OPAL_PTLIB_AUDIO 1 00083 #endif 00084 #if defined(P_VIDEO) && !defined(OPAL_PTLIB_VIDEO) 00085 #define OPAL_PTLIB_VIDEO 1 00086 #endif 00087 #if defined(P_WAVFILE) && !defined(OPAL_PTLIB_WAVFILE) 00088 #define OPAL_PTLIB_WAVFILE 1 00089 #endif 00090 #if defined(P_DTMF) && !defined(OPAL_PTLIB_DTMF) 00091 #define OPAL_PTLIB_DTMF 1 00092 #endif 00093 #if defined(P_HAS_IPV6) && !defined(OPAL_PTLIB_IPV6) 00094 #define OPAL_PTLIB_IPV6 1 00095 #endif 00096 #if defined(P_DNS) && !defined(OPAL_PTLIB_DNS) 00097 #define OPAL_PTLIB_DNS 1 00098 #endif 00099 #if defined(P_LDAP) && !defined(OPAL_PTLIB_LDAP) 00100 #define OPAL_PTLIB_LDAP 1 00101 #endif 00102 #if defined(P_VXML) && !defined(OPAL_PTLIB_VXML) 00103 #define OPAL_PTLIB_VXML 1 00104 #endif 00105 #if defined(P_CONFIG_FILE) && !defined(OPAL_PTLIB_CONFIG_FILE) 00106 #define OPAL_PTLIB_CONFIG_FILE 1 00107 #endif 00108 00109 #define OPAL_PLUGIN_DIR "/usr/lib/opal-3.10.2" 00110 00111 // Video 00112 #if P_VIDEO 00113 #define OPAL_VIDEO 1 00114 #endif 00115 00116 00118 // 00119 // Protocol support 00120 // 00121 00122 #define OPAL_IAX2 1 00123 #define OPAL_SIP 1 00124 #define OPAL_H323 1 00125 #define OPAL_LID 1 00126 #define OPAL_CAPI 1 00127 /* #undef OPAL_T120DATA */ 00128 00129 #if P_VXML 00130 #define OPAL_IVR 1 00131 #endif 00132 00133 #if OPAL_H323 00134 #if OPAL_VIDEO 00135 #define OPAL_H239 1 00136 #endif 00137 #define OPAL_H501 1 00138 00139 #define OPAL_H450 1 00140 #if OPAL_H450 00141 #define H323_H450 OPAL_H450 00142 #endif 00143 00144 #define OPAL_H460 1 00145 #if OPAL_H460 00146 #define H323_H460 OPAL_H460 00147 #endif 00148 #else // OPAL_H323 00149 #define H323_DISABLE_H225 1 00150 #define H323_DISABLE_H235 1 00151 #define H323_DISABLE_H245 1 00152 #endif // OPAL_H323 00153 00154 00155 #if !OPAL_H450 00156 #define H323_DISABLE_X880 1 00157 #define H323_DISABLE_H4501 1 00158 #define H323_DISABLE_H4502 1 00159 #define H323_DISABLE_H4503 1 00160 #define H323_DISABLE_H4504 1 00161 #define H323_DISABLE_H4505 1 00162 #define H323_DISABLE_H4506 1 00163 #define H323_DISABLE_H4507 1 00164 #define H323_DISABLE_H4508 1 00165 #define H323_DISABLE_H4509 1 00166 #define H323_DISABLE_H45010 1 00167 #define H323_DISABLE_H45011 1 00168 #endif 00169 00170 00171 #if !OPAL_T120DATA 00172 #define H323_DISABLE_GCC 1 00173 #define H323_DISABLE_MCS 1 00174 #endif // OPAL_T120DATA 00175 00176 00177 #if !OPAL_H501 00178 #define H323_DISABLE_H501 1 00179 #endif 00180 00181 00183 // 00184 // Various options 00185 // 00186 00187 #define OPAL_STATISTICS 1 00188 #define OPAL_RTCP_XR 1 00189 /* #undef GCC_HAS_CLZ */ 00190 00191 #define OPAL_HAS_MIXER 1 00192 #if OPAL_PTLIB_AUDIO 00193 #define OPAL_HAS_PCSS 1 00194 #endif 00195 00196 00198 // 00199 // Media support 00200 // 00201 00202 // G.711 Packet Loss Concealment 00203 #define OPAL_G711PLC 1 00204 00205 #if OPAL_VIDEO 00206 // Uncompressed video over RTP 00207 #define OPAL_RFC4175 1 00208 00209 // JPEG over RTP 00210 /* #undef OPAL_RFC2435 */ 00211 00212 #if OPAL_RFC2435 00213 #if defined(_MSC_VER) 00214 #define JPEGLIB_LIBRARY "@JPEGLIB_DIR@/../lib/jpeg.lib" 00215 #pragma include_alias(<jpeglib.h>, <@JPEGLIB_DIR@/jpeglib.h>) 00216 #endif 00217 #endif 00218 #endif 00219 00220 00221 // T.38 Fax 00222 #define OPAL_T38_CAPABILITY 1 00223 00224 #if OPAL_T38_CAPABILITY 00225 #if OPAL_PTLIB_ASN 00226 #define OPAL_FAX 1 00227 #endif 00228 #endif 00229 00230 #if !OPAL_FAX 00231 #define H323_DISABLE_T38 1 00232 #endif 00233 00234 00235 // Instant Messaging 00236 #define OPAL_HAS_MSRP 1 00237 #if OPAL_SIP 00238 #define OPAL_HAS_SIPIM 1 00239 #endif 00240 #define OPAL_HAS_RFC4103 1 00241 00242 #define OPAL_HAS_IM (OPAL_HAS_SIPIM || OPAL_HAS_MSRP || OPAL_HAS_RFC4103) 00243 00244 00245 // Far end camera control 00246 #define OPAL_HAS_H224 1 00247 #define OPAL_HAS_H281 1 00248 00249 00250 // Use system Speex audio codec 00251 #define OPAL_SYSTEM_SPEEX 1 00252 #define OPAL_HAVE_SPEEX_SPEEX_H 1 00253 /* #undef OPAL_SPEEX_FLOAT_NOISE */ 00254 00255 00257 // 00258 // VoiceTronic VPB Line Interface Devide support 00259 // 00260 00261 #if OPAL_LID 00262 /* #undef HAS_VPB */ 00263 00264 #if HAS_VPB 00265 #if defined(_MSC_VER) 00266 #pragma include_alias(<vpbapi.h>, <@VPB_DIR@/src/vpbapi.h>) 00267 #define VPB_LIBRARY "@VPB_DIR@/win32/libvpb/Debug/libvpb.lib" 00268 #endif 00269 #endif 00270 #endif 00271 00272 00274 // 00275 // libZRTP support 00276 // 00277 00278 //#undef HAS_LIBZRTP 00279 00280 #if defined(HAS_LIBZRTP) && !defined(_WIN32_WCE) 00281 00282 //Temporarily disabled until security API is sorted out 00283 //#define OPAL_ZRTP 1 00284 00285 #if defined(_MSC_VER) 00286 00287 #ifdef _DEBUG 00288 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Debug/libzrtp.lib" 00289 #else 00290 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Release/libzrtp.lib" 00291 #endif 00292 00293 #pragma comment(lib, LIBZRTP_LIBRARY) 00294 00295 #pragma include_alias("WINCONFIG/config.h", "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h") 00296 #pragma include_alias("WINCONFIG\config.h", "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h") 00297 00298 #pragma include_alias(<zrtp.h>, <@LIBZRTP_DIR@/include/zrtp.h>) 00299 #pragma include_alias(<zrtp_log.h>, <@LIBZRTP_DIR@/include/zrtp_log.h>) 00300 #pragma include_alias(<zrtp_types.h>, <@LIBZRTP_DIR@/include/zrtp_types.h>) 00301 #pragma include_alias(<zrtp_crypto.h>, <@LIBZRTP_DIR@/include/zrtp_crypto.h>) 00302 #pragma include_alias(<zrtp_protocol.h>, <@LIBZRTP_DIR@/include/zrtp_protocol.h>) 00303 #pragma include_alias(<zrtp_string.h>, <@LIBZRTP_DIR@/include/zrtp_string.h>) 00304 #pragma include_alias(<zrtp_iface.h>, <@LIBZRTP_DIR@/include/zrtp_iface.h>) 00305 #pragma include_alias(<zrtp_error.h>, <@LIBZRTP_DIR@/include/zrtp_error.h>) 00306 #pragma include_alias(<zrtp_net.h>, <@LIBZRTP_DIR@/include/zrtp_net.h>) 00307 #pragma include_alias(<zrtp_system.h>, <@LIBZRTP_DIR@/include/zrtp_system.h>) 00308 #pragma include_alias("bn.h", "@LIBZRTP_DIR@/bnlib/bn.h") 00309 #pragma include_alias(<bn.h>, <@LIBZRTP_DIR@/bnlib/bn.h>) 00310 #pragma include_alias("bnsize00.h", "@LIBZRTP_DIR@/bnlib/bnsize00.h") 00311 #pragma include_alias(<bnsize00.h>, <@LIBZRTP_DIR@/bnlib/bnsize00.h>) 00312 00313 #pragma include_alias("aes.h", "@LIBZRTP_DIR@/bgaes/aes.h") 00314 #pragma include_alias("sha2.h", "@LIBZRTP_DIR@/bgaes/sha2.h") 00315 00316 #pragma include_alias("zrtp_win_config.h", "@LIBZRTP_DIR@/config/zrtp_win_config.h") 00317 00318 00319 // ZRTP includes SRTP, so include SRTP headers 00320 00321 #pragma include_alias("srtp.h", "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h") 00322 #pragma include_alias(<srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>) 00323 #pragma include_alias("srtp/srtp.h", "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h") 00324 #pragma include_alias(<srtp/include/srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>) 00325 #pragma include_alias("crypto_kernel.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/crypto_kernel.h") 00326 #pragma include_alias("rdbx.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdbx.h") 00327 #pragma include_alias("rdb.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdb.h") 00328 #pragma include_alias("integers.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/integers.h") 00329 00330 // end of SRTP headers 00331 00332 #endif 00333 #endif 00334 00335 00337 // 00338 // libSRTP support 00339 // 00340 00341 /* #undef HAS_LIBSRTP */ 00342 00343 #if HAS_LIBSRTP && !OPAL_ZRTP && !defined(_WIN32_WCE) 00344 00345 //Temporarily disabled until security API is sorted out 00346 //#define OPAL_SRTP 1 00347 00348 #if defined(_MSC_VER) 00349 00350 #pragma include_alias("srtp/srtp.h", "@LIBSRTP_DIR@/include/srtp.h") 00351 #pragma include_alias(<srtp/include/srtp.h>, <@LIBSRTP_DIR@/include/srtp.h>) 00352 #pragma include_alias("crypto_kernel.h", "@LIBSRTP_DIR@/crypto/include/crypto_kernel.h") 00353 #pragma include_alias("rdbx.h", "@LIBSRTP_DIR@/crypto/include/rdbx.h") 00354 #pragma include_alias("rdb.h", "@LIBSRTP_DIR@/crypto/include/rdb.h") 00355 #pragma include_alias("integers.h", "@LIBSRTP_DIR@/crypto/include/integers.h") 00356 00357 #ifdef _DEBUG 00358 #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Debug/libsrtp.lib" 00359 #else 00360 #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Release/libsrtp.lib" 00361 #endif 00362 #endif 00363 #endif 00364 00365 00367 // 00368 // Java JNI support 00369 // 00370 00371 /* #undef OPAL_JAVA */ 00372 00373 #if OPAL_JAVA 00374 #if defined(_MSC_VER) 00375 #pragma include_alias(<jni.h>, <@JAVA_DIR@/include/jni.h>) 00376 #pragma include_alias("jni_md.h", "@JAVA_DIR@/include/win32/jni_md.h") 00377 #endif 00378 #endif 00379 00380 00382 // 00383 // Ruby support 00384 // 00385 00386 #if !defined(_WIN32_WCE) 00387 /* #undef OPAL_RUBY */ 00388 #endif 00389 00390 #if OPAL_RUBY 00391 00392 #if defined(_MSC_VER) 00393 #define RUBY_MSC_VER 1200 00394 00395 #pragma include_alias(<ruby.h>, <@RUBY_DIR@/ruby.h>) 00396 #pragma include_alias("ruby/config.h", "@RUBY_DIR@/i386-mswin32/ruby/config.h") 00397 #pragma include_alias("ruby/io.h", "@RUBY_DIR@/ruby/io.h") 00398 #pragma include_alias("ruby/encoding.h", "@RUBY_DIR@/ruby/encoding.h") 00399 #pragma include_alias("ruby/oniguruma.h", "@RUBY_DIR@/ruby/oniguruma.h") 00400 00401 #define RUBY_LIBRARY "@RUBY_DIR@/../../lib/msvcrt-ruby191.lib" 00402 #endif 00403 00404 #endif 00405 00406 00407 #endif // OPAL_BUILDOPTS_H 00408 00409 00410 // End Of File ///////////////////////////////////////////////////////////////