-
Notifications
You must be signed in to change notification settings - Fork 4
/
gw-config.h.in
280 lines (211 loc) · 8.45 KB
/
gw-config.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
/* ====================================================================
* The Kannel Software License, Version 1.0
*
* Copyright (c) 2001-2009 Kannel Group
* Copyright (c) 1998-2001 WapIT Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The end-user documentation included with the redistribution,
* if any, must include the following acknowledgment:
* "This product includes software developed by the
* Kannel Group (http://www.kannel.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
*
* 4. The names "Kannel" and "Kannel Group" must not be used to
* endorse or promote products derived from this software without
* prior written permission. For written permission, please
* contact [email protected].
*
* 5. Products derived from this software may not be called "Kannel",
* nor may "Kannel" appear in their name, without prior written
* permission of the Kannel Group.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE KANNEL GROUP OR ITS CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
* OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* ====================================================================
*
* This software consists of voluntary contributions made by many
* individuals on behalf of the Kannel Group. For more information on
* the Kannel Group, please see <http://www.kannel.org/>.
*
* Portions of this software are based upon software originally written at
* WapIT Ltd., Helsinki, Finland for the Kannel project.
*/
#ifndef CONFIG_H
#define CONFIG_H
/* Define one of these depending on which malloc wrapper you want to use. */
#undef USE_GWMEM_NATIVE
#undef USE_GWMEM_CHECK
#undef USE_GWMEM_SLOW
/* Define if you want information about lock collisions to be collected.
* These are useful for finding performance bottlenecks. */
#undef MUTEX_STATS
/* Define if you want log file timestamps in localtime instead of GMT. */
#undef LOG_TIMESTAMP_LOCALTIME
/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define if your compiler supports the __func__ magic symbol. This is
part of C99. */
#undef HAVE___FUNC__
/* Define if your compiler supports the __FUNCTION__ magic symbol. */
#undef HAVE___FUNCTION__
/* Make sure __func__ does something useful. */
#if defined(HAVE___FUNC__)
/* Nothing to do. Life is so wonderful. */
#elif defined(HAVE___FUNCTION__)
#define __func__ __FUNCTION__
#else
#define __func__ "unknown"
#endif
/* Define if you have getopt.h. */
#undef HAVE_GETOPT_H
/* Define if you have getopt(3). */
#undef HAVE_GETOPT
/* Define if you have a declaration for getopt(3) in <stdio.h>. */
#undef HAVE_GETOPT_IN_STDIO_H
/* Define if you have a declaration for getopt(3) in <unistd.h>. */
#undef HAVE_GETOPT_IN_UNISTD_H
/* Define if you have getopt_long(3). */
#undef HAVE_GETOPT_LONG
/* Define gateway name */
#undef GW_NAME
/* Define which version we use */
#undef GW_VERSION
/* WMLScript debugging. */
#undef WS_DEBUG
/* Define if you have the gettimeofday function. */
#undef HAVE_GETTIMEOFDAY
/* Define if you have the select function. */
#undef HAVE_SELECT
/* Define if you have the socket function. */
#undef HAVE_SOCKET
/* Define if you have the localtime_r function. */
#undef HAVE_LOCALTIME_R
/* Define if you have the gmtime_r function. */
#undef HAVE_GMTIME_R
/* Define if you have the backtrace function. */
#undef HAVE_BACKTRACE
/* Define if you have the srandom function. */
#undef HAVE_SRANDOM
/* Define if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H
/* Define if you have the <sys/ioctl.h> header file. */
#undef HAVE_SYS_IOCTL_H
/* Define if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have the <sys/poll.h> header file. */
#undef HAVE_SYS_POLL_H
/* Define if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
/* Define if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H
/* Define if you have the <net/if.h> header file. */
#undef HAVE_NET_IF_H
/* Define if you have the <netinet/in.h> header file. */
#undef HAVE_NETINET_IN_H
/* Define if you have the m library (-lm). */
#undef HAVE_LIBM
/* Define if you have the nsl library (-lnsl). */
#undef HAVE_LIBNSL
/* Define if you have the pthread library (-lpthread). */
#undef HAVE_LIBPTHREAD
/* Define if you have the socket library (-lsocket). */
#undef HAVE_LIBSOCKET
/* Define if you have the xml library (-lxml). */
#undef HAVE_LIBXML
/* Define if you have the z library (-lz). */
#undef HAVE_LIBZ
/* Define if there is a socklen_t in <sys/socket.h> */
#undef HAVE_SOCKLEN_T
/* Define if the PAM headers are on the local machine */
#undef HAVE_SECURITY_PAM_APPL_H
/* Define if you want to turn off assertion checking */
#undef NO_GWASSERT
/* Define if you have <syslog.h>. */
#undef HAVE_SYSLOG_H
/* Define if you have <iconv.h>. */
#undef HAVE_ICONV_H
/* Define if you have <execinfo.h>. */
#undef HAVE_EXECINFO_H
/* Define if you have and want to use the ssl library (-lssl) */
#undef HAVE_LIBSSL
/* Defined if we're using OpenSSL WTLS */
#undef HAVE_WTLS_OPENSSL
/* Define if you have and want to use the MySQL client library (-lmysqlclient) */
#undef HAVE_MYSQL
/* Define if you have and want to use the sdb client library (-lsdb) */
#undef HAVE_SDB
/* Define if you have and want to use the OCI library */
#undef HAVE_ORACLE
/* Define if you have and want to use the SQLite database library (-lsqlite) */
#undef HAVE_SQLITE
/* Define if you have and want to use the SQLite3 database library (-lsqlite3) */
#undef HAVE_SQLITE3
/* Define version of used libSDB */
#undef LIBSDB_VERSION
/* Define if you have and want to use the PostgreSQL dlr routines (-lpq) */
#undef HAVE_PGSQL
/* Define if you want to have cookie support for the WSP */
#undef ENABLE_COOKIES
/* Define if you want to have HTTP/1.1 keep-alive support */
#undef USE_KEEPALIVE
/* Define not to include the WAP gateway parts */
#undef NO_WAP
/* Define not to include the SMS gateway parts */
#undef NO_SMS
/* Define for various gethostbyname_r functions */
#undef HAVE_FUNC_GETHOSTBYNAME_R_6
#undef HAVE_FUNC_GETHOSTBYNAME_R_5
#undef HAVE_FUNC_GETHOSTBYNAME_R_3
/* Define if you have and want to use POSIX regular expressions */
#undef HAVE_REGEX
/* Define if you have and want to use PCRE (Perl compatible regular expressions) */
#undef HAVE_PCRE
/* Define version of used libpcre */
#undef LIBPCRE_VERSION
/* Define if you have pthread_spinlock_t type and spinlock support. */
#undef HAVE_PTHREAD_SPINLOCK_T
/* Define if you have pthread_rwlock_t type and reader/writer lock support. */
#undef HAVE_PTHREAD_RWLOCK
/* Define if you have working semaphore (sem_t). */
#undef HAVE_SEMAPHORE
/* If we're using GCC, we can get it to check format function arguments. */
#ifdef __GNUC__
#define PRINTFLIKE(a,b) __attribute__((format(printf, a, b)))
#else
#define PRINTFLIKE(a, b)
#endif
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#undef inline
#endif
#endif