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: 21283 $
00028  * $Author: rjongbloed $
00029  * $Date: 2008-10-11 07:10:58 +0000 (Sat, 11 Oct 2008) $
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 2
00044 #define OPAL_BUILD 3
00045 #define OPAL_VERSION "3.2.3"
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 #define  OPAL_PTLIB_DNS 1
00057 /* #undef  OPAL_PTLIB_LDAP */
00058 #define  OPAL_PTLIB_VXML 1
00059 #define  OPAL_PTLIB_CONFIG_FILE 1
00060 
00061 
00062 // If a "configure" did not set these variables above then they get set from PTlib variables
00063 
00064 #if defined(P_SSL) && !defined(OPAL_PTLIB_SSL)
00065   #define  OPAL_PTLIB_SSL 1
00066 #endif
00067 #if defined(P_SSL_AES) && !defined(OPAL_PTLIB_SSL_AES)
00068   #define  OPAL_PTLIB_SSL_AES 1
00069 #endif
00070 #if defined(P_ASN) && !defined(OPAL_PTLIB_ASN)
00071   #define  OPAL_PTLIB_ASN 1
00072 #endif
00073 #if defined(P_EXPAT) && !defined(OPAL_PTLIB_EXPAT)
00074   #define  OPAL_PTLIB_EXPAT 1
00075 #endif
00076 #if defined(P_AUDIO) && !defined(OPAL_PTLIB_AUDIO)
00077   #define  OPAL_PTLIB_AUDIO 1
00078 #endif
00079 #if defined(P_VIDEO) && !defined(OPAL_PTLIB_VIDEO)
00080   #define  OPAL_PTLIB_VIDEO 1
00081 #endif
00082 #if defined(P_WAVFILE) && !defined(OPAL_PTLIB_WAVFILE)
00083   #define  OPAL_PTLIB_WAVFILE 1
00084 #endif
00085 #if defined(P_DTMF) && !defined(OPAL_PTLIB_DTMF)
00086   #define  OPAL_PTLIB_DTMF 1
00087 #endif
00088 #if defined(P_HAS_IPV6) && !defined(OPAL_PTLIB_IPV6)
00089   #define  OPAL_PTLIB_IPV6 1
00090 #endif
00091 #if defined(P_DNS) && !defined(OPAL_PTLIB_DNS)
00092   #define  OPAL_PTLIB_DNS 1
00093 #endif
00094 #if defined(P_LDAP) && !defined(OPAL_PTLIB_LDAP)
00095   #define  OPAL_PTLIB_LDAP P_LDAP
00096 #endif
00097 #if defined(P_VXML) && !defined(OPAL_PTLIB_VXML)
00098   #define  OPAL_PTLIB_VXML 1
00099 #endif
00100 #if defined(P_CONFIG_FILE) && !defined(OPAL_PTLIB_CONFIG_FILE)
00101   #define  OPAL_PTLIB_CONFIG_FILE 1
00102 #endif
00103 
00104 #define  OPAL_PLUGIN_DIR "/home/robertj/opal/lib/opal-3.2.3"
00105 
00107 //
00108 // Protocol support
00109 //
00110 
00111 #define  OPAL_IAX2 1
00112 #define OPAL_SIP 1
00113 #define OPAL_H323 1
00114 #define  OPAL_LID 1
00115 /* #undef  OPAL_T120DATA */
00116 
00117 #if OPAL_PTLIB_EXPAT
00118   #define  OPAL_IVR 1
00119 #endif
00120 
00121 #if OPAL_H323
00122   #define  OPAL_H224FECC 1
00123 /*   #undef  OPAL_H501 */
00124   
00125   #define  OPAL_H450 1
00126   #if OPAL_H450
00127     #define H323_H450   OPAL_H450
00128   #endif
00129 
00130   #define  OPAL_H460 1
00131   #if OPAL_H460
00132     #define H323_H460   OPAL_H460
00133   #endif
00134 #else // OPAL_H323
00135   #define H323_DISABLE_H225 1
00136   #define H323_DISABLE_H235 1
00137   #define H323_DISABLE_H245 1
00138 #endif // OPAL_H323
00139 
00140 
00141 #if !OPAL_H450
00142   #define H323_DISABLE_X880 1
00143   #define H323_DISABLE_H4501 1
00144   #define H323_DISABLE_H4502 1
00145   #define H323_DISABLE_H4503 1
00146   #define H323_DISABLE_H4504 1
00147   #define H323_DISABLE_H4505 1
00148   #define H323_DISABLE_H4506 1
00149   #define H323_DISABLE_H4507 1
00150   #define H323_DISABLE_H4508 1
00151   #define H323_DISABLE_H4509 1
00152   #define H323_DISABLE_H45010 1
00153   #define H323_DISABLE_H45011 1
00154 #endif
00155 
00156 
00157 #if !OPAL_T120DATA
00158   #define H323_DISABLE_GCC 1
00159   #define H323_DISABLE_MCS 1
00160 #endif // OPAL_T120DATA
00161 
00162 
00163 #if !OPAL_H501
00164   #define H323_DISABLE_H501 1
00165 #endif
00166 
00167 
00169 //
00170 // Various options
00171 //
00172 
00173 #define  OPAL_STATISTICS 1
00174 //#define OPAL_RTP_AGGREGATE   1
00175 #define GCC_HAS_CLZ 1
00176 
00177 
00179 //
00180 // Media support
00181 //
00182 
00183 #define  OPAL_G711PLC 1
00184 
00185 #define  OPAL_VIDEO 1
00186 
00187 #if OPAL_VIDEO
00188   #define  OPAL_RFC4175 1
00189 #endif
00190 
00191 
00192 #define  OPAL_T38_CAPABILITY 1
00193 
00194 #if OPAL_T38_CAPABILITY
00195   #if OPAL_PTLIB_ASN
00196     #define  OPAL_FAX 1
00197   #endif
00198 #endif
00199 
00200 #if !OPAL_FAX
00201   #define H323_DISABLE_T38 1
00202 #endif
00203 
00204 
00206 //
00207 // use system Speex
00208 
00209 /* #undef       OPAL_SYSTEM_SPEEX */
00210 /* #undef  OPAL_HAVE_SPEEX_SPEEX_H */
00211 /* #undef  OPAL_SPEEX_FLOAT_NOISE */
00212 
00214 //
00215 // VoiceTronic VPB Support
00216 //
00217 
00218 #if OPAL_LID
00219 /*   #undef HAS_VPB */
00220 
00221   #if HAS_VPB
00222     #if defined(_MSC_VER)
00223       #pragma include_alias(<vpbapi.h>, <@VPB_DIR@/src/vpbapi.h>)
00224       #define VPB_LIBRARY "@VPB_DIR@/win32/libvpb/Debug/libvpb.lib"
00225     #endif
00226   #endif
00227 #endif
00228 
00229 
00231 //
00232 // libZRTP support
00233 //
00234 
00235 //#undef HAS_LIBZRTP
00236 
00237 #if defined(HAS_LIBZRTP) && !defined(_WIN32_WCE)
00238 
00239   #define OPAL_ZRTP  1
00240 
00241   #if defined(_MSC_VER)
00242 
00243     #ifdef _DEBUG
00244       #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Debug/libzrtp.lib"
00245     #else
00246       #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Release/libzrtp.lib"
00247     #endif
00248 
00249     #pragma comment(lib, LIBZRTP_LIBRARY)
00250 
00251     #pragma include_alias("WINCONFIG/config.h",         "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00252     #pragma include_alias("WINCONFIG\config.h",         "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00253 
00254     #pragma include_alias(<zrtp.h>,                     <@LIBZRTP_DIR@/include/zrtp.h>)
00255     #pragma include_alias(<zrtp_log.h>,                 <@LIBZRTP_DIR@/include/zrtp_log.h>)
00256     #pragma include_alias(<zrtp_types.h>,               <@LIBZRTP_DIR@/include/zrtp_types.h>)   
00257     #pragma include_alias(<zrtp_crypto.h>,              <@LIBZRTP_DIR@/include/zrtp_crypto.h>)
00258     #pragma include_alias(<zrtp_protocol.h>,            <@LIBZRTP_DIR@/include/zrtp_protocol.h>)
00259     #pragma include_alias(<zrtp_string.h>,              <@LIBZRTP_DIR@/include/zrtp_string.h>)
00260     #pragma include_alias(<zrtp_iface.h>,               <@LIBZRTP_DIR@/include/zrtp_iface.h>)
00261     #pragma include_alias(<zrtp_error.h>,               <@LIBZRTP_DIR@/include/zrtp_error.h>)
00262     #pragma include_alias(<zrtp_net.h>,                 <@LIBZRTP_DIR@/include/zrtp_net.h>)
00263     #pragma include_alias(<zrtp_system.h>,              <@LIBZRTP_DIR@/include/zrtp_system.h>)
00264     #pragma include_alias("bn.h",                       "@LIBZRTP_DIR@/bnlib/bn.h")
00265     #pragma include_alias(<bn.h>,                       <@LIBZRTP_DIR@/bnlib/bn.h>)
00266     #pragma include_alias("bnsize00.h",                 "@LIBZRTP_DIR@/bnlib/bnsize00.h")
00267     #pragma include_alias(<bnsize00.h>,                 <@LIBZRTP_DIR@/bnlib/bnsize00.h>)
00268 
00269     #pragma include_alias("aes.h",                      "@LIBZRTP_DIR@/bgaes/aes.h")
00270     #pragma include_alias("sha2.h",                     "@LIBZRTP_DIR@/bgaes/sha2.h")
00271 
00272     #pragma include_alias("zrtp_win_config.h",          "@LIBZRTP_DIR@/config/zrtp_win_config.h")
00273 
00274 
00275     // ZRTP includes SRTP, so include SRTP headers
00276 
00277     #pragma include_alias("srtp.h",              "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00278     #pragma include_alias(<srtp.h>,              <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00279     #pragma include_alias("srtp/srtp.h",         "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00280     #pragma include_alias(<srtp/include/srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00281     #pragma include_alias("crypto_kernel.h",     "@LIBZRTP_DIR@/srtp_win32k/crypto/include/crypto_kernel.h")
00282     #pragma include_alias("rdbx.h",              "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdbx.h")
00283     #pragma include_alias("rdb.h",               "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdb.h")
00284     #pragma include_alias("integers.h",          "@LIBZRTP_DIR@/srtp_win32k/crypto/include/integers.h")
00285 
00286     // end of SRTP headers
00287 
00288   #endif
00289 #endif
00290 
00292 //
00293 // libSRTP support
00294 //
00295 
00296 /* #undef HAS_LIBSRTP */
00297 
00298 #if HAS_LIBSRTP && !OPAL_ZRTP && !defined(_WIN32_WCE)
00299 
00300   #define OPAL_SRTP  1
00301 
00302   #if defined(_MSC_VER)
00303 
00304     #pragma include_alias("srtp/srtp.h",         "@LIBSRTP_DIR@/include/srtp.h")
00305     #pragma include_alias(<srtp/include/srtp.h>, <@LIBSRTP_DIR@/include/srtp.h>)
00306     #pragma include_alias("crypto_kernel.h",     "@LIBSRTP_DIR@/crypto/include/crypto_kernel.h")
00307     #pragma include_alias("rdbx.h",              "@LIBSRTP_DIR@/crypto/include/rdbx.h")
00308     #pragma include_alias("rdb.h",               "@LIBSRTP_DIR@/crypto/include/rdb.h")
00309     #pragma include_alias("integers.h",          "@LIBSRTP_DIR@/crypto/include/integers.h")
00310 
00311     #ifdef _DEBUG
00312       #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Debug/libsrtp.lib"
00313     #else
00314       #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Release/libsrtp.lib"
00315     #endif
00316   #endif
00317 #endif
00318 
00319 
00321 //
00322 // Java JNI support
00323 //
00324 
00325 /* #undef OPAL_JAVA */
00326 
00327 #if OPAL_JAVA
00328   #if defined(_MSC_VER)
00329     #pragma include_alias(<jni.h>,    <@JAVA_DIR@/include/jni.h>)
00330     #pragma include_alias("jni_md.h", "@JAVA_DIR@/include/win32/jni_md.h")
00331   #endif
00332 #endif
00333 
00334 
00335 #endif // OPAL_BUILDOPTS_H
00336 
00337 
00338 // End Of File ///////////////////////////////////////////////////////////////

Generated on Mon Feb 23 02:01:06 2009 for OPAL by  doxygen 1.5.1