forked from willamowius/gnugk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gnugkbuildopts.h.in
115 lines (88 loc) · 2.47 KB
/
gnugkbuildopts.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
//////////////////////////////////////////////////////////////////
//
// gnugkbuildopts.h autoconfig results
//
// Copyright (c) 2008-2021, Jan Willamowius
//
// This work is published under the GNU Public License version 2 (GPLv2)
// see file COPYING for details.
// We also explicitly grant the right to link this code
// with the OpenH323/H323Plus and OpenSSL library.
//
//////////////////////////////////////////////////////////////////
#ifndef GNUGKBUILDOPTS_H
#define GNUGKBUILDOPTS_H 1
// LARGE_FDSET
#undef LARGE_FDSET
// H.460.17
#undef HAS_H46017
// H.460.18/.19
#undef HAS_H46018
// H.460.23/.24
#undef HAS_H46023
// Radius
#undef HAS_RADIUS
// libSSH
#undef HAS_LIBSSH
#if defined(_MSC_VER) && HAS_LIBSSH
#pragma include_alias("libssh/libssh.h", "@LIBSSH_DIR@/include/libssh/libssh.h")
#pragma include_alias("libssh/server.h", "@LIBSSH_DIR@/include/libssh/server.h")
#pragma include_alias("libssh/legacy.h", "@LIBSSH_DIR@/include/libssh/legacy.h") // inside libssh.h
#define LIBSSH_LIB "@LIBSSH_DIR@/lib/ssh.lib"
#endif
// SNMP
#undef HAS_NETSNMP
#undef HAS_PTLIBSNMP
// LUA
#undef HAS_LUA
// GeoIP
#undef HAS_GEOIP1
#undef HAS_GEOIP2
#if defined(HAS_GEOIP1) || defined(HAS_GEOIP2)
#define HAS_GEOIP 1
#endif
// libcurl
#undef HAS_LIBCURL
// nlohmann-json3
#undef HAS_JSON
// librabbitmq
#undef HAS_LIBRABBITMQ
// MYSQL
#undef HAS_MYSQL
#if defined(_MSC_VER) && HAS_MYSQL
#pragma include_alias(<mysql.h>, <@MYSQL_DIR@/include/mysql.h>)
#endif
// PostgreSQL
#undef HAS_PGSQL
#if defined(_MSC_VER) && HAS_PGSQL
#pragma include_alias(<libpq-fe.h>, <@PGSQL_DIR@/include/libpq-fe.h>)
#endif
// Firebird
#undef HAS_FIREBIRD
#if defined(_MSC_VER) && HAS_FIREBIRD
#pragma include_alias(<ibase.h>, <@FIREBIRD_DIR@/include/ibase.h>)
#endif
// SQLite
#undef HAS_SQLITE
#if defined(_MSC_VER) && HAS_SQLITE
#pragma include_alias(<sqlite3.h>, <@SQLITE_DIR@/sqlite3.h>)
#endif
// ODBC
#undef HAS_ODBC
#if defined(_MSC_VER) && HAS_ODBC
#pragma include_alias(<sql.h>, <@ODBC_DIR@/include/sql.h>)
#pragma include_alias(<sqlext.h>, <@ODBC_DIR@/include/sqlext.h>)
#pragma include_alias(<sqltypes.h>, <@ODBC_DIR@/include/sqltypes.h>)
#endif
// redis
#undef HAS_REDIS
#if defined(_MSC_VER) && HAS_SQLITE
#pragma include_alias(<hiredis.h>, <@REDIS_DIR_DIR@/hiredis.h>)
#endif
// Avaya support
#undef HAS_AVAYA_SUPPORT
#if defined (HAS_AVAYA_SUPPORT) && !defined (HAS_H46018)
// TODO: move this check into configure ?
#error "Avaya support needs H.460.18 enabled!"
#endif
#endif