1/*
2   BAREOS® - Backup Archiving REcovery Open Sourced
3
4   Copyright (C) 2012-2012 Free Software Foundation Europe e.V.
5   Copyright (C) 2011-2012 Planets Communications B.V.
6   Copyright (C) 2013-2020 Bareos GmbH & Co. KG
7
8   This program is Free Software; you can redistribute it and/or
9   modify it under the terms of version three of the GNU Affero General Public
10   License as published by the Free Software Foundation and included
11   in the file LICENSE.
12
13   This program is distributed in the hope that it will be useful, but
14   WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16   Affero General Public License for more details.
17
18   You should have received a copy of the GNU Affero General Public License
19   along with this program; if not, write to the Free Software
20   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21   02110-1301, USA.
22*/
23
24// clang-format off
25#ifndef BAREOS_INCLUDE_CONFIG_H_
26#define BAREOS_INCLUDE_CONFIG_H_ 1
27
28#define BAREOS "@BAREOS@"
29#define FD_DEFAULT_PORT "@fd_port@"
30#define SD_DEFAULT_PORT "@sd_port@"
31#define DIR_DEFAULT_PORT "@dir_port@"
32#define NDMP_DEFAULT_PORT "10000"
33
34#if defined(HAVE_WIN32)
35#  include "mingwconfig.h"
36#define _POSIX_C_SOURCE 1
37extern char win_os[];
38#  define PLATFORM "Cross-compile"
39#  if defined(_WIN64)
40#    define DISTVER "Win64"
41#  else
42#    define DISTVER "Win32"
43#  endif
44#else
45
46// Where are Bareos config files stored
47#cmakedefine CONFDIR @CONFDIR@
48
49// Define to 1 if you want the Developer mode enabled
50#cmakedefine DEVELOPER @DEVELOPER@
51
52/* Define to 1 if translation of program messages to the user's native
53 * language is requested */
54#cmakedefine ENABLE_NLS @ENABLE_NLS@
55
56// Define to 1 for pthread_attr_get_np() instead of pthread_getattr_np()
57#cmakedefine HAVE_PTHREAD_ATTR_GET_NP @HAVE_PTHREAD_ATTR_GET_NP@
58
59// Define to 1 if pthread_*_np() are in a seperate header
60#cmakedefine HAVE_PTHREAD_NP_H @HAVE_PTHREAD_NP_H@
61
62// Define to 1 if you want Normal acl support
63#cmakedefine HAVE_ACL @HAVE_ACL@
64
65// Define to 1 if you want PAM support
66#cmakedefine HAVE_PAM @HAVE_PAM@
67
68// Defines if your system have the ACL_TYPE_DEFAULT_DIR acl type
69#cmakedefine HAVE_ACL_TYPE_DEFAULT_DIR @HAVE_ACL_TYPE_DEFAULT_DIR@
70
71// Defines if your system have the ACL_TYPE_EXTENDED acl type
72#cmakedefine HAVE_ACL_TYPE_EXTENDED @HAVE_ACL_TYPE_EXTENDED@
73
74// Defines if your system have the ACL_TYPE_NFS4 acl type
75#cmakedefine HAVE_ACL_TYPE_NFS4 @HAVE_ACL_TYPE_NFS4@
76
77// Define to 1 if you have the `add_proplist_entry' function
78#cmakedefine HAVE_ADD_PROPLIST_ENTRY @HAVE_ADD_PROPLIST_ENTRY@
79
80// Define to 1 if your system has AFS support
81#cmakedefine HAVE_AFS @HAVE_AFS@
82
83// Andrew FileSystem ACL support
84// FIXME: this is used, but never configured
85#cmakedefine HAVE_AFS_ACL @HAVE_AFS_ACL@
86
87// Define to 1 if you have the <afs/afsint.h> header file
88#cmakedefine HAVE_AFS_AFSINT_H @HAVE_AFS_AFSINT_H@
89
90// Define to 1 if you have the <afs/venus.h> header file
91#cmakedefine HAVE_AFS_VENUS_H @HAVE_AFS_VENUS_H@
92
93// Define to 1 if you are running AIX
94#cmakedefine HAVE_AIX_OS @HAVE_AIX_OS@
95
96// Define to 1 if you have <alloca.h> and it should be used (not on Ultrix)
97#cmakedefine HAVE_ALLOCA_H @HAVE_ALLOCA_H@
98
99// Define to 1 if you have the <arpa/nameser.h> header file
100#cmakedefine HAVE_ARPA_NAMESER_H @HAVE_ARPA_NAMESER_H@
101
102// Define to 1 if you have the <attr.h> header file
103#cmakedefine HAVE_ATTR_H @HAVE_ATTR_H@
104
105// Define to 1 if you have the `backtrace' function
106#cmakedefine HAVE_BACKTRACE @HAVE_BACKTRACE@
107
108// Define to 1 if you have the `backtrace_symbols' function
109#cmakedefine HAVE_BACKTRACE_SYMBOLS @HAVE_BACKTRACE_SYMBOLS@
110
111// Big Endian
112#cmakedefine HAVE_BIG_ENDIAN @HAVE_BIG_ENDIAN@
113
114// Define to 1 if you have cephfs lib
115#cmakedefine HAVE_CEPHFS @HAVE_CEPHFS@
116
117// Define to 1 if you have cephfs/ceph_stat_x.h header
118#cmakedefine HAVE_CEPH_STATX @HAVE_CEPH_STATX@
119
120// Define to 1 if you have the `chflags' function
121#cmakedefine HAVE_CHFLAGS @HAVE_CHFLAGS@
122
123// Define to 1 if you have the `closefrom' function
124#cmakedefine HAVE_CLOSEFROM @HAVE_CLOSEFROM@
125
126// Define to 1 if you have compressBound
127#cmakedefine HAVE_COMPRESS_BOUND @HAVE_COMPRESS_BOUND@
128
129// Define to 1 if cplus_demangle exists in libdemangle
130#cmakedefine HAVE_CPLUS_DEMANGLE @HAVE_CPLUS_DEMANGLE@
131
132// Define to 1 if encryption support should be enabled
133#cmakedefine HAVE_CRYPTO @HAVE_CRYPTO@
134
135// Define to 1 if you have the <cxxabi.h> header file
136#cmakedefine HAVE_CXXABI_H @HAVE_CXXABI_H@
137
138// Define to 1 if you are running OSX
139#cmakedefine HAVE_DARWIN_OS @HAVE_DARWIN_OS@
140
141// Define to 1 if you have the <demangle.h> header file
142#cmakedefine HAVE_DEMANGLE_H @HAVE_DEMANGLE_H@
143
144// Define to 1 if dynamic loading of catalog backends is enabled
145#cmakedefine HAVE_DYNAMIC_CATS_BACKENDS @HAVE_DYNAMIC_CATS_BACKENDS@
146
147// Define to 1 if dynamic loading of storage backends is enabled
148#cmakedefine HAVE_DYNAMIC_SD_BACKENDS @HAVE_DYNAMIC_SD_BACKENDS@
149
150// Define to 1 if OpenSSL library has ENGINE_load_pk11 available
151#cmakedefine HAVE_ENGINE_LOAD_PK11 @HAVE_ENGINE_LOAD_PK11@
152
153// Define to 1 if you have the <execinfo.h> header file
154#cmakedefine HAVE_EXECINFO_H @HAVE_EXECINFO_H@
155
156// Define to 1 if you have the `extattr_get_file' function
157#cmakedefine HAVE_EXTATTR_GET_FILE @HAVE_EXTATTR_GET_FILE@
158
159// Define to 1 if you have the `extattr_get_link' function
160#cmakedefine HAVE_EXTATTR_GET_LINK @HAVE_EXTATTR_GET_LINK@
161
162// Define to 1 if you have the `extattr_list_file' function
163#cmakedefine HAVE_EXTATTR_LIST_FILE @HAVE_EXTATTR_LIST_FILE@
164
165// Define to 1 if you have the `extattr_list_link' function
166#cmakedefine HAVE_EXTATTR_LIST_LINK @HAVE_EXTATTR_LIST_LINK@
167
168// Define to 1 if you have the `extattr_namespace_to_string' function
169#cmakedefine HAVE_EXTATTR_NAMESPACE_TO_STRING @HAVE_EXTATTR_NAMESPACE_TO_STRING@
170
171// Define to 1 if you have the `extattr_set_file' function
172#cmakedefine HAVE_EXTATTR_SET_FILE @HAVE_EXTATTR_SET_FILE@
173
174// Define to 1 if you have the `extattr_set_link' function
175#cmakedefine HAVE_EXTATTR_SET_LINK @HAVE_EXTATTR_SET_LINK@
176
177// Define to 1 if you have the `extattr_string_to_namespace' function
178#cmakedefine HAVE_EXTATTR_STRING_TO_NAMESPACE @HAVE_EXTATTR_STRING_TO_NAMESPACE@
179
180// Define to 1 if you want Extended acl support
181#cmakedefine HAVE_EXTENDED_ACL @HAVE_EXTENDED_ACL@
182
183// Define to 1 if you have the `fchmod' function
184#cmakedefine HAVE_FCHMOD @HAVE_FCHMOD@
185
186// Define to 1 if you have the `fchown' function
187#cmakedefine HAVE_FCHOWN @HAVE_FCHOWN@
188
189// Define to 1 if you have the `fchownat' function
190#cmakedefine HAVE_FCHOWNAT @HAVE_FCHOWNAT@
191
192// Define to 1 if you have the fcntl F_CLOSEM flag
193#cmakedefine HAVE_FCNTL_F_CLOSEM @HAVE_FCNTL_F_CLOSEM@
194
195// Define to 1 if you have the `fdatasync' function
196#cmakedefine HAVE_FDATASYNC @HAVE_FDATASYNC@
197
198// Define to 1 if you are running FreeBSD
199#cmakedefine HAVE_FREEBSD_OS @HAVE_FREEBSD_OS@
200
201// Define to 1 if you have the `fseeko' function
202#cmakedefine HAVE_FSEEKO @HAVE_FSEEKO@
203
204// Define to 1 if you have the `futimens' function
205#cmakedefine HAVE_FUTIMENS @HAVE_FUTIMENS@
206
207// Define to 1 if you have the `futimes' function
208#cmakedefine HAVE_FUTIMES @HAVE_FUTIMES@
209
210// Define to 1 if you have the `futimesat' function
211#cmakedefine HAVE_FUTIMESAT @HAVE_FUTIMESAT@
212
213// Define to 1 if you use gcc
214#cmakedefine HAVE_GCC @HAVE_GCC@
215
216// Define to 1 if you have the `getaddrinfo' function
217#cmakedefine HAVE_GETADDRINFO @HAVE_GETADDRINFO@
218
219// Define to 1 if you have the `getea' function
220#cmakedefine HAVE_GETEA @HAVE_GETEA@
221
222// Define to 1 if you have the `gethostbyname2' function
223#cmakedefine HAVE_GETHOSTBYNAME2 @HAVE_GETHOSTBYNAME2@
224
225// Define to 1 if you have the `getmntent' function
226#cmakedefine HAVE_GETMNTENT @HAVE_GETMNTENT@
227
228// Define to 1 if you have the `getmntinfo' function
229#cmakedefine HAVE_GETMNTINFO @HAVE_GETMNTINFO@
230
231// Define to 1 if you have the `getpagesize' function
232#cmakedefine HAVE_GETPAGESIZE @HAVE_GETPAGESIZE@
233
234// Define to 1 if you have the `getproplist' function
235#cmakedefine HAVE_GETPROPLIST @HAVE_GETPROPLIST@
236
237// Define to 1 if you have the `getxattr' function
238#cmakedefine HAVE_GETXATTR @HAVE_GETXATTR@
239
240// Define to 1 if you have the `get_proplist_entry' function
241#cmakedefine HAVE_GET_PROPLIST_ENTRY @HAVE_GET_PROPLIST_ENTRY@
242
243// Define to 1 if you have gfapi lib
244#cmakedefine HAVE_GFAPI @HAVE_GFAPI@
245
246// Define to 1 if the `glfs_ftruncate' function has four arguments
247#cmakedefine GLFS_FTRUNCATE_HAS_FOUR_ARGS @GLFS_FTRUNCATE_HAS_FOUR_ARGS@
248
249// Define to 1 if you have the `glfs_readdirplus' function
250#cmakedefine HAVE_GLFS_READDIRPLUS @HAVE_GLFS_READDIRPLUS@
251
252// Define to 1 if you have the `glob' function
253#cmakedefine HAVE_GLOB @HAVE_GLOB@
254
255// Define to 1 if you have the <grp.h> header file
256#cmakedefine HAVE_GRP_H @HAVE_GRP_H@
257
258// Define to 1 if you are running HPUX
259#cmakedefine HAVE_HPUX_OS @HAVE_HPUX_OS@
260
261// Define to 1 if you are running GNU Hurd
262#cmakedefine HAVE_HURD_OS @HAVE_HURD_OS@
263
264// Define to 1 if you have the `inet_ntop' function
265#cmakedefine HAVE_INET_NTOP @HAVE_INET_NTOP@
266
267// Define to 1 if ioctl request is unsigned long int
268#cmakedefine HAVE_IOCTL_ULINT_REQUEST @HAVE_IOCTL_ULINT_REQUEST@
269
270// Define to 1 if IPv6 support should be enabled
271#cmakedefine HAVE_IPV6 @HAVE_IPV6@
272
273// Define to 1 if you are running IRIX
274#cmakedefine HAVE_IRIX_OS @HAVE_IRIX_OS@
275
276// Define HAVE_IS_TRIVIALLY_COPYABLE if compiler has type trait is_trivially_copyable
277#cmakedefine HAVE_IS_TRIVIALLY_COPYABLE
278
279// Define to 1 if you have jansson lib
280#cmakedefine HAVE_JANSSON @HAVE_JANSSON@
281
282// Define to 1 if you have the `lchmod' function
283#cmakedefine HAVE_LCHMOD @HAVE_LCHMOD@
284
285// Define to 1 if you have the `lchown' function
286#cmakedefine HAVE_LCHOWN @HAVE_LCHOWN@
287
288// Define to 1 if you have the `lgetea' function
289#cmakedefine HAVE_LGETEA @HAVE_LGETEA@
290
291// Define to 1 if you have the `lgetxattr' function
292#cmakedefine HAVE_LGETXATTR @HAVE_LGETXATTR@
293
294// Define to 1 if you have libcap
295#cmakedefine HAVE_LIBCAP @HAVE_LIBCAP@
296
297// Define to 1 if you have the `util' library (-lutil)
298#cmakedefine HAVE_LIBUTIL @HAVE_LIBUTIL@
299
300// Define to 1 if you have the <libutil.h> header file
301#cmakedefine HAVE_LIBUTIL_H @HAVE_LIBUTIL_H@
302
303// Define to 1 if you have zlib
304#cmakedefine HAVE_LIBZ @HAVE_LIBZ@
305
306// Define to 1 if you are running Linux
307#cmakedefine HAVE_LINUX_OS @HAVE_LINUX_OS@
308
309// Define to 1 if you have the `listea' function
310#cmakedefine HAVE_LISTEA @HAVE_LISTEA@
311
312// Define to 1 if you have the `listxattr' function
313#cmakedefine HAVE_LISTXATTR @HAVE_LISTXATTR@
314
315// Define to 1 if you have the `llistea' function
316#cmakedefine HAVE_LLISTEA @HAVE_LLISTEA@
317
318// Define to 1 if you have the `llistxattr' function
319#cmakedefine HAVE_LLISTXATTR @HAVE_LLISTXATTR@
320
321// Define to 1 if LMDB support should be enabled
322#cmakedefine HAVE_LMDB @HAVE_LMDB@
323
324// Define to 1 if you have the `localtime_r' function
325#cmakedefine HAVE_LOCALTIME_R @HAVE_LOCALTIME_R@
326
327// Define if you have the 'long double' type
328#cmakedefine HAVE_LONG_DOUBLE @HAVE_LONG_DOUBLE@
329
330// Low level SCSI Interface support
331#cmakedefine HAVE_LOWLEVEL_SCSI_INTERFACE @HAVE_LOWLEVEL_SCSI_INTERFACE@
332
333// Define to 1 if you have the `lsetea' function
334#cmakedefine HAVE_LSETEA @HAVE_LSETEA@
335
336// Define to 1 if you have the `lsetxattr' function
337#cmakedefine HAVE_LSETXATTR @HAVE_LSETXATTR@
338
339// Define to 1 if you have the `lutimes' function
340#cmakedefine HAVE_LUTIMES @HAVE_LUTIMES@
341
342// Define to 1 if you have lzo lib
343#cmakedefine HAVE_LZO @HAVE_LZO@
344
345// Define to 1 if you have the <mtio.h> header file
346#cmakedefine HAVE_MTIO_H @HAVE_MTIO_H@
347
348// Set if you have an MySQL Database
349#cmakedefine HAVE_MYSQL @HAVE_MYSQL@
350
351// Set if have mysql_thread_safe
352#cmakedefine HAVE_MYSQL_THREAD_SAFE @HAVE_MYSQL_THREAD_SAFE@
353
354// Define to 1 if you have the `nanosleep' function
355#cmakedefine HAVE_NANOSLEEP @HAVE_NANOSLEEP@
356
357// Define to 1 if NDMP support should be enabled
358#cmakedefine HAVE_NDMP @HAVE_NDMP@
359
360// Define to 1 if you are running NetBSD
361#cmakedefine HAVE_NETBSD_OS @HAVE_NETBSD_OS@
362
363// Define to 1 to when walkcontext does not work
364#cmakedefine HAVE_NON_WORKING_WALKCONTEXT @HAVE_NON_WORKING_WALKCONTEXT@
365
366// Define to 1 to use the old sockopt option
367#cmakedefine HAVE_OLD_SOCKOPT @HAVE_OLD_SOCKOPT@
368
369// Define to 1 if you have the `openat' function
370#cmakedefine HAVE_OPENAT @HAVE_OPENAT@
371
372// Define to 1 if you are running OpenBSD
373#cmakedefine HAVE_OPENBSD_OS @HAVE_OPENBSD_OS@
374
375// Define to 1 if OpenSSL library is available
376#cmakedefine HAVE_OPENSSL @HAVE_OPENSSL@
377
378// Define to 1 if you are running Tru64
379#cmakedefine HAVE_OSF1_OS @HAVE_OSF1_OS@
380
381// Define to 1 if you have the `poll' function
382#cmakedefine HAVE_POLL @HAVE_POLL@
383
384// Define to 1 if you have the <poll.h> header file
385#cmakedefine HAVE_POLL_H @HAVE_POLL_H@
386
387// Define to 1 if you have the `posix_fadvise' function
388#cmakedefine HAVE_POSIX_FADVISE @HAVE_POSIX_FADVISE@
389
390// Set if you have an PostgreSQL Database
391#cmakedefine HAVE_POSTGRESQL @HAVE_POSTGRESQL@
392
393// Set if PostgreSQL DB batch insert code enabled
394#cmakedefine HAVE_POSTGRESQL_BATCH_FILE_INSERT @HAVE_POSTGRESQL_BATCH_FILE_INSERT@
395
396// Set if have PQisthreadsafe
397#cmakedefine HAVE_PQISTHREADSAFE @HAVE_PQISTHREADSAFE@
398
399// Define to 1 if you have the `prctl' function
400#cmakedefine HAVE_PRCTL @HAVE_PRCTL@
401
402// Define to 1 if you have the `putenv' function
403#cmakedefine HAVE_PUTENV @HAVE_PUTENV@
404
405// Define to 1 if you have the <pwd.h> header file
406#cmakedefine HAVE_PWD_H @HAVE_PWD_H@
407
408// Define to 1 if python support should be enabled
409#cmakedefine HAVE_PYTHON @HAVE_PYTHON@
410
411// Define to 1 if you have rados lib
412#cmakedefine HAVE_RADOS @HAVE_RADOS@
413
414// Define to 1 if you have support for RADOS namespaces
415#cmakedefine HAVE_RADOS_NAMESPACES @HAVE_RADOS_NAMESPACES@
416
417// Define to 1 if you have support for RADOS NObject List API
418#cmakedefine HAVE_RADOS_NOBJECTS_LIST @HAVE_RADOS_NOBJECTS_LIST@
419
420// Define to 1 if you have radosstriper lib
421#cmakedefine HAVE_RADOS_STRIPER @HAVE_RADOS_STRIPER@
422
423// Define to 1 if you have the `readdir_r' function
424#cmakedefine HAVE_READDIR_R @HAVE_READDIR_R@
425
426// Define to 1 if you have the <regex.h> header file
427#cmakedefine HAVE_REGEX_H @HAVE_REGEX_H@
428
429// Define to 1 if you have the `setea' function
430#cmakedefine HAVE_SETEA @HAVE_SETEA@
431
432// Define to 1 if you have the `setenv' function
433#cmakedefine HAVE_SETENV @HAVE_SETENV@
434
435// Define to 1 if you have the `setproplist' function
436#cmakedefine HAVE_SETPROPLIST @HAVE_SETPROPLIST@
437
438// Define to 1 if you have the `setreuid' function
439#cmakedefine HAVE_SETREUID @HAVE_SETREUID@
440
441// Define to 1 if you have the `setxattr' function
442#cmakedefine HAVE_SETXATTR @HAVE_SETXATTR@
443
444// Define to 1 if the SHA-2 family of digest algorithms is available
445#cmakedefine HAVE_SHA2 @HAVE_SHA2@
446
447// Define to 1 if you have the `sizeof_proplist_entry' function
448#cmakedefine HAVE_SIZEOF_PROPLIST_ENTRY @HAVE_SIZEOF_PROPLIST_ENTRY@
449
450// Set if you have an SQLite3 Database
451#cmakedefine HAVE_SQLITE3 @HAVE_SQLITE3@
452
453// Define to 1 if you have the `sqlite3_threadsafe' function
454#cmakedefine HAVE_SQLITE3_THREADSAFE @HAVE_SQLITE3_THREADSAFE@
455
456// Define to 1 if you are running Solaris
457#cmakedefine HAVE_SUN_OS @HAVE_SUN_OS@
458
459// Define to 1 if systemd support should be enabled
460#cmakedefine HAVE_SYSTEMD @HAVE_SYSTEMD@
461
462// Define to 1 if you have the <sys/acl.h> header file
463#cmakedefine HAVE_SYS_ACL_H @HAVE_SYS_ACL_H@
464
465// Define to 1 if you have the <sys/attr.h> header file
466#cmakedefine HAVE_SYS_ATTR_H @HAVE_SYS_ATTR_H@
467
468// Define to 1 if you have the <sys/bitypes.h> header file
469#cmakedefine HAVE_SYS_BITYPES_H @HAVE_SYS_BITYPES_H@
470
471// Define to 1 if you have the <sys/capability.h> header file
472#cmakedefine HAVE_SYS_CAPABILITY_H @HAVE_SYS_CAPABILITY_H@
473
474// Define to 1 if you have the <sys/ea.h> header file
475#cmakedefine HAVE_SYS_EA_H @HAVE_SYS_EA_H@
476
477// Define to 1 if you have the <sys/extattr.h> header file
478#cmakedefine HAVE_SYS_EXTATTR_H @HAVE_SYS_EXTATTR_H@
479
480// Define to 1 if you have the <sys/mman.h> header file
481#undef HAVE_SYS_MMAN_H
482
483// Define to 1 if you have the <sys/mtio.h> header file
484#cmakedefine HAVE_SYS_MTIO_H @HAVE_SYS_MTIO_H@
485
486// Define to 1 if you have the <sys/nvpair.h> header file
487#cmakedefine HAVE_SYS_NVPAIR_H @HAVE_SYS_NVPAIR_H@
488
489// Define to 1 if you have the <sys/poll.h> header file
490#cmakedefine HAVE_SYS_POLL_H @HAVE_SYS_POLL_H@
491
492// Define to 1 if you have the <sys/prctl.h> header file
493#cmakedefine HAVE_SYS_PRCTL_H @HAVE_SYS_PRCTL_H@
494
495// Define to 1 if you have the <sys/proplist.h> header file
496#cmakedefine HAVE_SYS_PROPLIST_H @HAVE_SYS_PROPLIST_H@
497
498// Define to 1 if you have the <sys/statvfs.h> header file
499#cmakedefine HAVE_SYS_STATVFS_H @HAVE_SYS_STATVFS_H@
500
501// Define to 1 if you have the <sys/tape.h> header file
502#cmakedefine HAVE_SYS_TAPE_H @HAVE_SYS_TAPE_H@
503
504// Define to 1 if you have the <sys/time.h> header file
505#cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
506
507// Define to 1 if you have the <sys/xattr.h> header file
508#cmakedefine HAVE_SYS_XATTR_H @HAVE_SYS_XATTR_H@
509
510// Define to 1 if TLS support should be enabled
511#cmakedefine HAVE_TLS @HAVE_TLS@
512
513// Define to 1 if compiler has typeof
514#cmakedefine HAVE_TYPEOF @HAVE_TYPEOF@
515
516// Define to 1 if you have the <ucontext.h> header file
517#cmakedefine HAVE_UCONTEXT_H @HAVE_UCONTEXT_H@
518
519// Define to 1 if you have the <umem.h> header file
520#cmakedefine HAVE_UMEM_H @HAVE_UMEM_H@
521
522// Define to 1 if you have the `unlinkat' function
523#cmakedefine HAVE_UNLINKAT @HAVE_UNLINKAT@
524
525// Define to 1 if you have the `utimes' function
526#cmakedefine HAVE_UTIMES @HAVE_UTIMES@
527
528// Extended Attributes support
529#cmakedefine HAVE_XATTR @HAVE_XATTR@
530
531// Define to 1 if you have the <zlib.h> header file
532#cmakedefine HAVE_ZLIB_H @HAVE_ZLIB_H@
533
534// Where are shared libs stored
535#cmakedefine LIBDIR @LIBDIR@
536
537// Where are locale files stored
538#cmakedefine LOCALEDIR @LOCALEDIR@
539
540// Define to the full name of this package
541#cmakedefine PACKAGE_NAME @PACKAGE_NAME@
542
543// Where are system config files stored
544#cmakedefine SYSCONFDIR @SYSCONFDIR@
545
546// Define to 1 if you can safely include both <sys/time.h> and <time.h>
547#cmakedefine TIME_WITH_SYS_TIME @TIME_WITH_SYS_TIME@
548
549// Define to 1 if DB batch insert code enabled
550#cmakedefine USE_BATCH_FILE_INSERT @USE_BATCH_FILE_INSERT@
551
552// Number of bits in a file offset, on hosts where this is settable
553#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
554
555// Define to make fseeko etc. visible, on some hosts
556#cmakedefine _LARGEFILE_SOURCE @_LARGEFILE_SOURCE@
557
558// Define for large files, on AIX-style hosts
559#cmakedefine _LARGE_FILES @_LARGE_FILES@
560
561// Directory for backend files
562#cmakedefine PATH_BAREOS_BACKENDDIR @PATH_BAREOS_BACKENDDIR@
563
564// Directory for PID files
565#cmakedefine PATH_BAREOS_PIDDIR @PATH_BAREOS_PIDDIR@
566
567// Directory for daemon files
568#cmakedefine PATH_BAREOS_WORKINGDIR @PATH_BAREOS_WORKINGDIR@
569
570#define PLATFORM "@PLATFORM@"
571#define DISTVER "@DISTVER@"
572
573#endif /* defined(WIN32) */
574// clang-format on
575
576#endif /* BAREOS_INCLUDE_CONFIG_H_ */
577