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: 21004 $
00028  * $Author: rjongbloed $
00029  * $Date: 2008-09-16 07:08:56 +0000 (Tue, 16 Sep 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 5
00044 #define OPAL_BUILD 0
00045 #define OPAL_VERSION "3.5.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 #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.5.0"
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 #define  OPAL_H224FECC 1
00116 /* #undef  OPAL_T120DATA */
00117 #define  OPAL_H450 1
00118 #define  OPAL_H460 1
00119 #define  OPAL_STATISTICS 1
00120 
00121 #if OPAL_PTLIB_EXPAT
00122 #define  OPAL_IVR 1
00123 #endif
00124 
00125 #if OPAL_H450
00126 #define H323_H450   OPAL_H450
00127 #endif
00128 
00129 #if OPAL_H460
00130 #define H323_H460   OPAL_H460
00131 #endif
00132 
00134 //
00135 // Media support
00136 //
00137 
00138 #define  OPAL_VIDEO 1
00139 
00140 #if OPAL_VIDEO
00141 #define  OPAL_RFC4175 1
00142 #endif
00143 
00144 
00145 #define  OPAL_T38_CAPABILITY 1
00146 
00147 #if OPAL_T38_CAPABILITY
00148 #if OPAL_PTLIB_ASN
00149 #define  OPAL_FAX 1
00150 #endif
00151 #endif
00152 
00153 
00154 #define  OPAL_G711PLC 1
00155 
00156 
00158 //
00159 // use system Speex
00160 
00161 /* #undef       OPAL_SYSTEM_SPEEX */
00162 /* #undef  OPAL_HAVE_SPEEX_SPEEX_H */
00163 /* #undef  OPAL_SPEEX_FLOAT_NOISE */
00164 
00166 //
00167 // VoiceTronic VPB Support
00168 //
00169 
00170 #if OPAL_LID
00171 /* #undef HAS_VPB */
00172 
00173 #if HAS_VPB
00174 #if defined(_MSC_VER)
00175 
00176 #pragma include_alias(<vpbapi.h>, <@VPB_DIR@/src/vpbapi.h>)
00177 
00178 #define VPB_LIBRARY "@VPB_DIR@/win32/libvpb/Debug/libvpb.lib"
00179 
00180 #endif
00181 #endif
00182 #endif
00183 
00184 
00186 //
00187 // Various options
00188 //
00189 //#define OPAL_RTP_AGGREGATE   1
00190 #define GCC_HAS_CLZ 1
00191 
00193 //
00194 // libZRTP support
00195 //
00196 //#undef HAS_LIBZRTP
00197 
00198 #if defined(HAS_LIBZRTP) && !defined(_WIN32_WCE)
00199 
00200 #define OPAL_ZRTP  1
00201 
00202 #if defined(_MSC_VER)
00203 
00204 #ifdef _DEBUG
00205 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Debug/libzrtp.lib"
00206 #else
00207 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Release/libzrtp.lib"
00208 #endif
00209 
00210 #pragma comment(lib, LIBZRTP_LIBRARY)
00211 
00212 #pragma include_alias("WINCONFIG/config.h",         "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00213 #pragma include_alias("WINCONFIG\config.h",         "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00214 
00215 #pragma include_alias(<zrtp.h>,                     <@LIBZRTP_DIR@/include/zrtp.h>)
00216 #pragma include_alias(<zrtp_log.h>,                 <@LIBZRTP_DIR@/include/zrtp_log.h>)
00217 #pragma include_alias(<zrtp_types.h>,               <@LIBZRTP_DIR@/include/zrtp_types.h>)   
00218 #pragma include_alias(<zrtp_crypto.h>,              <@LIBZRTP_DIR@/include/zrtp_crypto.h>)
00219 #pragma include_alias(<zrtp_protocol.h>,            <@LIBZRTP_DIR@/include/zrtp_protocol.h>)
00220 #pragma include_alias(<zrtp_string.h>,              <@LIBZRTP_DIR@/include/zrtp_string.h>)
00221 #pragma include_alias(<zrtp_iface.h>,               <@LIBZRTP_DIR@/include/zrtp_iface.h>)
00222 #pragma include_alias(<zrtp_error.h>,               <@LIBZRTP_DIR@/include/zrtp_error.h>)
00223 #pragma include_alias(<zrtp_net.h>,                 <@LIBZRTP_DIR@/include/zrtp_net.h>)
00224 #pragma include_alias(<zrtp_system.h>,              <@LIBZRTP_DIR@/include/zrtp_system.h>)
00225 #pragma include_alias("bn.h",                       "@LIBZRTP_DIR@/bnlib/bn.h")
00226 #pragma include_alias(<bn.h>,                       <@LIBZRTP_DIR@/bnlib/bn.h>)
00227 #pragma include_alias("bnsize00.h",                 "@LIBZRTP_DIR@/bnlib/bnsize00.h")
00228 #pragma include_alias(<bnsize00.h>,                 <@LIBZRTP_DIR@/bnlib/bnsize00.h>)
00229 
00230 #pragma include_alias("aes.h",                      "@LIBZRTP_DIR@/bgaes/aes.h")
00231 #pragma include_alias("sha2.h",                     "@LIBZRTP_DIR@/bgaes/sha2.h")
00232 
00233 #pragma include_alias("zrtp_win_config.h",          "@LIBZRTP_DIR@/config/zrtp_win_config.h")
00234 
00235 
00236 // ZRTP includes SRTP, so include SRTP headers
00237 
00238 #pragma include_alias("srtp.h",              "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00239 #pragma include_alias(<srtp.h>,              <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00240 #pragma include_alias("srtp/srtp.h",         "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00241 #pragma include_alias(<srtp/include/srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00242 #pragma include_alias("crypto_kernel.h",     "@LIBZRTP_DIR@/srtp_win32k/crypto/include/crypto_kernel.h")
00243 #pragma include_alias("rdbx.h",              "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdbx.h")
00244 #pragma include_alias("rdb.h",               "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdb.h")
00245 #pragma include_alias("integers.h",          "@LIBZRTP_DIR@/srtp_win32k/crypto/include/integers.h")
00246 
00247 // end of SRTP headers
00248 
00249 #endif
00250 #endif
00251 
00253 //
00254 // libSRTP support
00255 //
00256 /* #undef HAS_LIBSRTP */
00257 
00258 #if HAS_LIBSRTP && !OPAL_ZRTP && !defined(_WIN32_WCE)
00259 
00260 #define OPAL_SRTP  1
00261 
00262 #if defined(_MSC_VER)
00263 
00264 #pragma include_alias("srtp/srtp.h",         "@LIBSRTP_DIR@/include/srtp.h")
00265 #pragma include_alias(<srtp/include/srtp.h>, <@LIBSRTP_DIR@/include/srtp.h>)
00266 #pragma include_alias("crypto_kernel.h",     "@LIBSRTP_DIR@/crypto/include/crypto_kernel.h")
00267 #pragma include_alias("rdbx.h",              "@LIBSRTP_DIR@/crypto/include/rdbx.h")
00268 #pragma include_alias("rdb.h",               "@LIBSRTP_DIR@/crypto/include/rdb.h")
00269 #pragma include_alias("integers.h",          "@LIBSRTP_DIR@/crypto/include/integers.h")
00270 
00271 
00272 #ifdef _DEBUG
00273 #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Debug/libsrtp.lib"
00274 #else
00275 #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Release/libsrtp.lib"
00276 #endif
00277 
00278 #endif
00279 #endif
00280 
00281 
00283 //
00284 // Java JNI support
00285 //
00286 /* #undef OPAL_JAVA */
00287 
00288 #if OPAL_JAVA
00289 #if defined(_MSC_VER)
00290 
00291 #pragma include_alias(<jni.h>,    <@JAVA_DIR@/include/jni.h>)
00292 #pragma include_alias("jni_md.h", "@JAVA_DIR@/include/win32/jni_md.h")
00293 
00294 
00295 #endif
00296 #endif
00297 
00298 
00299 #endif // _OPAL_BUILDOPTS_H
00300 
00301 
00302 // End Of File ///////////////////////////////////////////////////////////////

Generated on Mon Sep 22 12:24:20 2008 for OPAL by  doxygen 1.5.1