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

Generated on 14 Aug 2013 for OPAL by  doxygen 1.4.7