1 /* include/log4cplus/config.h. Generated by configure. */
2 /* include/log4cplus/config.h.in. Generated from configure.in by autoheader. */
3 /* Module: Log4CPLUS
4 * File: config.h.in
5 * Created: 6/2001
6 * Author: Tad E. Smith
7 *
8 *
9 * Copyright (C) The Apache Software Foundation. All rights reserved.
10 *
11 * This software is published under the terms of the Apache Software
12 * License version 1.1, a copy of which has been included with this
13 * distribution in the LICENSE.APL file.
14 */
15
16
17 /* Define if your <sys/socket.h> declares type socklen_t. */
18 /* #undef socklen_t */
19
20
21 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
22 systems. This function is required for `alloca.c' support on those systems.
23 */
24 /* #undef CRAY_STACKSEG_END */
25
26 /* Define to 1 if using `alloca.c'. */
27 /* #undef C_ALLOCA */
28
29 /* Define to 1 if you have `alloca', as a function or macro. */
30 #define HAVE_ALLOCA 1
31
32 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
33 */
34 #define HAVE_ALLOCA_H 1
35
36 /* Define to 1 if you have the <dlfcn.h> header file. */
37 #define HAVE_DLFCN_H 1
38
39 /* Define to 1 if you have the `ftime' function. */
40 #define HAVE_FTIME 1
41
42 /* Define to 1 if you have the `gettimeofday' function. */
43 # ifndef _WIN32 // xmlBlaster
44 #define HAVE_GETTIMEOFDAY 1
45 # endif
46
47 /* Define to 1 if you have the `gmtime_r' function. */
48 # ifndef _WIN32 // xmlBlaster
49 #define HAVE_GMTIME_R 1
50 #endif
51
52 /* Define to 1 if you have the <inttypes.h> header file. */
53 #define HAVE_INTTYPES_H 1
54
55 /* Define to 1 if you have the `nsl' library (-lnsl). */
56 /* #undef HAVE_LIBNSL */
57
58 /* Define to 1 if you have the `pthread' library (-lpthread). */
59 #define HAVE_LIBPTHREAD 1
60
61 /* Define to 1 if you have the `pthreads' library (-lpthreads). */
62 /* #undef HAVE_LIBPTHREADS */
63
64 /* Define to 1 if you have the `rt' library (-lrt). */
65 #define HAVE_LIBRT 1
66
67 /* Define to 1 if you have the `socket' library (-lsocket). */
68 /* #undef HAVE_LIBSOCKET */
69
70 /* Define to 1 if you have the `localtime_r' function. */
71 # ifndef _WIN32 // xmlBlaster
72 #define HAVE_LOCALTIME_R 1
73 #endif
74
75 /* Define to 1 if you have the `lstat' function. */
76 # ifndef _WIN32 // xmlBlaster
77 #define HAVE_LSTAT 1
78 #endif
79
80 /* Define to 1 if you have the <memory.h> header file. */
81 #define HAVE_MEMORY_H 1
82
83 /* Define to 1 if you have the <sstream> header file. */
84 #define HAVE_SSTREAM 1
85
86 /* Define to 1 if you have the `stat' function. */
87 #define HAVE_STAT 1
88
89 /* Define to 1 if you have the <stdint.h> header file. */
90 #define HAVE_STDINT_H 1
91
92 /* Define to 1 if you have the <stdlib.h> header file. */
93 #define HAVE_STDLIB_H 1
94
95 /* Define to 1 if you have the `strftime' function. */
96 /* #undef HAVE_STRFTIME */
97
98 /* Define to 1 if you have the <strings.h> header file. */
99 #define HAVE_STRINGS_H 1
100
101 /* Define to 1 if you have the <string.h> header file. */
102 #define HAVE_STRING_H 1
103
104 /* Define to 1 if you have the <strstream> header file. */
105 #define HAVE_STRSTREAM 1
106
107 /* Define to 1 if you have the <strstream.h> header file. */
108 /* #undef HAVE_STRSTREAM_H */
109
110 /* Define to 1 if you have the <syslog.h> header file. */
111 #define HAVE_SYSLOG_H 1
112
113 /* Define to 1 if you have the <sys/stat.h> header file. */
114 #define HAVE_SYS_STAT_H 1
115
116 /* Define to 1 if you have the <sys/types.h> header file. */
117 #define HAVE_SYS_TYPES_H 1
118
119 /* Define to 1 if you have the <unistd.h> header file. */
120 #define HAVE_UNISTD_H 1
121
122 /* Define if this is a single-threaded library. */
123 /* #undef LOG4CPLUS_SINGLE_THREADED */
124
125 /* Name of package */
126 #define PACKAGE "log4cplus"
127
128 /* Define to the address where bug reports for this package should be sent. */
129 #define PACKAGE_BUGREPORT ""
130
131 /* Define to the full name of this package. */
132 #define PACKAGE_NAME ""
133
134 /* Define to the full name and version of this package. */
135 #define PACKAGE_STRING ""
136
137 /* Define to the one symbol short name of this package. */
138 #define PACKAGE_TARNAME ""
139
140 /* Define to the version of this package. */
141 #define PACKAGE_VERSION ""
142
143 /* If using the C implementation of alloca, define if you know the
144 direction of stack growth for your system; otherwise it will be
145 automatically deduced at run-time.
146 STACK_DIRECTION > 0 => grows toward higher addresses
147 STACK_DIRECTION < 0 => grows toward lower addresses
148 STACK_DIRECTION = 0 => direction of growth unknown */
149 /* #undef STACK_DIRECTION */
150
151 /* Define to 1 if you have the ANSI C header files. */
152 #define STDC_HEADERS 1
153
154 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
155 /* #undef TM_IN_SYS_TIME */
156
157 /* Version number of package */
158 #define VERSION "1.0"
159
160 #ifdef _WIN32
161 # include <log4cplus/config-win32.h>
162
163 #elif (defined(__APPLE__) || (defined(__MWERKS__) && defined(__MACOS__)))
164 # include <log4cplus/config-macosx.h>
165
166 #endif // _WIN32
167
168 #if !defined(_WIN32)
169 # if !defined(LOG4CPLUS_SINGLE_THREADED)
170 # define LOG4CPLUS_USE_PTHREADS
171 # endif
172 # define LOG4CPLUS_EXPORT
173
174 #endif // !_WIN32
175
176 #include <log4cplus/helpers/thread-config.h>
syntax highlighted by Code2HTML, v. 0.9.1