1 /* ------------------------------------------------------------------------- */
2 /* --                     CONFIGURE SPECIFIED FEATURES                    -- */
3 /* ------------------------------------------------------------------------- */
4 
5 #ifndef __MINGWCONFIG_H
6 #define __MINGWCONFIG_H
7 
8 /* Define if you want SmartAlloc debug code enabled */
9 #define SMARTALLOC 1
10 
11 /* Define if you want to use Batch Mode */
12 /* #define HAVE_BATCH_FILE_INSERT 1 */
13 
14 /* Define if you need function prototypes */
15 #define PROTOTYPES 1
16 
17 /* Define if you have GCC */
18 #define HAVE_GCC 1
19 
20 /* Define to 1 if utime.h exists and declares struct utimbuf.  */
21 #define HAVE_UTIME_H 1
22 
23 /* Data types */
24 #define HAVE_U_INT 1
25 #define HAVE_INTXX_T 1
26 #define HAVE_U_INTXX_T 1
27 /* #undef HAVE_UINTXX_T */
28 #define HAVE_INT64_T 1
29 #define HAVE_U_INT64_T 1
30 #define HAVE_UINT64_T 1
31 #define HAVE_INTMAX_T 1
32 /* #undef HAVE_U_INTMAX_T */
33 #define HAVE_UINTPTR_T 1
34 #define HAVE_INTPTR_T 1
35 
36 /* Define if you want TCP Wrappers support */
37 /* #undef HAVE_LIBWRAP */
38 
39 /* Define if you have sys/bitypes.h */
40 /* #undef HAVE_SYS_BITYPES_H */
41 
42 /* Define if you have zlib */
43 #define HAVE_LIBZ 1
44 
45 /* Define if you have lzo lib */
46 #define HAVE_LZO 1
47 
48 /* Define to 1 if you have the <lzo/lzoconf.h> header file. */
49 #define HAVE_LZO_LZOCONF_H 1
50 
51 /* Define if you have fastlz lib */
52 #define HAVE_FASTLZ 1
53 
54 
55 /* File daemon specif libraries */
56 #define FDLIBS 1
57 
58 /* What kind of signals we have */
59 /*#define HAVE_POSIX_SIGNALS 1 */
60 /* #undef HAVE_BSD_SIGNALS */
61 /* #undef HAVE_USG_SIGHOLD */
62 
63 /* Set to correct scanf value for long long int */
64 #define lld "lld"
65 #define llu "llu"
66 /* #define USE_BSNPRINTF */
67 
68 #define HAVE_STRTOLL 1
69 
70 /* Define to 1 if you have `alloca', as a function or macro. */
71 #define HAVE_ALLOCA 1
72 #ifndef HAVE_MINGW
73 #define alloca _alloca
74 #endif
75 
76 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. */
77 #define HAVE_DIRENT_H 1
78 
79 /* Define to 1 if you have the <dlfcn.h> header file. */
80 #define HAVE_DLFCN_H 1
81 
82 /* Define to 1 if you have the <fcntl.h> header file. */
83 #define HAVE_FCNTL_H 1
84 
85 /* Define to 1 if you have the `getcwd' function. */
86 #define HAVE_GETCWD 1
87 
88 /* Define to 1 if you have the `gethostid' function. */
89 #define HAVE_GETHOSTID 1
90 
91 /* Define to 1 if you have the `gethostname' function. */
92 #define HAVE_GETHOSTNAME 1
93 
94 /* Define to 1 if you have the `getmntent' function. */
95 /*#define HAVE_GETMNTENT 1 */
96 
97 /* Define to 1 if you have the `getpid' function. */
98 #define HAVE_GETPID 1
99 #define getpid _getpid
100 
101 /* Define to 1 if you have the `gettimeofday' function. */
102 #define HAVE_GETTIMEOFDAY 1
103 
104 /* Define to 1 if you have the <grp.h> header file. */
105 /*#define HAVE_GRP_H 1*/
106 
107 /* Define to 1 if you have the `inet_pton' function. */
108 /* #undef HAVE_INET_PTON */
109 
110 /* Define to 1 if you have the <inttypes.h> header file. */
111 #define HAVE_INTTYPES_H 1
112 
113 /* Define to 1 if you have the `lchown' function. */
114 #define HAVE_LCHOWN 1
115 
116 /* Define to 1 if you have the <limits.h> header file. */
117 #define HAVE_LIMITS_H 1
118 
119 /* Define to 1 if you have the `localtime_r' function. */
120 #define HAVE_LOCALTIME_R 1
121 
122 /* Define to 1 if you have the `lstat' function. */
123 #define HAVE_LSTAT 1
124 
125 /* Define to 1 if you have the <memory.h> header file. */
126 #define HAVE_MEMORY_H 1
127 
128 /* Define to 1 if you have the <mtio.h> header file. */
129 /* #undef HAVE_MTIO_H */
130 
131 /* Define to 1 if you have the `nanosleep' function. */
132 /* #undef HAVE_NANOSLEEP  */
133 
134 /* Define to 1 if you have the <pwd.h> header file. */
135 /* #undef HAVE_PWD_H */
136 
137 /* Define to 1 if you have the `Readdir_r' function. */
138 /* #undef HAVE_READDIR_R */
139 
140 /* Define to 1 if you have the <resolv.h> header file. */
141 /* #undef HAVE_RESOLV_H */
142 
143 /* Define to 1 if you have the `select' function. */
144 #define HAVE_SELECT 1
145 
146 /* Define to 1 if you have the `setenv' function. */
147 /* #undef HAVE_SETENV */
148 
149 /* Define to 1 if you have the `putenv' function. */
150 #define HAVE_PUTENV 1
151 
152 /* Define to 1 if you have the `setlocale' function. */
153 #undef HAVE_SETLOCALE
154 
155 /* Define to 1 if translation of program messages to the user's native
156    language is requested. */
157 #if (defined _MSC_VER) && (_MSC_VER >= 1400) // VC8+
158 /* Enable NLS only if we are using the new VC++.
159  * NLS should also work with VC++ 7.1, but the Makefiles are
160  * not adapted to support it (include, lib...). */
161 #define ENABLE_NLS 1
162 #endif
163 
164 #undef  LOCALEDIR
165 #define LOCALEDIR "."
166 
167 #undef HAVE_NL_LANGINFO
168 
169 /* Define to 1 if you have the `setpgid' function. */
170 #define HAVE_SETPGID 1
171 
172 /* Define to 1 if you have the `setpgrp' function. */
173 #define HAVE_SETPGRP 1
174 
175 /* Define to 1 if you have the `setsid' function. */
176 #define HAVE_SETSID 1
177 
178 /* Define to 1 if you have the `signal' function. */
179 /*#define HAVE_SIGNAL 1 */
180 
181 /* Define to 1 if you have the `snprintf' function. */
182 #define HAVE_SNPRINTF 1
183 
184 /* Define to 1 if you have the <stdarg.h> header file. */
185 #define HAVE_STDARG_H 1
186 
187 /* Define to 1 if you have the <stdint.h> header file. */
188 #define HAVE_STDINT_H 1
189 
190 /* Define to 1 if you have the <stdlib.h> header file. */
191 #define HAVE_STDLIB_H 1
192 
193 /* Define to 1 if you have the `strcasecmp' function. */
194 #define HAVE_STRCASECMP 1
195 
196 /* Define to 1 if you have the `strerror' function. */
197 #define HAVE_STRERROR 1
198 
199 /* Define to 1 if you have the `strerror_r' function. */
200 #define HAVE_STRERROR_R 1
201 
202 /* Define to 1 if you have the `strftime' function. */
203 #define HAVE_STRFTIME 1
204 
205 /* Define to 1 if you have the <strings.h> header file. */
206 #define HAVE_STRINGS_H 1
207 
208 /* Define to 1 if you have the <string.h> header file. */
209 #define HAVE_STRING_H 1
210 
211 /* Define to 1 if you have the `strncmp' function. */
212 #define HAVE_STRNCMP 1
213 
214 /* Define to 1 if you have the `strncpy' function. */
215 #define HAVE_STRNCPY 1
216 
217 /* Define to 1 if you have the `strtoll' function. */
218 #define HAVE_STRTOLL 1
219 
220 /* Define to 1 if `st_blksize' is member of `struct stat'. */
221 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
222 
223 /* Define to 1 if `st_blocks' is member of `struct stat'. */
224 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
225 
226 /* Define to 1 if `st_rdev' is member of `struct stat'. */
227 #define HAVE_STRUCT_STAT_ST_RDEV 1
228 
229 /* Define to 1 if `tm_zone' is member of `struct tm'. */
230 /* #undef HAVE_STRUCT_TM_TM_ZONE */
231 
232 /* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use
233    `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */
234 #define HAVE_ST_BLKSIZE 1
235 
236 /* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use
237    `HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
238 #define HAVE_ST_BLOCKS 1
239 
240 /* Define to 1 if your `struct stat' has `st_rdev'. Deprecated, use
241    `HAVE_STRUCT_STAT_ST_RDEV' instead. */
242 #define HAVE_ST_RDEV 1
243 
244 /* Define to 1 if you have the <sys/byteorder.h> header file. */
245 /* #undef HAVE_SYS_BYTEORDER_H */
246 
247 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
248    */
249 /* #undef HAVE_SYS_DIR_H */
250 
251 /* Define to 1 if you have the <sys/ioctl.h> header file. */
252 #define HAVE_SYS_IOCTL_H 1
253 
254 /* Define to 1 if you have the <sys/mtio.h> header file. */
255 #define HAVE_SYS_MTIO_H 1
256 
257 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
258    */
259 /* #undef HAVE_SYS_NDIR_H */
260 
261 /* Define to 1 if you have the <sys/select.h> header file. */
262 /*undef HAVE_SYS_SELECT_H */
263 
264 /* Define to 1 if you have the <sys/socket.h> header file. */
265 #define HAVE_SYS_SOCKET_H 1
266 
267 /* Define to 1 if you have the <sys/sockio.h> header file. */
268 /* #undef HAVE_SYS_SOCKIO_H */
269 
270 /* Define to 1 if you have the <sys/stat.h> header file. */
271 #define HAVE_SYS_STAT_H 1
272 
273 /* Define to 1 if you have the <sys/time.h> header file. */
274 #define HAVE_SYS_TIME_H 1
275 
276 /* Define to 1 if you have the <sys/types.h> header file. */
277 #define HAVE_SYS_TYPES_H 1
278 
279 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
280 #define HAVE_SYS_WAIT_H 1
281 
282 /* Define to 1 if you have the `tcgetattr' function. */
283 #define HAVE_TCGETATTR 1
284 
285 /* Define to 1 if you have the <termios.h> header file. */
286 #define HAVE_TERMIOS_H 1
287 
288 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
289    `HAVE_STRUCT_TM_TM_ZONE' instead. */
290 /* #undef HAVE_TM_ZONE */
291 
292 /* Define to 1 if you don't have `tm_zone' but do have the external array
293    `tzname'. */
294 #define HAVE_TZNAME 1
295 
296 /* Define to 1 if you have the <unistd.h> header file. */
297 #define HAVE_UNISTD_H 1
298 
299 /* Define to 1 if you have the <varargs.h> header file. */
300 /* #undef HAVE_VARARGS_H */
301 
302 /* Define to 1 if you have the `vfprintf' function. */
303 #define HAVE_VFPRINTF 1
304 
305 /* Define to 1 if you have the `vprintf' function. */
306 #define HAVE_VPRINTF 1
307 
308 /* Define to 1 if you have the `vsnprintf' function. */
309 #define HAVE_VSNPRINTF 1
310 
311 /* Define to 1 if you have the <zlib.h> header file. */
312 #define HAVE_ZLIB_H 1
313 
314 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
315    */
316 /* #undef MAJOR_IN_MKDEV */
317 
318 /* Define to 1 if `major', `minor', and `makedev' are declared in
319    <sysmacros.h>. */
320 /* #undef MAJOR_IN_SYSMACROS */
321 
322 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
323 /* #undef NO_MINUS_C_MINUS_O */
324 
325 /* Define to the address where bug reports for this package should be sent. */
326 #define PACKAGE_BUGREPORT ""
327 
328 /* Define to the full name of this package. */
329 #define PACKAGE_NAME ""
330 
331 /* Define to the full name and version of this package. */
332 #define PACKAGE_STRING ""
333 
334 /* Define to the one symbol short name of this package. */
335 #define PACKAGE_TARNAME ""
336 
337 /* Define to the version of this package. */
338 #define PACKAGE_VERSION ""
339 
340 /* Define as the return type of signal handlers (`int' or `void'). */
341 #define RETSIGTYPE void
342 
343 /* Define to 1 if the `setpgrp' function takes no argument. */
344 #define SETPGRP_VOID 1
345 
346 /* The size of a `char', as computed by sizeof. */
347 #define SIZEOF_CHAR 1
348 
349 /* The size of a `int', as computed by sizeof. */
350 #define SIZEOF_INT 4
351 
352 /* The size of a `int *', as computed by sizeof. */
353 #define SIZEOF_INT_P 4
354 
355 /* The size of a `long int', as computed by sizeof. */
356 #define SIZEOF_LONG_INT 4
357 
358 /* The size of a `long long int', as computed by sizeof. */
359 #define SIZEOF_LONG_LONG_INT 8
360 
361 /* The size of a `short int', as computed by sizeof. */
362 #define SIZEOF_SHORT_INT 2
363 
364 /* If using the C implementation of alloca, define if you know the
365    direction of stack growth for your system; otherwise it will be
366    automatically deduced at run-time.
367         STACK_DIRECTION > 0 => grows toward higher addresses
368         STACK_DIRECTION < 0 => grows toward lower addresses
369         STACK_DIRECTION = 0 => direction of growth unknown */
370 /* #undef STACK_DIRECTION */
371 
372 
373 /* Define to 1 if you have the ANSI C header files. */
374 #define STDC_HEADERS 1
375 
376 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
377 #define TIME_WITH_SYS_TIME 1
378 
379 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
380 /* #undef TM_IN_SYS_TIME */
381 
382 /* Use long unsigned int for ioctl request */
383 #define HAVE_IOCTL_ULINT_REQUEST
384 
385 /* For now, we only support Little endian on Win32 */
386 #define HAVE_LITTLE_ENDIAN 1
387 
388 /* Number of bits in a file offset, on hosts where this is settable. */
389 #define _FILE_OFFSET_BITS 64
390 
391 /* Define to make fseeko etc. visible, on some hosts. */
392 #define _LARGEFILE_SOURCE 1
393 
394 /* Define for large files, on AIX-style hosts. */
395 #define _LARGE_FILES 1
396 
397 /* Define to 1 if encryption support should be enabled */
398 #define HAVE_CRYPTO 1
399 
400 /* Define to 1 if TLS support should be enabled */
401 #define HAVE_TLS 1
402 
403 /* Define to 1 if OpenSSL library is available */
404 #define HAVE_OPENSSL 1
405 
406 /* Define to 1 if IPv6 support should be enabled */
407 #define HAVE_IPV6 1
408 
409 /* Define to 1 if you have the `getaddrinfo' function. */
410 #define HAVE_GETADDRINFO 1
411 
412 /* Define to 1 if you have the `__builtin_va_copy' function. */
413 #define HAVE___BUILTIN_VA_COPY 1
414 
415 /* Define to 1 if readline support should be enabled */
416 #define HAVE_READLINE 1
417 
418 /* Directory for PID files */
419 #define _PATH_BAREOS_PIDDIR "%TEMP%"
420 
421 /* Directory for daemon files */
422 #define _PATH_BAREOS_WORKINGDIR "%TEMP%"
423 
424 /* Directory for backend drivers */
425 #define _PATH_BAREOS_BACKENDDIR "."
426 
427 /* Define to 1 if dynamic loading of catalog backends is enabled */
428 #define HAVE_DYNAMIC_CATS_BACKENDS 1
429 
430 /* Define to 1 if DB batch insert code enabled */
431 #define USE_BATCH_FILE_INSERT 1
432 
433 /* Set if you have an SQLite3 Database */
434 #define HAVE_SQLITE3 1
435 
436 /* Define to 1 if you have the `sqlite3_threadsafe' function. */
437 #define HAVE_SQLITE3_THREADSAFE 1
438 
439 /* Set if you have an PostgreSQL Database */
440 #define HAVE_POSTGRESQL 1
441 
442 /* Set if PostgreSQL DB batch insert code enabled */
443 #define HAVE_POSTGRESQL_BATCH_FILE_INSERT 1
444 
445 /* Set if have PQisthreadsafe */
446 #define HAVE_PQISTHREADSAFE 1
447 
448 /* Define to 1 if LMDB support should be enabled */
449 #define HAVE_LMDB 1
450 
451 /* Define to 1 if you have jansson lib */
452 #define HAVE_JANSSON 1
453 
454 /* Define to 1 if you have the `glob' function. */
455 #define HAVE_GLOB 1
456 
457 /* Define to 1 if you have the <glob.h> header file. */
458 #define HAVE_GLOB_H 1
459 
460 #define _POSIX_C_SOURCE 1
461 #endif /* __MINGWNCONFIG_H */
462