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: 23893 $
00028  * $Author: rjongbloed $
00029  * $Date: 2009-12-22 17:21:10 -0600 (Tue, 22 Dec 2009) $
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 8
00044 #define OPAL_BUILD 0
00045 #define OPAL_VERSION "3.8.0"
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 /* #undef OPAL_PTLIB_LDAP */
00060 #define OPAL_PTLIB_VXML 1
00061 #define OPAL_PTLIB_CONFIG_FILE 1
00062 #define OPAL_AEC 1
00063 
00064 
00065 // If a "configure" did not set these variables above then they get set from PTlib variables
00066 
00067 #if defined(P_SSL) && !defined(OPAL_PTLIB_SSL)
00068   #define OPAL_PTLIB_SSL 1
00069 #endif
00070 #if defined(P_SSL_AES) && !defined(OPAL_PTLIB_SSL_AES)
00071   #define OPAL_PTLIB_SSL_AES 1
00072 #endif
00073 #if defined(P_ASN) && !defined(OPAL_PTLIB_ASN)
00074   #define OPAL_PTLIB_ASN 1
00075 #endif
00076 #if defined(P_EXPAT) && !defined(OPAL_PTLIB_EXPAT)
00077   #define OPAL_PTLIB_EXPAT 1
00078 #endif
00079 #if defined(P_AUDIO) && !defined(OPAL_PTLIB_AUDIO)
00080   #define OPAL_PTLIB_AUDIO 1
00081 #endif
00082 #if defined(P_VIDEO) && !defined(OPAL_PTLIB_VIDEO)
00083   #define OPAL_PTLIB_VIDEO 1
00084 #endif
00085 #if defined(P_WAVFILE) && !defined(OPAL_PTLIB_WAVFILE)
00086   #define OPAL_PTLIB_WAVFILE 1
00087 #endif
00088 #if defined(P_DTMF) && !defined(OPAL_PTLIB_DTMF)
00089   #define OPAL_PTLIB_DTMF 1
00090 #endif
00091 #if defined(P_HAS_IPV6) && !defined(OPAL_PTLIB_IPV6)
00092   #define OPAL_PTLIB_IPV6 1
00093 #endif
00094 #if defined(P_DNS) && !defined(OPAL_PTLIB_DNS)
00095   #define OPAL_PTLIB_DNS 1
00096 #endif
00097 #if defined(P_LDAP) && !defined(OPAL_PTLIB_LDAP)
00098   #define  OPAL_PTLIB_LDAP P_LDAP
00099 #endif
00100 #if defined(P_VXML) && !defined(OPAL_PTLIB_VXML)
00101   #define OPAL_PTLIB_VXML 1
00102 #endif
00103 #if defined(P_CONFIG_FILE) && !defined(OPAL_PTLIB_CONFIG_FILE)
00104   #define OPAL_PTLIB_CONFIG_FILE 1
00105 #endif
00106 
00107 #define OPAL_PLUGIN_DIR "/home/robertj/opal/lib/opal-3.8.0"
00108 
00109 // Video
00110 #if P_VIDEO
00111   #define OPAL_VIDEO 1
00112 #endif
00113 
00114 
00116 //
00117 // Protocol support
00118 //
00119 
00120 #define OPAL_IAX2 1
00121 #define OPAL_SIP 1
00122 #define OPAL_H323 1
00123 #define OPAL_LID 1
00124 /* #undef OPAL_T120DATA */
00125 
00126 #if P_VXML
00127   #define OPAL_IVR 1
00128 #endif
00129 
00130 #if OPAL_H323
00131   #if OPAL_VIDEO
00132     #define OPAL_H239 1
00133   #endif
00134   #define OPAL_H501 1
00135   
00136   #define OPAL_H450 1
00137   #if OPAL_H450
00138     #define H323_H450   OPAL_H450
00139   #endif
00140 
00141   #define OPAL_H460 1
00142   #if OPAL_H460
00143     #define H323_H460   OPAL_H460
00144   #endif
00145 #else // OPAL_H323
00146   #define H323_DISABLE_H225 1
00147   #define H323_DISABLE_H235 1
00148   #define H323_DISABLE_H245 1
00149 #endif // OPAL_H323
00150 
00151 
00152 #if !OPAL_H450
00153   #define H323_DISABLE_X880 1
00154   #define H323_DISABLE_H4501 1
00155   #define H323_DISABLE_H4502 1
00156   #define H323_DISABLE_H4503 1
00157   #define H323_DISABLE_H4504 1
00158   #define H323_DISABLE_H4505 1
00159   #define H323_DISABLE_H4506 1
00160   #define H323_DISABLE_H4507 1
00161   #define H323_DISABLE_H4508 1
00162   #define H323_DISABLE_H4509 1
00163   #define H323_DISABLE_H45010 1
00164   #define H323_DISABLE_H45011 1
00165 #endif
00166 
00167 
00168 #if !OPAL_T120DATA
00169   #define H323_DISABLE_GCC 1
00170   #define H323_DISABLE_MCS 1
00171 #endif // OPAL_T120DATA
00172 
00173 
00174 #if !OPAL_H501
00175   #define H323_DISABLE_H501 1
00176 #endif
00177 
00178 
00180 //
00181 // Various options
00182 //
00183 
00184 #define OPAL_STATISTICS 1
00185 //#define OPAL_RTP_AGGREGATE   1
00186 #define GCC_HAS_CLZ 1
00187 
00188 #define OPAL_HAS_MIXER 1
00189 #define OPAL_HAS_PCSS 1
00190 
00191 
00193 //
00194 // Media support
00195 //
00196 
00197 // G.711 Packet Loss Concealment
00198 #define OPAL_G711PLC 1
00199 
00200 #if OPAL_VIDEO
00201   // Uncompressed video over RTP
00202   #define OPAL_RFC4175 1
00203 #endif
00204 
00205 
00206 // T.38 Fax
00207 #define OPAL_T38_CAPABILITY 1
00208 
00209 #if OPAL_T38_CAPABILITY
00210   #if OPAL_PTLIB_ASN
00211     #define OPAL_FAX 1
00212   #endif
00213 #endif
00214 
00215 #if !OPAL_FAX
00216   #define H323_DISABLE_T38 1
00217 #endif
00218 
00219 
00220 // Instant Messaging
00221 #define OPAL_HAS_MSRP 1
00222 #if OPAL_SIP
00223   #define OPAL_HAS_SIPIM 1
00224 #endif
00225 #define OPAL_HAS_RFC4103 1
00226 
00227 #define OPAL_HAS_IM    (OPAL_HAS_SIPIM || OPAL_HAS_MSRP || OPAL_HAS_RFC4103)
00228 
00229 
00230 // Far end camera control
00231 #define OPAL_HAS_H224 1
00232 #define OPAL_HAS_H281 1
00233 
00234 
00235 // Use system Speex audio codec
00236 /* #undef OPAL_SYSTEM_SPEEX */
00237 /* #undef OPAL_HAVE_SPEEX_SPEEX_H */
00238 /* #undef OPAL_SPEEX_FLOAT_NOISE */
00239 
00240 
00242 //
00243 // VoiceTronic VPB Line Interface Devide support
00244 //
00245 
00246 #if OPAL_LID
00247 /*   #undef HAS_VPB */
00248 
00249   #if HAS_VPB
00250     #if defined(_MSC_VER)
00251       #pragma include_alias(<vpbapi.h>, <@VPB_DIR@/src/vpbapi.h>)
00252       #define VPB_LIBRARY "@VPB_DIR@/win32/libvpb/Debug/libvpb.lib"
00253     #endif
00254   #endif
00255 #endif
00256 
00257 
00259 //
00260 // libZRTP support
00261 //
00262 
00263 //#undef HAS_LIBZRTP
00264 
00265 #if defined(HAS_LIBZRTP) && !defined(_WIN32_WCE)
00266 
00267   //Temporarily disabled until security API is sorted out
00268   //#define OPAL_ZRTP  1
00269 
00270   #if defined(_MSC_VER)
00271 
00272     #ifdef _DEBUG
00273       #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Debug/libzrtp.lib"
00274     #else
00275       #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Release/libzrtp.lib"
00276     #endif
00277 
00278     #pragma comment(lib, LIBZRTP_LIBRARY)
00279 
00280     #pragma include_alias("WINCONFIG/config.h",         "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00281     #pragma include_alias("WINCONFIG\config.h",         "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00282 
00283     #pragma include_alias(<zrtp.h>,                     <@LIBZRTP_DIR@/include/zrtp.h>)
00284     #pragma include_alias(<zrtp_log.h>,                 <@LIBZRTP_DIR@/include/zrtp_log.h>)
00285     #pragma include_alias(<zrtp_types.h>,               <@LIBZRTP_DIR@/include/zrtp_types.h>)   
00286     #pragma include_alias(<zrtp_crypto.h>,              <@LIBZRTP_DIR@/include/zrtp_crypto.h>)
00287     #pragma include_alias(<zrtp_protocol.h>,            <@LIBZRTP_DIR@/include/zrtp_protocol.h>)
00288     #pragma include_alias(<zrtp_string.h>,              <@LIBZRTP_DIR@/include/zrtp_string.h>)
00289     #pragma include_alias(<zrtp_iface.h>,               <@LIBZRTP_DIR@/include/zrtp_iface.h>)
00290     #pragma include_alias(<zrtp_error.h>,               <@LIBZRTP_DIR@/include/zrtp_error.h>)
00291     #pragma include_alias(<zrtp_net.h>,                 <@LIBZRTP_DIR@/include/zrtp_net.h>)
00292     #pragma include_alias(<zrtp_system.h>,              <@LIBZRTP_DIR@/include/zrtp_system.h>)
00293     #pragma include_alias("bn.h",                       "@LIBZRTP_DIR@/bnlib/bn.h")
00294     #pragma include_alias(<bn.h>,                       <@LIBZRTP_DIR@/bnlib/bn.h>)
00295     #pragma include_alias("bnsize00.h",                 "@LIBZRTP_DIR@/bnlib/bnsize00.h")
00296     #pragma include_alias(<bnsize00.h>,                 <@LIBZRTP_DIR@/bnlib/bnsize00.h>)
00297 
00298     #pragma include_alias("aes.h",                      "@LIBZRTP_DIR@/bgaes/aes.h")
00299     #pragma include_alias("sha2.h",                     "@LIBZRTP_DIR@/bgaes/sha2.h")
00300 
00301     #pragma include_alias("zrtp_win_config.h",          "@LIBZRTP_DIR@/config/zrtp_win_config.h")
00302 
00303 
00304     // ZRTP includes SRTP, so include SRTP headers
00305 
00306     #pragma include_alias("srtp.h",              "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00307     #pragma include_alias(<srtp.h>,              <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00308     #pragma include_alias("srtp/srtp.h",         "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00309     #pragma include_alias(<srtp/include/srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00310     #pragma include_alias("crypto_kernel.h",     "@LIBZRTP_DIR@/srtp_win32k/crypto/include/crypto_kernel.h")
00311     #pragma include_alias("rdbx.h",              "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdbx.h")
00312     #pragma include_alias("rdb.h",               "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdb.h")
00313     #pragma include_alias("integers.h",          "@LIBZRTP_DIR@/srtp_win32k/crypto/include/integers.h")
00314 
00315     // end of SRTP headers
00316 
00317   #endif
00318 #endif
00319 
00320 
00322 //
00323 // libSRTP support
00324 //
00325 
00326 /* #undef HAS_LIBSRTP */
00327 
00328 #if HAS_LIBSRTP && !OPAL_ZRTP && !defined(_WIN32_WCE)
00329 
00330   //Temporarily disabled until security API is sorted out
00331   //#define OPAL_SRTP  1
00332 
00333   #if defined(_MSC_VER)
00334 
00335     #pragma include_alias("srtp/srtp.h",         "@LIBSRTP_DIR@/include/srtp.h")
00336     #pragma include_alias(<srtp/include/srtp.h>, <@LIBSRTP_DIR@/include/srtp.h>)
00337     #pragma include_alias("crypto_kernel.h",     "@LIBSRTP_DIR@/crypto/include/crypto_kernel.h")
00338     #pragma include_alias("rdbx.h",              "@LIBSRTP_DIR@/crypto/include/rdbx.h")
00339     #pragma include_alias("rdb.h",               "@LIBSRTP_DIR@/crypto/include/rdb.h")
00340     #pragma include_alias("integers.h",          "@LIBSRTP_DIR@/crypto/include/integers.h")
00341 
00342     #ifdef _DEBUG
00343       #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Debug/libsrtp.lib"
00344     #else
00345       #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Release/libsrtp.lib"
00346     #endif
00347   #endif
00348 #endif
00349 
00350 
00352 //
00353 // Java JNI support
00354 //
00355 
00356 /* #undef OPAL_JAVA */
00357 
00358 #if OPAL_JAVA
00359   #if defined(_MSC_VER)
00360     #pragma include_alias(<jni.h>,    <@JAVA_DIR@/include/jni.h>)
00361     #pragma include_alias("jni_md.h", "@JAVA_DIR@/include/win32/jni_md.h")
00362   #endif
00363 #endif
00364 
00365 
00367 //
00368 // Ruby support
00369 //
00370 
00371 #if !defined(_WIN32_WCE)
00372 /* #undef OPAL_RUBY */
00373 #endif
00374 
00375 #if OPAL_RUBY
00376 
00377   #if defined(_MSC_VER)
00378     #define RUBY_MSC_VER 1200
00379 
00380     #pragma include_alias(<ruby.h>, <@RUBY_DIR@/ruby.h>)
00381     #pragma include_alias("ruby/config.h", "@RUBY_DIR@/i386-mswin32/ruby/config.h")
00382     #pragma include_alias("ruby/io.h", "@RUBY_DIR@/ruby/io.h")
00383     #pragma include_alias("ruby/encoding.h", "@RUBY_DIR@/ruby/encoding.h")
00384     #pragma include_alias("ruby/oniguruma.h", "@RUBY_DIR@/ruby/oniguruma.h")
00385 
00386     #define RUBY_LIBRARY "@RUBY_DIR@/../../lib/msvcrt-ruby191.lib"
00387   #endif
00388 
00389 #endif
00390 
00391 
00392 #endif // OPAL_BUILDOPTS_H
00393 
00394 
00395 // End Of File ///////////////////////////////////////////////////////////////

Generated on Mon Feb 21 20:19:20 2011 for OPAL by  doxygen 1.4.7