]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/compat/winconfig.h
Correct a minor build problem with wx-console.
[bacula/bacula] / bacula / src / win32 / compat / winconfig.h
1 /*
2  *  This file was originally generated by configure, but has been edited
3  *  to provide the correct defines for the Native Win32 build under
4  *  Visual Studio.
5  */
6 /* ------------------------------------------------------------------------- */
7 /* --                     CONFIGURE SPECIFIED FEATURES                    -- */
8 /* ------------------------------------------------------------------------- */
9
10 /* Define if you want to use MySQL as Catalog database */
11 /* #undef USE_MYSQL_DB */
12
13 /* Define if you want SmartAlloc debug code enabled */
14 #define SMARTALLOC 1
15
16 /* Define to `int' if <sys/types.h> doesn't define.  */
17 /* #undef daddr_t */
18
19 /* Define to `int' if <sys/types.h> doesn't define.  */
20 #define major_t int
21
22 /* Define to `int' if <sys/types.h> doesn't define.  */
23 #define minor_t int
24
25 /* Define to `int' if <sys/types.h> doesn't define.  */
26 /* #undef ssize_t */
27
28 /* Define if you want to use MySQL */
29 /* #undef HAVE_MYSQL */
30
31 /* Defined if MySQL thread safe library is present */
32 /* #undef HAVE_THREAD_SAFE_MYSQL */
33
34 /* Define if you want to use embedded MySQL */
35 /* #undef HAVE_EMBEDDED_MYSQL */
36
37 /* Define if you want to use SQLite */
38 /* #undef HAVE_SQLITE */
39
40 /* Define if you want to use Berkeley DB */
41 /* #undef HAVE_BERKELEY_DB */
42
43
44 /* Define if you want to use PostgreSQL */
45 /* #undef HAVE_PGSQL */
46
47 /* Define if you want to use mSQL */
48 /* #undef HAVE_MSQL */
49
50 /* Define if you want to use iODBC */
51 /* #undef HAVE_IODBC */
52
53 /* Define if you want to use unixODBC */
54 /* #undef HAVE_UNIXODBC */
55
56 /* Define if you want to use Solid SQL Server */
57 /* #undef HAVE_SOLID */
58
59 /* Define if you want to use OpenLink ODBC (Virtuoso) */
60 /* #undef HAVE_VIRT */
61
62 /* Define if you want to use EasySoft ODBC */
63 /* #undef HAVE_EASYSOFT */
64
65 /* Define if you want to use Interbase SQL Server */
66 /* #undef HAVE_IBASE */
67
68 /* Define if you want to use Oracle 8 SQL Server */
69 /* #undef HAVE_ORACLE8 */
70
71 /* Define if you want to use Oracle 7 SQL Server */
72 /* #undef HAVE_ORACLE7 */
73
74
75 /* ------------------------------------------------------------------------- */
76 /* --                     CONFIGURE DETECTED FEATURES                     -- */
77 /* ------------------------------------------------------------------------- */
78
79 /* Define if you need function prototypes */
80 #define PROTOTYPES 1
81
82 /* Define if you have XPointer typedef */
83 /* #undef HAVE_XPOINTER */
84
85 /* Define if you have _GNU_SOURCE getpt() */
86 /* #undef HAVE_GETPT */
87
88 /* Define if you have GCC */
89 /* #undef HAVE_GCC 1 */
90
91 /* Define if you have the Andrew File System.  */
92 /* #undef AFS */
93
94 /* Define If you want find -nouser and -nogroup to make tables of
95    used UIDs and GIDs at startup instead of using getpwuid or
96    getgrgid when needed.  Speeds up -nouser and -nogroup unless you
97    are running NIS or Hesiod, which make password and group calls
98    very expensive.  */
99 /* #undef CACHE_IDS */
100
101 /* Define to use SVR4 statvfs to get filesystem type.  */
102 /* #undef FSTYPE_STATVFS */
103
104 /* Define to use SVR3.2 statfs to get filesystem type.  */
105 /* #undef FSTYPE_USG_STATFS */
106
107 /* Define to use AIX3 statfs to get filesystem type.  */
108 /* #undef FSTYPE_AIX_STATFS */
109
110 /* Define to use 4.3BSD getmntent to get filesystem type.  */
111 /* #undef FSTYPE_MNTENT 1 */
112
113 /* Define to use 4.4BSD and OSF1 statfs to get filesystem type.  */
114 /* #undef FSTYPE_STATFS */
115
116 /* Define to use Ultrix getmnt to get filesystem type.  */
117 /* #undef FSTYPE_GETMNT */
118
119 /* Define to `unsigned long' if <sys/types.h> doesn't define.  */
120 /* #undef dev_t */
121
122 /* Define to `unsigned long' if <sys/types.h> doesn't define.  */
123 /* #undef ino_t */
124
125 /* Define to 1 if utime.h exists and declares struct utimbuf.  */
126 #ifdef HAVE_MINGW
127 #define HAVE_UTIME_H 1
128 #endif
129
130 #if (HAVE_MYSQL||HAVE_PGSQL||HAVE_MSQL||HAVE_IODBC||HAVE_UNIXODBC||HAVE_SOLID||HAVE_VIRT||HAVE_IBASE||HAVE_ORACLE8||HAVE_ORACLE7||HAVE_EASYSOFT)
131 #define HAVE_SQL
132 #endif
133
134 /* Data types */
135 #define HAVE_U_INT 1
136 #define HAVE_INTXX_T 1
137 #define HAVE_U_INTXX_T 1
138 /* #undef HAVE_UINTXX_T */
139 #define HAVE_INT64_T 1
140 #define HAVE_U_INT64_T 1
141 #define HAVE_INTMAX_T 1
142 /* #undef HAVE_U_INTMAX_T */
143
144 /* Define if you want TCP Wrappers support */
145 /* #undef HAVE_LIBWRAP */
146
147 /* Define if you have sys/bitypes.h */
148 /* #undef HAVE_SYS_BITYPES_H */
149
150 /* Directory for PID files */
151 #define _PATH_BACULA_PIDDIR "/var/run"
152
153 /* Define if you have zlib */
154 #define HAVE_LIBZ 1
155
156 /* General libs */
157 /* #undef LIBS */
158
159 /* File daemon specif libraries */
160 #define FDLIBS 1
161
162 /* Path to Sendmail program */
163 /* #undef SENDMAIL_PATH */
164
165 /* What kind of signals we have */
166 /*#define HAVE_POSIX_SIGNALS 1 */
167 /* #undef HAVE_BSD_SIGNALS */
168 /* #undef HAVE_USG_SIGHOLD */
169
170 /* Operating systems */
171 /* OSes */
172 /* #undef HAVE_LINUX_OS */
173 /* #undef HAVE_FREEBSD_OS */
174 /* #undef HAVE_NETBSD_OS */
175 /* #undef HAVE_OPENBSD_OS */
176 /* #undef HAVE_BSDI_OS */
177 /* #undef HAVE_HPUX_OS */
178 /* #undef HAVE_SUN_OS */
179 /* #undef HAVE_IRIX_OS */
180 /* #undef HAVE_AIX_OS */
181 /* #undef HAVE_SGI_OS */
182 /* #define HAVE_CYGWIN 1 */
183 /* #undef HAVE_OSF1_OS */
184 /* #undef HAVE_DARWIN_OS */
185
186 /* Set to correct scanf value for long long int */
187 #define lld "lld"
188 #define llu "llu"
189
190 /*#define HAVE_READLINE 1 */
191
192 /* #undef HAVE_GMP */
193
194 /* #undef HAVE_CWEB */
195
196 /* #define HAVE_FCHDIR 1 */
197
198 /* #undef HAVE_GETOPT_LONG */
199
200 /* #undef HAVE_LIBSM */
201
202 /* Check for thread safe routines */
203 /*#define HAVE_LOCALTIME_R 1 */
204 /* #undef HAVE_READDIR_R */
205 /*#define HAVE_STRERROR_R 1*/
206 /* #undef HAVE_GETHOSTBYNAME_R */
207
208 #define HAVE_STRTOLL 1
209 /* #undef HAVE_INET_PTON */
210
211 /*#define HAVE_SOCKLEN_T 1 */
212
213 /* #undef HAVE_OLD_SOCKOPT */
214
215 /* #undef HAVE_BIGENDIAN */
216
217 /* Define to 1 if the `closedir' function returns void instead of `int'. */
218 /* #undef CLOSEDIR_VOID */
219
220 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
221    systems. This function is required for `alloca.c' support on those systems.
222    */
223 /* #undef CRAY_STACKSEG_END */
224
225 /* Define to 1 if using `alloca.c'. */
226 /* #undef C_ALLOCA */
227
228 /* Define to 1 if you have `alloca', as a function or macro. */
229 #define HAVE_ALLOCA 1
230 #ifndef HAVE_MINGW
231 #define alloca _alloca
232 #endif
233 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
234    */
235 #define HAVE_ALLOCA_H 1
236
237 /* Define to 1 if you have the <arpa/nameser.h> header file. */
238 /*#define HAVE_ARPA_NAMESER_H 1 */
239
240 /* Define to 1 if you have the <assert.h> header file. */
241 #define HAVE_ASSERT_H 1
242
243 /* Define to 1 if you have the `chflags' function. */
244 /* #undef HAVE_CHFLAGS */
245
246 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
247    */
248 #define HAVE_DIRENT_H 1
249
250 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
251 /* #undef HAVE_DOPRNT */
252
253 /* Define to 1 if you have the `fchdir' function. */
254 /*#define HAVE_FCHDIR 1 */
255
256 /* Define to 1 if you have the <fcntl.h> header file. */
257 #define HAVE_FCNTL_H 1
258
259 /* Define to 1 if your system has a working POSIX `fnmatch' function. */
260 /*#define HAVE_FNMATCH 1 */
261
262 /* Define to 1 if you have the `fork' function. */
263 /*#define HAVE_FORK 1 */
264
265 /* Define to 1 if you have the `getcwd' function. */
266 #define HAVE_GETCWD 1
267
268 /* Define to 1 if you have the `getdomainname' function. */
269 /*#define HAVE_GETDOMAINNAME 1 */
270
271 /* Define to 1 if you have the `gethostbyname_r' function. */
272 /* #undef HAVE_GETHOSTBYNAME_R */
273
274 /* Define to 1 if you have the `gethostid' function. */
275 #define HAVE_GETHOSTID 1
276
277 /* Define to 1 if you have the `gethostname' function. */
278 #define HAVE_GETHOSTNAME 1
279
280 /* Define to 1 if you have the `getmntent' function. */
281 /*#define HAVE_GETMNTENT 1 */
282
283 /* Define to 1 if you have the `getpid' function. */
284 #define HAVE_GETPID 1
285 #define getpid _getpid
286
287 /* Define to 1 if you have the `gettimeofday' function. */
288 #define HAVE_GETTIMEOFDAY 1
289
290 /* Define to 1 if you have the <grp.h> header file. */
291 /*#define HAVE_GRP_H 1*/
292
293 /* Define to 1 if you have the `inet_pton' function. */
294 /* #undef HAVE_INET_PTON */
295
296 /* Define to 1 if you have the <inttypes.h> header file. */
297 #define HAVE_INTTYPES_H 1
298
299 /* Define to 1 if you have the `lchown' function. */
300 #define HAVE_LCHOWN 1
301
302 /* Define to 1 if you have the <libc.h> header file. */
303 /* #undef HAVE_LIBC_H */
304
305 /* Define to 1 if you have the `inet' library (-linet). */
306 /* #undef HAVE_LIBINET */
307
308 /* Define to 1 if you have the `nsl' library (-lnsl). */
309 /* #undef HAVE_LIBNSL */
310
311 /* Define to 1 if you have the `resolv' library (-lresolv). */
312 /* #undef HAVE_LIBRESOLV */
313
314 /* Define to 1 if you have the `socket' library (-lsocket). */
315 /* #undef HAVE_LIBSOCKET */
316
317 /* Define to 1 if you have the `sun' library (-lsun). */
318 /* #undef HAVE_LIBSUN */
319
320 /* Define to 1 if you have the `xnet' library (-lxnet). */
321 /* #undef HAVE_LIBXNET */
322
323 /* Define to 1 if you have the <limits.h> header file. */
324 #define HAVE_LIMITS_H 1
325
326 /* Define to 1 if you have the `localtime_r' function. */
327 #define HAVE_LOCALTIME_R 1
328
329 /* Define to 1 if you have the `lstat' function. */
330 #define HAVE_LSTAT 1
331
332 /* Define to 1 if you have the <memory.h> header file. */
333 #define HAVE_MEMORY_H 1
334
335 /* Define to 1 if you have the <mtio.h> header file. */
336 /* #undef HAVE_MTIO_H */
337
338 /* Define to 1 if you have the `nanosleep' function. */
339 #define HAVE_NANOSLEEP 1
340
341 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
342 /* #undef HAVE_NDIR_H */
343
344 /* Define to 1 if you have the `putenv' function. */
345 #define HAVE_PUTENV 1
346
347 /* Define to 1 if you have the <pwd.h> header file. */
348 /*#define HAVE_PWD_H 1*/
349
350 /* Define to 1 if you have the `readdir_r' function. */
351 /* #undef HAVE_READDIR_R */
352
353 /* Define to 1 if you have the <resolv.h> header file. */
354 /*#define HAVE_RESOLV_H 1*/
355
356 /* Define to 1 if you have the `select' function. */
357 #define HAVE_SELECT 1
358
359 /* Define to 1 if you have the `setenv' function. */
360 #define HAVE_SETENV 1
361
362 /* Define to 1 if you have the `setlocale' function. */
363 #undef HAVE_SETLOCALE
364
365 #undef HAVE_NL_LANGINFO
366
367 /* Define to 1 if you have the `setpgid' function. */
368 #define HAVE_SETPGID 1
369
370 /* Define to 1 if you have the `setpgrp' function. */
371 #define HAVE_SETPGRP 1
372
373 /* Define to 1 if you have the `setsid' function. */
374 #define HAVE_SETSID 1
375
376 /* Define to 1 if you have the `signal' function. */
377 /*#define HAVE_SIGNAL 1 */
378
379 /* Define to 1 if you have the `snprintf' function. */
380 #define HAVE_SNPRINTF 1
381
382 /* Define to 1 if you have the <stdarg.h> header file. */
383 /*#define HAVE_STDARG_H 1*/
384
385 /* Define to 1 if you have the <stdint.h> header file. */
386 /*#define HAVE_STDINT_H 1 */
387
388 /* Define to 1 if you have the <stdlib.h> header file. */
389 #define HAVE_STDLIB_H 1
390
391 /* Define to 1 if you have the `strcasecmp' function. */
392 #define HAVE_STRCASECMP 1
393
394 /* Define to 1 if you have the `strerror' function. */
395 #define HAVE_STRERROR 1
396
397 /* Define to 1 if you have the `strerror_r' function. */
398 #define HAVE_STRERROR_R 1
399
400 /* Define to 1 if you have the `strftime' function. */
401 #define HAVE_STRFTIME 1
402
403 /* Define to 1 if you have the <strings.h> header file. */
404 #define HAVE_STRINGS_H 1
405
406 /* Define to 1 if you have the <string.h> header file. */
407 #define HAVE_STRING_H 1
408
409 /* Define to 1 if you have the `strncmp' function. */
410 #define HAVE_STRNCMP 1
411
412 /* Define to 1 if you have the `strncpy' function. */
413 #define HAVE_STRNCPY 1
414
415 /* Define to 1 if you have the `strtoll' function. */
416 #define HAVE_STRTOLL 1
417
418 /* Define to 1 if `st_blksize' is member of `struct stat'. */
419 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
420
421 /* Define to 1 if `st_blocks' is member of `struct stat'. */
422 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
423
424 /* Define to 1 if `st_rdev' is member of `struct stat'. */
425 #define HAVE_STRUCT_STAT_ST_RDEV 1
426
427 /* Define to 1 if `tm_zone' is member of `struct tm'. */
428 /* #undef HAVE_STRUCT_TM_TM_ZONE */
429
430 /* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use
431    `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */
432 #define HAVE_ST_BLKSIZE 1
433
434 /* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use
435    `HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
436 #define HAVE_ST_BLOCKS 1
437
438 /* Define to 1 if your `struct stat' has `st_rdev'. Deprecated, use
439    `HAVE_STRUCT_STAT_ST_RDEV' instead. */
440 #define HAVE_ST_RDEV 1
441
442 /* Define to 1 if you have the <sys/byteorder.h> header file. */
443 /* #undef HAVE_SYS_BYTEORDER_H */
444
445 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
446    */
447 /* #undef HAVE_SYS_DIR_H */
448
449 /* Define to 1 if you have the <sys/ioctl.h> header file. */
450 #define HAVE_SYS_IOCTL_H 1
451
452 /* Define to 1 if you have the <sys/mtio.h> header file. */
453 #define HAVE_SYS_MTIO_H 1
454
455 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
456    */
457 /* #undef HAVE_SYS_NDIR_H */
458
459 /* Define to 1 if you have the <sys/select.h> header file. */
460 #define HAVE_SYS_SELECT_H 1
461
462 /* Define to 1 if you have the <sys/socket.h> header file. */
463 #define HAVE_SYS_SOCKET_H 1
464
465 /* Define to 1 if you have the <sys/sockio.h> header file. */
466 /* #undef HAVE_SYS_SOCKIO_H */
467
468 /* Define to 1 if you have the <sys/stat.h> header file. */
469 #define HAVE_SYS_STAT_H 1
470
471 /* Define to 1 if you have the <sys/time.h> header file. */
472 #define HAVE_SYS_TIME_H 1
473
474 /* Define to 1 if you have the <sys/types.h> header file. */
475 #define HAVE_SYS_TYPES_H 1
476
477 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
478 #define HAVE_SYS_WAIT_H 1
479
480 /* Define to 1 if you have the `tcgetattr' function. */
481 #define HAVE_TCGETATTR 1
482
483 /* Define to 1 if you have the <termios.h> header file. */
484 #define HAVE_TERMIOS_H 1
485
486 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
487    `HAVE_STRUCT_TM_TM_ZONE' instead. */
488 /* #undef HAVE_TM_ZONE */
489
490 /* Define to 1 if you don't have `tm_zone' but do have the external array
491    `tzname'. */
492 #define HAVE_TZNAME 1
493
494 /* Define to 1 if you have the <unistd.h> header file. */
495 #define HAVE_UNISTD_H 1
496
497 /* Define to 1 if you have the <varargs.h> header file. */
498 /* #undef HAVE_VARARGS_H */
499
500 /* Define to 1 if you have the `vfprintf' function. */
501 #define HAVE_VFPRINTF 1
502
503 /* Define to 1 if you have the `vprintf' function. */
504 #define HAVE_VPRINTF 1
505
506 /* Define to 1 if you have the `vsnprintf' function. */
507 #define HAVE_VSNPRINTF 1
508
509 /* Define to 1 if you have the <zlib.h> header file. */
510 #define HAVE_ZLIB_H 1
511
512 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
513    */
514 /* #undef MAJOR_IN_MKDEV */
515
516 /* Define to 1 if `major', `minor', and `makedev' are declared in
517    <sysmacros.h>. */
518 /* #undef MAJOR_IN_SYSMACROS */
519
520 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
521 /* #undef NO_MINUS_C_MINUS_O */
522
523 /* Define to the address where bug reports for this package should be sent. */
524 #define PACKAGE_BUGREPORT ""
525
526 /* Define to the full name of this package. */
527 #define PACKAGE_NAME ""
528
529 /* Define to the full name and version of this package. */
530 #define PACKAGE_STRING ""
531
532 /* Define to the one symbol short name of this package. */
533 #define PACKAGE_TARNAME ""
534
535 /* Define to the version of this package. */
536 #define PACKAGE_VERSION ""
537
538 /* Define as the return type of signal handlers (`int' or `void'). */
539 #define RETSIGTYPE void
540
541 /* Define to 1 if the `setpgrp' function takes no argument. */
542 #define SETPGRP_VOID 1
543
544 /* The size of a `char', as computed by sizeof. */
545 #define SIZEOF_CHAR 1
546
547 /* The size of a `int', as computed by sizeof. */
548 #define SIZEOF_INT 4
549
550 /* The size of a `int *', as computed by sizeof. */
551 #define SIZEOF_INT_P 4
552
553 /* The size of a `long int', as computed by sizeof. */
554 #define SIZEOF_LONG_INT 4
555
556 /* The size of a `long long int', as computed by sizeof. */
557 #define SIZEOF_LONG_LONG_INT 8
558
559 /* The size of a `short int', as computed by sizeof. */
560 #define SIZEOF_SHORT_INT 2
561
562 /* If using the C implementation of alloca, define if you know the
563    direction of stack growth for your system; otherwise it will be
564    automatically deduced at run-time.
565         STACK_DIRECTION > 0 => grows toward higher addresses
566         STACK_DIRECTION < 0 => grows toward lower addresses
567         STACK_DIRECTION = 0 => direction of growth unknown */
568 /* #undef STACK_DIRECTION */
569
570 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
571 /* #undef STAT_MACROS_BROKEN */
572
573 /* Define to 1 if you have the ANSI C header files. */
574 #define STDC_HEADERS 1
575
576 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
577 #define TIME_WITH_SYS_TIME 1
578
579 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
580 /* #undef TM_IN_SYS_TIME */
581
582 /* Define to 1 if the X Window System is missing or not being used. */
583 /* #undef X_DISPLAY_MISSING */
584
585 /* Number of bits in a file offset, on hosts where this is settable. */
586 /* #undef _FILE_OFFSET_BITS */
587
588 /* Define to make fseeko etc. visible, on some hosts. */
589 /* #undef _LARGEFILE_SOURCE */
590
591 /* Define for large files, on AIX-style hosts. */
592 /* #undef _LARGE_FILES */
593
594 /* Define to empty if `const' does not conform to ANSI C. */
595 /* #undef const */
596
597 /* Define to `long' if <sys/types.h> does not define. */
598 /* #undef daddr_t */
599
600 /* Define to `unsigned long' if <sys/types.h> does not define. */
601 /* #undef dev_t */
602
603 /* Define to `int' if <sys/types.h> doesn't define. */
604 /* #undef gid_t */
605
606 /* Define to `unsigned long' if <sys/types.h> does not define. */
607 /* #undef ino_t */
608
609 /* Define to `int' if <sys/types.h> does not define. */
610 #define major_t int
611
612 /* Define to `int' if <sys/types.h> does not define. */
613 #define minor_t int
614
615 /* Define to `int' if <sys/types.h> does not define. */
616 /* #undef mode_t */
617
618 /* Define to `long' if <sys/types.h> does not define. */
619 /* #undef off_t */
620
621 /* Define to `int' if <sys/types.h> does not define. */
622 /* #undef pid_t */
623
624 /* Define to `unsigned' if <sys/types.h> does not define. */
625 /* #undef size_t */
626
627 /* Define to `int' if <sys/types.h> does not define. */
628 /* #undef ssize_t */
629
630 /* Define to `int' if <sys/types.h> doesn't define. */
631 /* #undef uid_t */