/usr/include/kannel/gw-config.h is in kannel-dev 1.4.4-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 | /* gw-config.h. Generated from gw-config.h.in by configure. */
/* ====================================================================
* The Kannel Software License, Version 1.0
*
* Copyright (c) 2001-2014 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 org@kannel.org.
*
* 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. */
#define USE_GWMEM_NATIVE 1
/* #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. */
#define LOG_TIMESTAMP_LOCALTIME 1
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if your compiler supports the __func__ magic symbol. This is
part of C99. */
#define HAVE___FUNC__ 1
/* Define if your compiler supports the __FUNCTION__ magic symbol. */
#define HAVE___FUNCTION__ 1
/* 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. */
#define HAVE_GETOPT_H 1
/* 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>. */
#define HAVE_GETOPT_IN_UNISTD_H 1
/* Define if you have getopt_long(3). */
#define HAVE_GETOPT_LONG 1
/* Define gateway name */
#define GW_NAME "Kannel"
/* Define which version we use */
#define GW_VERSION "1.4.4"
/* WMLScript debugging. */
/* #undef WS_DEBUG */
/* Define if you have the gettimeofday function. */
#define HAVE_GETTIMEOFDAY 1
/* Define if you have the select function. */
#define HAVE_SELECT 1
/* Define if you have the socket function. */
#define HAVE_SOCKET 1
/* Define if you have the localtime_r function. */
#define HAVE_LOCALTIME_R 1
/* Define if you have the gmtime_r function. */
#define HAVE_GMTIME_R 1
/* Define if you have the backtrace function. */
#define HAVE_BACKTRACE 1
/* Define if you have the user context functions. */
#define HAVE_UCONTEXT 1
/* Define if you have the srandom function. */
#define HAVE_SRANDOM 1
/* Define if you have the initgroups function. */
#define HAVE_INITGROUPS 1
/* Define if you have the strtoll function. */
#define HAVE_STRTOLL 1
/* Define if you have the strtoq function. */
#define HAVE_STRTOQ 1
/* Define if you have the <fcntl.h> header file. */
/* #undef HAVE_FCNTL_H */
/* Define if you have the <pthread.h> header file. */
#define HAVE_PTHREAD_H 1
/* Define if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define if you have the <sys/poll.h> header file. */
#define HAVE_SYS_POLL_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* 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. */
#define HAVE_NET_IF_H 1
/* Define if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define if you have the m library (-lm). */
#define HAVE_LIBM 1
/* Define if you have the nsl library (-lnsl). */
#define HAVE_LIBNSL 1
/* 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> */
#define HAVE_SOCKLEN_T 1
/* Define if the PAM headers are on the local machine */
#define HAVE_SECURITY_PAM_APPL_H 1
/* Define if you want to turn off assertion checking */
/* #undef NO_GWASSERT */
/* Define if you have <syslog.h>. */
#define HAVE_SYSLOG_H 1
/* Defines for iconv. */
#define HAVE_ICONV 1
#define ICONV_CONST
/* Define if you have <execinfo.h>. */
#define HAVE_EXECINFO_H 1
/* Define if you have and want to use the ssl library (-lssl) */
#define HAVE_LIBSSL 1
/* Defined if we're using OpenSSL WTLS */
/* #undef HAVE_WTLS_OPENSSL */
/* Define if you have and want to use the FreeTDS ct-lib */
#define HAVE_MSSQL 1
/* Define if you have and want to use the MySQL client library (-lmysqlclient) */
#define HAVE_MYSQL 1
/* 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 OCIPing function */
/* #undef HAVE_OCIPING */
/* Define if you have and want to use the SQLite database library (-lsqlite) */
#define HAVE_SQLITE 1
/* Define if you have and want to use the SQLite3 database library (-lsqlite3) */
#define HAVE_SQLITE3 1
/* Define version of used libSDB */
/* #undef LIBSDB_VERSION */
/* Define if you have and want to use the PostgreSQL dlr routines (-lpq) */
#define HAVE_PGSQL 1
/* Define if you have and want to use the Redis client library (-lhiredis) */
#define HAVE_REDIS 1
/* Define if you want to have cookie support for the WSP */
#define ENABLE_COOKIES 1
/* Define if you want to have HTTP/1.1 keep-alive support */
#define USE_KEEPALIVE 1
/* 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 */
#define HAVE_FUNC_GETHOSTBYNAME_R_6 1
/* #undef HAVE_FUNC_GETHOSTBYNAME_R_5 */
/* #undef HAVE_FUNC_GETHOSTBYNAME_R_3 */
/* Define if you have and want to use POSIX regular expressions */
#define HAVE_REGEX 1
/* Define if you have and want to use POSIX nftw function */
#define HAVE_NFTW 1
/* Define if you have and want to use PCRE (Perl compatible regular expressions) */
#define HAVE_PCRE 1
/* Define version of used libpcre */
#define LIBPCRE_VERSION "8.38"
/* Define if you have pthread_spinlock_t type and spinlock support. */
#define HAVE_PTHREAD_SPINLOCK_T 1
/* Define if you have pthread_rwlock_t type and reader/writer lock support. */
#define HAVE_PTHREAD_RWLOCK 1
/* Define if you have working semaphore (sem_t). */
#define HAVE_SEMAPHORE 1
/* Define if you have and want to use gSOAP compiler */
/* #undef HAVE_GSOAP */
/* 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
|