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