OPAL  Version 3.10.4
buildopts.h
Go to the documentation of this file.
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: 26936 $
00028  * $Author: rjongbloed $
00029  * $Date: 2012-02-06 19:31:58 -0600 (Mon, 06 Feb 2012) $
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 4
00045 #define OPAL_VERSION "3.10.4"
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.4"
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 OPAL_PTLIB_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 // libSRTP support
00276 //
00277 
00278 /* Temporarily disabled as is currently broken, doesn't work,
00279     probably doesn't even compile, need to sort out API to enable/disable,
00280     add SDP and H.245 handling, and link into libsrtp
00281 */
00282 //#undef HAS_LIBSRTP
00283 
00284 #if HAS_LIBSRTP && !OPAL_ZRTP && !defined(_WIN32_WCE)
00285 
00286   #define OPAL_SRTP 1
00287 
00288   #if defined(_MSC_VER)
00289 
00290     #pragma include_alias("srtp/srtp.h",         "@LIBSRTP_DIR@/include/srtp.h")
00291     #pragma include_alias(<srtp/include/srtp.h>, <@LIBSRTP_DIR@/include/srtp.h>)
00292     #pragma include_alias("crypto_kernel.h",     "@LIBSRTP_DIR@/crypto/include/crypto_kernel.h")
00293     #pragma include_alias("rdbx.h",              "@LIBSRTP_DIR@/crypto/include/rdbx.h")
00294     #pragma include_alias("rdb.h",               "@LIBSRTP_DIR@/crypto/include/rdb.h")
00295     #pragma include_alias("integers.h",          "@LIBSRTP_DIR@/crypto/include/integers.h")
00296 
00297     #ifdef _DEBUG
00298       #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Debug/libsrtp.lib"
00299     #else
00300       #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Release/libsrtp.lib"
00301     #endif
00302   #endif
00303 #endif
00304 
00305 
00307 //
00308 // libZRTP support
00309 //
00310 
00311 /* Temporarily disabled as is currently broken, doesn't work,
00312     probably doesn't even compile, need to sort out API to enable/disable as
00313     well as getting the pass code back to user, and link into libzrtp
00314 */
00315 //#undef HAS_LIBZRTP
00316 
00317 #if defined(OPAL_SRTP) && defined(HAS_LIBZRTP) && !defined(_WIN32_WCE)
00318 
00319   #define OPAL_ZRTP  1
00320 
00321   #if defined(_MSC_VER)
00322 
00323     #ifdef _DEBUG
00324       #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Debug/libzrtp.lib"
00325     #else
00326       #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Release/libzrtp.lib"
00327     #endif
00328 
00329     #pragma comment(lib, LIBZRTP_LIBRARY)
00330 
00331     #pragma include_alias("WINCONFIG/config.h",         "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00332     #pragma include_alias("WINCONFIG\config.h",         "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00333 
00334     #pragma include_alias(<zrtp.h>,                     <@LIBZRTP_DIR@/include/zrtp.h>)
00335     #pragma include_alias(<zrtp_log.h>,                 <@LIBZRTP_DIR@/include/zrtp_log.h>)
00336     #pragma include_alias(<zrtp_types.h>,               <@LIBZRTP_DIR@/include/zrtp_types.h>)   
00337     #pragma include_alias(<zrtp_crypto.h>,              <@LIBZRTP_DIR@/include/zrtp_crypto.h>)
00338     #pragma include_alias(<zrtp_protocol.h>,            <@LIBZRTP_DIR@/include/zrtp_protocol.h>)
00339     #pragma include_alias(<zrtp_string.h>,              <@LIBZRTP_DIR@/include/zrtp_string.h>)
00340     #pragma include_alias(<zrtp_iface.h>,               <@LIBZRTP_DIR@/include/zrtp_iface.h>)
00341     #pragma include_alias(<zrtp_error.h>,               <@LIBZRTP_DIR@/include/zrtp_error.h>)
00342     #pragma include_alias(<zrtp_net.h>,                 <@LIBZRTP_DIR@/include/zrtp_net.h>)
00343     #pragma include_alias(<zrtp_system.h>,              <@LIBZRTP_DIR@/include/zrtp_system.h>)
00344     #pragma include_alias("bn.h",                       "@LIBZRTP_DIR@/bnlib/bn.h")
00345     #pragma include_alias(<bn.h>,                       <@LIBZRTP_DIR@/bnlib/bn.h>)
00346     #pragma include_alias("bnsize00.h",                 "@LIBZRTP_DIR@/bnlib/bnsize00.h")
00347     #pragma include_alias(<bnsize00.h>,                 <@LIBZRTP_DIR@/bnlib/bnsize00.h>)
00348 
00349     #pragma include_alias("aes.h",                      "@LIBZRTP_DIR@/bgaes/aes.h")
00350     #pragma include_alias("sha2.h",                     "@LIBZRTP_DIR@/bgaes/sha2.h")
00351 
00352     #pragma include_alias("zrtp_win_config.h",          "@LIBZRTP_DIR@/config/zrtp_win_config.h")
00353 
00354 
00355     // ZRTP includes SRTP, so include SRTP headers
00356 
00357     #pragma include_alias("srtp.h",              "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00358     #pragma include_alias(<srtp.h>,              <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00359     #pragma include_alias("srtp/srtp.h",         "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00360     #pragma include_alias(<srtp/include/srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00361     #pragma include_alias("crypto_kernel.h",     "@LIBZRTP_DIR@/srtp_win32k/crypto/include/crypto_kernel.h")
00362     #pragma include_alias("rdbx.h",              "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdbx.h")
00363     #pragma include_alias("rdb.h",               "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdb.h")
00364     #pragma include_alias("integers.h",          "@LIBZRTP_DIR@/srtp_win32k/crypto/include/integers.h")
00365 
00366     // end of SRTP headers
00367 
00368   #endif
00369 #endif
00370 
00371 
00373 //
00374 // Java JNI support
00375 //
00376 
00377 /* #undef OPAL_JAVA */
00378 
00379 #if OPAL_JAVA
00380   #if defined(_MSC_VER)
00381     #pragma include_alias(<jni.h>,    <@JAVA_DIR@/include/jni.h>)
00382     #pragma include_alias("jni_md.h", "@JAVA_DIR@/include/win32/jni_md.h")
00383   #endif
00384 #endif
00385 
00386 
00388 //
00389 // Ruby support
00390 //
00391 
00392 #if !defined(_WIN32_WCE)
00393 /* #undef OPAL_RUBY */
00394 #endif
00395 
00396 #if OPAL_RUBY
00397 
00398   #if defined(_MSC_VER)
00399     #define RUBY_MSC_VER 1200
00400 
00401     #pragma include_alias(<ruby.h>, <@RUBY_DIR@/ruby.h>)
00402     #pragma include_alias("ruby/config.h", "@RUBY_DIR@/i386-mswin32/ruby/config.h")
00403     #pragma include_alias("ruby/io.h", "@RUBY_DIR@/ruby/io.h")
00404     #pragma include_alias("ruby/encoding.h", "@RUBY_DIR@/ruby/encoding.h")
00405     #pragma include_alias("ruby/oniguruma.h", "@RUBY_DIR@/ruby/oniguruma.h")
00406 
00407     #define RUBY_LIBRARY "@RUBY_DIR@/../../lib/msvcrt-ruby191.lib"
00408   #endif
00409 
00410 #endif
00411 
00412 
00413 #endif // OPAL_BUILDOPTS_H
00414 
00415 
00416 // End Of File ///////////////////////////////////////////////////////////////