buildopts.h

Go to the documentation of this file.
00001 /* include/opal/buildopts.h.  Generated 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  * $Log: buildopts.h.in,v $
00028  * Revision 1.32  2007/06/27 18:19:48  csoutheren
00029  * Fix compile when video disabled
00030  *
00031  * Revision 1.31  2007/05/31 14:11:14  csoutheren
00032  * Add initial support for RFC 4175 uncompressed video encoding
00033  *
00034  * Revision 1.30  2007/05/15 01:48:57  csoutheren
00035  * Fix T.38 compile problems on Linux
00036  *
00037  * Revision 1.29  2007/04/20 06:49:24  csoutheren
00038  * Really disable video code when video is turned off
00039  *
00040  * Revision 1.28  2007/04/17 23:47:07  csoutheren
00041  * Fix name of SRTP libraries on Windows
00042  *
00043  * Revision 1.27  2007/03/13 00:32:16  csoutheren
00044  * Simple but messy changes to allow compile time removal of protocol
00045  * options such as H.450 and H.460
00046  * Fix MakeConnection overrides
00047  *
00048  * Revision 1.26  2007/02/23 05:24:00  csoutheren
00049  * Fixed problem linking with ZRTP on Windows
00050  *
00051  * Revision 1.25  2007/02/12 02:44:27  csoutheren
00052  * Start of support for ZRTP
00053  *
00054  * Revision 1.25  2007/02/10 07:08:41  craigs
00055  * Start of support for ZRTP
00056  *
00057  * Revision 1.24  2006/11/21 01:02:10  csoutheren
00058  * Use correct pathnames for libSRTP libraries in debug and release mode
00059  *
00060  * Revision 1.23  2006/11/20 03:37:12  csoutheren
00061  * Allow optional inclusion of RTP aggregation
00062  *
00063  * Revision 1.22  2006/10/10 07:18:18  csoutheren
00064  * Allow compilation with and without various options
00065  *
00066  * Revision 1.21  2006/10/04 07:05:05  csoutheren
00067  * Fix build problem on Windows
00068  *
00069  * Revision 1.20  2006/10/03 09:42:03  rjongbloed
00070  * Start of unix support for LID plug ins
00071  *
00072  * Revision 1.19  2006/09/28 07:42:17  csoutheren
00073  * Merge of useful SRTP implementation
00074  *
00075  * Revision 1.18  2006/09/05 06:18:22  csoutheren
00076  * Start bringing in SRTP code for libSRTP
00077  *
00078  * Revision 1.17  2006/08/21 06:19:28  csoutheren
00079  * Added placeholders for SRTP implementation
00080  *
00081  * Revision 1.16  2006/07/24 14:03:38  csoutheren
00082  * Merged in audio and video plugins from CVS branch PluginBranch
00083  *
00084  * Revision 1.15  2006/06/27 13:50:24  csoutheren
00085  * Patch 1375137 - Voicetronix patches and lid enhancements
00086  * Thanks to Frederich Heem
00087  *
00088  * Revision 1.14  2006/05/30 18:17:43  hfriederich
00089  * Allow compilation of H.460 support
00090  *
00091  * Revision 1.13  2006/04/20 16:56:41  hfriederich
00092  * Changes to allow compilation of H.224/H.281 code as well as to disable H.224 entirely
00093  *
00094  * Revision 1.12  2006/04/17 00:06:27  csoutheren
00095  * Allow ILBC codec to be disabled and detect if not present
00096  *
00097  * Revision 1.11.2.3  2006/03/20 05:04:21  csoutheren
00098  * Fixed more usages of OPAL_T38FAX
00099  *
00100  * Revision 1.11.2.2  2006/03/16 12:09:31  csoutheren
00101  * Remove ambiguity with OPAL_T38 symbol
00102  *
00103  * Revision 1.11.2.1  2006/03/16 07:06:00  csoutheren
00104  * Initial support for audio plugins
00105  *
00106  * Revision 1.11  2006/01/31 10:28:04  csoutheren
00107  * Added detection for variants to speex 1.11.11.1
00108  *
00109  * Revision 1.10  2006/01/30 23:23:24  csoutheren
00110  * Added define for SPEEX
00111  *
00112  * Revision 1.9  2006/01/01 19:19:33  dsandras
00113  * Added RFC2190 H.263 codec thanks to Salyens. Many thanks!
00114  *
00115  * Revision 1.8  2005/12/06 06:34:10  csoutheren
00116  * Added configure support for Sangoma and empty LID source and header files
00117  *
00118  * Revision 1.7  2005/07/30 07:39:26  csoutheren
00119  * Added support for compiling new IAX2 code
00120  *
00121  * Revision 1.6  2004/12/05 11:12:10  dsandras
00122  * Added support for OPAL_VERSION, similar to OPENH323_VERSION.
00123  *
00124  * Revision 1.5  2004/10/06 13:03:41  rjongbloed
00125  * Added "configure" support for known LIDs
00126  * Changed LID GetName() function to be normalised against the GetAllNames()
00127  *   return values and fixed the pre-factory registration system.
00128  * Added a GetDescription() function to do what the previous GetName() did.
00129  *
00130  * Revision 1.4  2004/10/03 15:16:49  rjongbloed
00131  * Added IxJ symbol to include LID
00132  *
00133  * Revision 1.3  2004/03/13 03:37:12  rjongbloed
00134  * Fixed windows support for SIP and H.323 subsystem disable.
00135  *
00136  * Revision 1.2  2004/03/11 06:54:27  csoutheren
00137  * Added ability to disable SIP or H.323 stacks
00138  *
00139  * Revision 1.1  2003/06/02 04:04:54  rjongbloed
00140  * Changed to use new autoconf system
00141  *
00142  */
00143 
00144 #ifndef _OPAL_BUILDOPTS_H
00145 #define _OPAL_BUILDOPTS_H
00146 
00147 #include <ptbuildopts.h>
00148 
00150 //
00151 // OPAL Version
00152 //
00153 
00154 #define OPAL_MAJOR 3
00155 #define OPAL_MINOR 0
00156 #define OPAL_BUILD 2
00157 #define OPAL_VERSION "3.0.2"
00158 
00159 
00161 //
00162 // Protocol support
00163 //
00164 
00165 #define  OPAL_IAX2 1
00166 #define OPAL_SIP 1
00167 #define OPAL_H323 1
00168 #define  OPAL_LID 1
00169 #define  OPAL_IVR 1
00170 #define  OPAL_H224 1
00171 /* #undef  OPAL_T120DATA */
00172 #define  OPAL_H450 1
00173 #define  OPAL_H460 1
00174 #define  OPAL_RFC4175 1
00175 
00176 #ifdef OPAL_H450
00177 #define H323_H450   OPAL_H450
00178 #endif
00179 
00180 #ifdef OPAL_H460
00181 #define H323_H460   OPAL_H460
00182 #endif
00183 
00185 //
00186 // Media support
00187 //
00188 
00189 #define  OPAL_AUDIO 1
00190 
00191 #if P_VIDEO
00192 #define  OPAL_VIDEO 1
00193 #endif
00194 
00195 #define  OPAL_T38FAX 1
00196 
00197 #ifndef OPAL_AUDIO
00198 #define NO_OPAL_AUDIO
00199 #endif
00200 
00201 #ifndef OPAL_VIDEO
00202 #define NO_OPAL_VIDEO
00203 #endif
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 /* #undef HAS_VPB */
00219 
00220 #if HAS_VPB
00221 #if defined(_MSC_VER)
00222 
00223 #pragma include_alias(<vpbapi.h>, <@VPB_DIR@/src/vpbapi.h>)
00224 
00225 #define VPB_LIBRARY "@VPB_DIR@/win32/libvpb/Debug/libvpb.lib"
00226 
00227 #endif
00228 #endif
00229 
00231 //
00232 // Various options
00233 //
00234 //#define OPAL_RTP_AGGREGATE   1
00235 #define GCC_HAS_CLZ 1
00236 
00238 //
00239 // libSRTP support
00240 //
00241 /* #undef HAS_LIBSRTP */
00242 
00243 #if HAS_LIBSRTP && !HAS_LIBZRTP
00244 #if defined(_MSC_VER)
00245 
00246 #pragma include_alias("srtp/srtp.h",         "@LIBSRTP_DIR@/include/srtp.h")
00247 #pragma include_alias(<srtp/include/srtp.h>, <@LIBSRTP_DIR@/include/srtp.h>)
00248 #pragma include_alias("crypto_kernel.h",     "@LIBSRTP_DIR@/crypto/include/crypto_kernel.h")
00249 #pragma include_alias("rdbx.h",              "@LIBSRTP_DIR@/crypto/include/rdbx.h")
00250 #pragma include_alias("rdb.h",               "@LIBSRTP_DIR@/crypto/include/rdb.h")
00251 #pragma include_alias("integers.h",          "@LIBSRTP_DIR@/crypto/include/integers.h")
00252 
00253 
00254 #ifdef _DEBUG
00255 #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Debug/libsrtp.lib"
00256 #else
00257 #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Release/libsrtp.lib"
00258 #endif
00259 
00260 #endif
00261 #endif
00262 
00263 #if HAS_LIBSRTP
00264 #define OPAL_SRTP  1
00265 #endif
00266 
00268 //
00269 // libZRTP support
00270 //
00271 /* #undef HAS_LIBZRTP */
00272 
00273 #if HAS_LIBZRTP
00274 #if defined(_MSC_VER)
00275 
00276 #ifdef _DEBUG
00277 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Debug/libzrtp.lib"
00278 #else
00279 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Release/libzrtp.lib"
00280 #endif
00281 
00282 #pragma comment(lib, LIBZRTP_LIBRARY)
00283 
00284 #pragma include_alias("WINCONFIG/config.h",         "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00285 #pragma include_alias("WINCONFIG\config.h",         "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00286 
00287 #pragma include_alias(<ZRTP/zrtp.h>,                <@LIBZRTP_DIR@/include/zrtp.h>)
00288 #pragma include_alias(<ZRTP/zrtp_log.h>,            <@LIBZRTP_DIR@/include/zrtp_log.h>)
00289 
00290 #pragma include_alias(<zrtp_types.h>,               <@LIBZRTP_DIR@/include/zrtp_types.h>)
00291 #pragma include_alias(<zrtp_crypto.h>,              <@LIBZRTP_DIR@/include/zrtp_crypto.h>)
00292 #pragma include_alias(<zrtp_protocol.h>,            <@LIBZRTP_DIR@/include/zrtp_protocol.h>)
00293 #pragma include_alias(<zrtp_string.h>,              <@LIBZRTP_DIR@/include/zrtp_string.h>)
00294 #pragma include_alias(<zrtp_iface.h>,               <@LIBZRTP_DIR@/include/zrtp_iface.h>)
00295 #pragma include_alias(<zrtp_error.h>,               <@LIBZRTP_DIR@/include/zrtp_error.h>)
00296 #pragma include_alias(<zrtp_net.h>,                 <@LIBZRTP_DIR@/include/zrtp_net.h>)
00297 #pragma include_alias(<zrtp_system.h>,              <@LIBZRTP_DIR@/include/zrtp_system.h>)
00298 #pragma include_alias("bn.h",                       "@LIBZRTP_DIR@/bnlib/bn.h")
00299 #pragma include_alias(<bn.h>,                       <@LIBZRTP_DIR@/bnlib/bn.h>)
00300 #pragma include_alias("bnsize00.h",                 "@LIBZRTP_DIR@/bnlib/bnsize00.h")
00301 #pragma include_alias(<bnsize00.h>,                 <@LIBZRTP_DIR@/bnlib/bnsize00.h>)
00302 #pragma include_alias("sha2.h",                     "@LIBZRTP_DIR@/include/sha/sha2.h")
00303 
00304 
00305 // ZRTP includes SRTP, so include SRTP headers
00306 
00307 #pragma include_alias("srtp.h",              "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00308 #pragma include_alias(<srtp.h>,              <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00309 #pragma include_alias("srtp/srtp.h",         "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00310 #pragma include_alias(<srtp/include/srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00311 #pragma include_alias("crypto_kernel.h",     "@LIBZRTP_DIR@/srtp_win32k/crypto/include/crypto_kernel.h")
00312 #pragma include_alias("rdbx.h",              "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdbx.h")
00313 #pragma include_alias("rdb.h",               "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdb.h")
00314 #pragma include_alias("integers.h",          "@LIBZRTP_DIR@/srtp_win32k/crypto/include/integers.h")
00315 
00316 // end of SRTP headers
00317 
00318 #endif
00319 #endif
00320 
00321 #if HAS_LIBZRTP
00322 #define OPAL_ZRTP  1
00323 #define OPAL_SRTP  1
00324 #endif
00325 
00326 #endif // _OPAL_BUILDOPTS_H
00327 
00328 
00329 // End Of File ///////////////////////////////////////////////////////////////

Generated on Fri Mar 7 06:33:08 2008 for OPAL by  doxygen 1.5.1