1/* 2 * openh323buildopts.h 3 * 4 * Build options generated by the configure script. 5 * 6 * Portable Windows Library 7 * 8 * Copyright (c) 2003 Equivalence Pty. Ltd. 9 * Copyright (c) 20007-13 ISVO(Asia) Pte Ltd. 10 * 11 * 12 * The contents of this file are subject to the Mozilla Public License 13 * Version 1.0 (the "License"); you may not use this file except in 14 * compliance with the License. You may obtain a copy of the License at 15 * http://www.mozilla.org/MPL/ 16 * 17 * Software distributed under the License is distributed on an "AS IS" 18 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See 19 * the License for the specific language governing rights and limitations 20 * under the License. 21 * 22 * The Original Code is Portable Windows Library. 23 * 24 * The Initial Developer of the Original Code is Equivalence Pty. Ltd. 25 * 26 * Contributor(s): ______________________________________. 27 * 28 * $Id$ 29 * 30 */ 31 32#ifndef _OPENH323_BUILDOPTS_H 33#define _OPENH323_BUILDOPTS_H 34 35// PTLIB VERSION 36#undef PT_MAJOR_VERSION 37#undef PT_MINOR_VERSION 38#undef PT_BUILD_NUMBER 39 40#if PT_MAJOR_VERSION == 2 && PT_MINOR_VERSION >= 13 41#include <ptlib_config.h> 42#else 43#include <ptbuildopts.h> 44#endif 45 46#if PTLIB_MAJOR == 2 && PTLIB_MINOR < 10 47 #define PTLIB_VER ( PTLIB_MAJOR*100 + PTLIB_MINOR*10 + PTLIB_BUILD ) 48#else 49 #if (PTLIB_BUILD < 10) // We currently only handle Build numbers less then 10 - SH 50 #define PTLIB_VER ( PTLIB_MAJOR*1000 + PTLIB_MINOR*10 + PTLIB_BUILD ) 51 #else 52 #define PTLIB_VER ( PTLIB_MAJOR*1000 + PTLIB_MINOR*10 + 9 ) 53 #endif 54#endif 55 56 57///////////////////////////////////////////////// 58// 59// Major options 60// 61 62#undef OPENH323_MAJOR 63#undef OPENH323_MINOR 64#undef OPENH323_BUILD 65#undef OPENH323_VERSION 66#define H323PLUS_VER ( OPENH323_MAJOR*1000 + OPENH323_MINOR*10 + OPENH323_BUILD ) 67 68 69#if PTLIB_VER >= 2110 70 #define H323_STLDICTIONARY 1 71#endif 72 73#undef H323_AUDIO_CODECS 74 75#ifdef P_VIDEO 76#undef H323_VIDEO 77#endif 78 79#ifdef P_SSL 80#define H323_SSL 1 81#endif 82 83 84////////////////////////////////////////////////// 85// static codec definitions 86 87#ifdef H323_AUDIO_CODECS 88 #undef H323_STATIC_G7221 89 #undef H323_STATIC_GSM 90#endif 91 92#ifdef H323_VIDEO 93 #undef H323_STATIC_H261 94 #undef H323_STATIC_H263 95 #undef H323_STATIC_H264 96#endif 97 98///////////////////////////////////////////////// 99// 100// Various item support 101// 102 103#undef H323_T38 104#undef H323_T120 105#undef H323_T140 106#undef H323_H224 107#ifdef H323_H224 108 #define H224_H281 1 109 #undef H224_T140 110 #undef H224_H284 111#endif 112#undef H323_H230 113#if (PTLIB_VER > 260) && defined(H323_SSL) 114 #undef H323_H235 115 #ifdef H323_H235 116 #undef H323_H235_AES256 117 #endif 118 #undef H323_TLS 119#endif 120#ifdef P_VIDEO 121#undef H323_H239 122#endif 123#undef H323_H248 124//#undef H323_H249 125#ifdef P_SNMP 126#undef H323_H341 127#endif 128#ifdef P_LDAP 129#undef H323_H350 130#endif 131#undef H323_H450 132 133#undef H323_H460 134#ifdef H323_H460 135#undef H323_H4609 136#if (PTLIB_VER > 260) && defined(P_STUN) 137 #undef H323_H46017 138 #if defined(H323_H46017) 139 #undef H323_H46026 140 #endif 141 #undef H323_H46018 142 #if defined(H323_H46018) 143 #undef H323_H46019M 144 #endif 145 #undef H323_H46023 146 #if defined(H323_H46018) && defined(H323_H46023) && defined(H323_SSL) 147 #define H323_H46024A 1 148 #define H323_H46024B 1 149 #endif 150 #if defined(H323_H46023) && (WINVER > 0x500) 151 #define H323_UPnP 1 152 #endif 153#endif 154 155#ifdef P_EXPAT 156 #undef H323_H46025 157#endif 158 159// Text message option 160#undef H323_H460IM 161 162// Presence Feature 163#undef H323_H460P 164#ifdef H323_H460P 165 #define H323_H460P_VER 3 166#endif 167// Registration Priority Feature 168#undef H323_H460PRE 169// Endpoint Compatibility 170#undef H323_H460COM 171#endif 172 173// ASSET Feature 174#undef H323_H461 175 176#undef H323_H501 177#if (PTLIB_VER > 260) && (P_STUN) 178 #undef H323_GNUGK 179#endif 180#undef H323_FILE 181 182#ifndef _WIN64 183#undef H323_AEC 184#endif 185#if defined(_MSC_VER) && defined(H323_AEC) 186#pragma include_alias(<speex/speex_echo.h>, <@AEC_DIR@/include/speex/speex_echo.h> ) 187#pragma include_alias(<speex/speex_preprocess.h>, <@AEC_DIR@/include/speex/speex_preprocess.h>) 188#pragma include_alias(<speex/speex_types.h>, <@AEC_DIR@/include/speex/speex_types.h> ) 189#define H323_AEC_LIB "@AEC_DIR@/lib/libspeexdsp.lib" 190#endif 191 192#undef H323_SIGNAL_AGGREGATE 193#undef H323_RTP_AGGREGATE 194 195#undef H323_FIXED_VIDEOCLOCK 196 197#define H323_FRAMEBUFFER 1 198 199#undef H323_PACKET_TRACE 200 201#if PTRACING 202 #undef H323_JITTER_ANALYSER 203#endif 204 205#if (PTLIB_VER >= 2110) 206 #undef H323_MEDIAENCODED 207#endif 208 209#if P_HAS_IPV6 210#define H323_IPV6 1 211#endif 212 213#endif 214 215// End Of File /////////////////////////////////////////////////////////////// 216