netatalk  4.6.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1/* BSD compatiblity macro */
2/* #undef BSD4_4 */
3
4/* Define if CNID Database Daemon backend should be compiled. */
5#define CNID_BACKEND_DBD 1
6
7/* whether the MySQL CNID module is available */
8#define CNID_BACKEND_MYSQL 1
9
10/* whether the SQLite CNID module is available */
11#define CNID_BACKEND_SQLITE 1
12
13/* CUPS API Version */
14/* #undef CUPS_API_VERSION */
15
16/* Path to dbus-daemon */
17#define DBUS_DAEMON_PATH "/usr/bin/dbus-daemon"
18
19/* Build type string (release, debugoptimized, debug, etc.) */
20#define BUILD_TYPE "release"
21
22/* Define if verbose debugging information should be included */
23#define DEBUG 1
24
25/* Define if you want to disable SIGALRM timers and DSI tickles */
26/* #undef DEBUGGING */
27
28/* Default CNID scheme to be used */
29#define DEFAULT_CNID_SCHEME "sqlite"
30
31/* Available Extended Attributes modules */
32#define EA_MODULES "ad | sys"
33
34/* Define if OS is FreeBSD */
35/* #undef FREEBSD */
36
37/* Whether ACLs support is available */
38#define HAVE_ACLS 1
39
40/* Whether acl_from_mode() is available */
41#define HAVE_ACL_FROM_MODE 1
42
43/* Whether acl_get_perm_np() is available */
44/* #undef HAVE_ACL_GET_PERM_NP */
45
46/* Define to 1 if you have the <acl/libacl.h> header file. */
47#define HAVE_ACL_LIBACL_H 1
48
49/* Define to 1 if you have the `asprintf' function. */
50#define HAVE_ASPRINTF 1
51
52/* set if struct at_addr is called atalk_addr */
53#define HAVE_ATALK_ADDR 1
54
55/* Define to 1 if you have the <attr/xattr.h> header file. */
56/* #undef HAVE_ATTR_XATTR_H */
57
58/* Use Avahi/DNS-SD registration */
59#define HAVE_AVAHI 1
60
61/* Define to 1 if you have the `backtrace_symbols' function. */
62#define HAVE_BACKTRACE_SYMBOLS 1
63
64/* Define to 1 if dbtob implementation is broken. */
65#define HAVE_BROKEN_DBTOB 1
66
67/* Define to 1 if you have the `crypt_checkpass' function. */
68/* #undef HAVE_CRYPT_CHECKPASS */
69
70/* Define to 1 if you have the <crypt.h> header file. */
71#define HAVE_CRYPT_H 1
72
73/* Define to enable CUPS Support */
74/* #undef HAVE_CUPS */
75
76/* Define to 1 if you have the `dirfd' function. */
77#define HAVE_DIRFD 1
78
79/* Define to 1 if you have the <dlfcn.h> header file. */
80#define HAVE_DLFCN_H 1
81
82/* extattr API has full fledged fds for EAs */
83/* #undef HAVE_EAFD */
84
85/* Define to 1 if you have the `extattr_delete_file' function. */
86/* #undef HAVE_EXTATTR_DELETE_FILE */
87
88/* Define to 1 if you have the `extattr_delete_link' function. */
89/* #undef HAVE_EXTATTR_DELETE_LINK */
90
91/* Define to 1 if you have the `extattr_get_fd' function. */
92/* #undef HAVE_EXTATTR_GET_FD */
93
94/* Define to 1 if you have the `extattr_get_file' function. */
95/* #undef HAVE_EXTATTR_GET_FILE */
96
97/* Define to 1 if you have the `extattr_get_link' function. */
98/* #undef HAVE_EXTATTR_GET_LINK */
99
100/* Define to 1 if you have the `extattr_list_fd' function. */
101/* #undef HAVE_EXTATTR_LIST_FD */
102
103/* Define to 1 if you have the `extattr_list_file' function. */
104/* #undef HAVE_EXTATTR_LIST_FILE */
105
106/* Define to 1 if you have the `extattr_list_link' function. */
107/* #undef HAVE_EXTATTR_LIST_LINK */
108
109/* Define to 1 if you have the `extattr_set_fd' function. */
110/* #undef HAVE_EXTATTR_SET_FD */
111
112/* Define to 1 if you have the `extattr_set_file' function. */
113/* #undef HAVE_EXTATTR_SET_FILE */
114
115/* Define to 1 if you have the `extattr_set_link' function. */
116/* #undef HAVE_EXTATTR_SET_LINK */
117
118/* Define to 1 if you have the `fgetea' function. */
119/* #undef HAVE_FGETEA */
120
121/* Define to 1 if you have the `fgetxattr' function. */
122#define HAVE_FGETXATTR 1
123
124/* Whether FreeBSD ZFS ACLs with libsunacl are available */
125/* #undef HAVE_FREEBSD_SUNACL */
126
127/* Define to 1 if you have the `fsetea' function. */
128/* #undef HAVE_FSETEA */
129
130/* Define to 1 if you have the `fsetxattr' function. */
131#define HAVE_FSETXATTR 1
132
133/* Define to 1 if the system has the type `fshare_t'. */
134/* #undef HAVE_FSHARE_T */
135
136/* Define to 1 if you have the `getea' function. */
137/* #undef HAVE_GETEA */
138
139/* Define to 1 if you have the `getifaddrs' function. */
140#define HAVE_GETIFADDRS 1
141
142/* Define to 1 if you have the `getpwnam_shadow' function. */
143/* #undef HAVE_GETPWNAM_SHADOW */
144
145/* Define to 1 if you have the `getxattr' function. */
146#define HAVE_GETXATTR 1
147
148/* Whether to enable GSSAPI support */
149#define HAVE_GSSAPI 1
150
151/* Define to 1 if you have the <gssapi/gssapi.h> header file. */
152#define HAVE_GSSAPI_GSSAPI_H 1
153
154/* Define to 1 if you have the <gssapi.h> header file. */
155#define HAVE_GSSAPI_H 1
156
157/* Define to 1 if you have the <iniparser/iniparser.h> header file. */
158#define HAVE_INIPARSER_INIPARSER_H 1
159
160/* Define to 1 if iniparser functions accept const dictionary pointers. */
161#define HAVE_INIPARSER_CONST_DICTIONARY 1
162
163/* Whether iniparser can parse an already-open stream */
164/* #undef HAVE_INIPARSER_LOAD_FILE */
165
166/* Define if Kerberos 5 is available */
167#define HAVE_KERBEROS 1
168
169/* Define to 1 if you have the `krb5_free_error_message' function. */
170#define HAVE_KRB5_FREE_ERROR_MESSAGE 1
171
172/* Define to 1 if you have the `krb5_free_keytab_entry_contents' function. */
173#define HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTENTS 1
174
175/* Define to 1 if you have the `krb5_free_unparsed_name' function. */
176#define HAVE_KRB5_FREE_UNPARSED_NAME 1
177
178/* Define to 1 if you have the <krb5.h> header file. */
179#define HAVE_KRB5_H 1
180
181/* Define to 1 if you have the <krb5/krb5.h> header file. */
182/* #undef HAVE_KRB5_KRB5_H */
183
184/* Define to 1 if you have the `krb5_kt_free_entry' function. */
185#define HAVE_KRB5_KT_FREE_ENTRY 1
186
187/* Define to 1 if you have the <langinfo.h> header file. */
188#define HAVE_LANGINFO_H 1
189
190/* Whether LDAP is available */
191#define HAVE_LDAP 1
192
193/* Define to 1 if you have the `lgetea' function. */
194/* #undef HAVE_LGETEA */
195
196/* Define to 1 if you have the `lgetxattr' function. */
197#define HAVE_LGETXATTR 1
198
199/* define if you have the `bgets` function. */
200#undef HAVE_BGETS
201
202/* define if you have libquota */
203/* #undef HAVE_LIBQUOTA */
204
205/* Whether libunwind is available for backtraces */
206#define HAVE_LIBUNWIND 1
207
208/* Define to 1 if you have the `listea' function. */
209/* #undef HAVE_LISTEA */
210
211/* Define to 1 if you have the `listxattr' function. */
212#define HAVE_LISTXATTR 1
213
214/* Define to 1 if you have the `llistea' function. */
215/* #undef HAVE_LLISTEA */
216
217/* Define to 1 if you have the `llistxattr' function. */
218#define HAVE_LLISTXATTR 1
219
220/* Define to 1 if you have the <locale.h> header file. */
221#define HAVE_LOCALE_H 1
222
223/* Define to 1 if you have the `lremoveea' function. */
224/* #undef HAVE_LREMOVEEA */
225
226/* Define to 1 if you have the `lremovexattr' function. */
227#define HAVE_LREMOVEXATTR 1
228
229/* Define to 1 if you have the `lsetxattr' function. */
230#define HAVE_LSETXATTR 1
231
232/* Use mDNSRespnder/DNS-SD registration */
233/* #undef HAVE_MDNS */
234
235/* Define to 1 if you have the `mempcpy' function. */
236/* #undef HAVE_MEMPCPY */
237
238/* Define to 1 if you have the <mntent.h> header file. */
239#define HAVE_MNTENT_H 1
240
241/* Whether NFSv4 ACLs are available */
242/* #undef HAVE_NFSV4_ACLS */
243
244/* Whether the PAM header has a pam_conv struct with const pam_message member. */
245#define HAVE_PAM_CONV_CONST_PAM_MESSAGE 1
246
247/* Define to 1 if you have the <pam/pam_appl.h> header file. */
248/* #undef HAVE_PAM_PAM_APPL_H */
249
250/* Whether POSIX ACLs are available */
251#define HAVE_POSIX_ACLS 1
252
253/* Define to 1 if you have the `pthread_condattr_setclock' function. */
254/* #undef HAVE_PTHREAD_CONDATTR_SETCLOCK */
255
256/* Define to 1 if you have the `pread' function. */
257#define HAVE_PREAD 1
258
259/* Define to 1 if you have the `pselect' function. */
260#define HAVE_PSELECT 1
261
262/* Define to 1 if you have the `pwrite' function. */
263#define HAVE_PWRITE 1
264
265/* Define to 1 if you have the `removeea' function. */
266/* #undef HAVE_REMOVEEA */
267
268/* Define to 1 if you have the `removexattr' function. */
269#define HAVE_REMOVEXATTR 1
270
271/* Define to 1 if the <rpcsvc/rquota.h> header file has a qr_status member. */
272#define HAVE_RQUOTA_H_QR_STATUS 1
273
274/* Define to 1 if you have the `rresvport' function. */
275#define HAVE_RRESVPORT 1
276
277/* Define to 1 if you have the <security/pam_appl.h> header file. */
278#define HAVE_SECURITY_PAM_APPL_H 1
279
280/* Define to 1 if you have the `sendfilev' function. */
281/* #undef HAVE_SENDFILEV */
282
283/* Define to 1 if you have the `setea' function. */
284/* #undef HAVE_SETEA */
285
286/* Define to 1 if you have the `setxattr' function. */
287#define HAVE_SETXATTR 1
288
289/* Define to 1 if you have the <sgtty.h> header file. */
290#define HAVE_SGTTY_H 1
291
292/* Define to 1 if you have the `sigaltstack' function. */
293#define HAVE_SIGALTSTACK 1
294
295/* Whether Solaris ACLs are available */
296/* #undef HAVE_SOLARIS_ACLS */
297
298/* Define to 1 if you have the `splice' function. */
299#define HAVE_SPLICE 1
300
301/* Define to 1 if you have the `strlcat' function. */
302#define HAVE_STRLCAT 1
303
304/* Define to 1 if you have the `strlcpy' function. */
305#define HAVE_STRLCPY 1
306
307/* Define to 1 if you have the `strnlen' function. */
308#define HAVE_STRNLEN 1
309
310/* Define to 1 if you have the <sys/attr.h> header file. */
311/* #undef HAVE_SYS_ATTR_H */
312
313/* Define to 1 if you have the <sys/ea.h> header file. */
314/* #undef HAVE_SYS_EA_H */
315
316/* Define to 1 if you have the <sys/extattr.h> header file. */
317/* #undef HAVE_SYS_EXTATTR_H */
318
319/* Define to 1 if you have the <sys/mnttab.h> header file. */
320/* #undef HAVE_SYS_MNTTAB_H */
321
322/* Define to 1 if you have the <sys/mount.h> header file. */
323#define HAVE_SYS_MOUNT_H 1
324
325/* Define to 1 if you have the <sys/sysinfo.h> header file. */
326#define HAVE_SYS_SYSINFO_H 1
327
328/* Define to 1 if you have the <sys/vfs.h> header file. */
329#define HAVE_SYS_VFS_H 1
330
331/* Define to 1 if you have the <sys/xattr.h> header file. */
332#define HAVE_SYS_XATTR_H 1
333
334/* Define to 1 if struct tcp_connection_info has tcpi_maxseg (macOS) */
335/* #undef HAVE_TCP_CONNECTION_INFO */
336
337/* Define to 1 if struct tcp_info has tcpi_snd_mss (Linux) */
338#define HAVE_TCP_INFO_SND_MSS 1
339
340/* Define if Tracker3 is used */
341/* #undef HAVE_TRACKER3 */
342
343/* Whether UCS-2-INTERNAL is supported */
344/* #undef HAVE_UCS2INTERNAL */
345
346/* Define to 1 if you have the <ufs/quota.h> header file. */
347/* #undef HAVE_UFS_QUOTA_H */
348
349/* Whether to use native iconv */
350#define HAVE_USABLE_ICONV 1
351
352/* Define to 1 if you have the `vasprintf' function. */
353#define HAVE_VASPRINTF 1
354
355/* Define as const if the declaration of iconv() needs const. */
356#define ICONV_CONST
357
358/* Indexer D-Bus name */
359/* #undef INDEXER_DBUS_NAME */
360
361/* dconf command with absolute path */
362/* #undef INDEXER_DCONF_COMMAND */
363
364/* Path to the compiled netatalk dconf database */
365#define INDEXER_DCONF_DB "/etc/dconf/db/netatalk"
366
367/* Directory for the netatalk dconf database keyfiles */
368#define INDEXER_DCONF_DB_DIR "/etc/dconf/db/netatalk.d"
369
370/* Indexer dconf keyfile path (schema with dots replaced by slashes, lowercased) */
371/* #undef INDEXER_DCONF_PATH */
372
373/* Path to the netatalk dconf profile file */
374#define INDEXER_DCONF_PROFILE "/etc/dconf/profile/netatalk"
375
376/* OS is Linux */
377#define LINUX 1
378
379/* Disable assertions */
380/* #undef NDEBUG */
381
382/* Define various xdr functions */
383#define NEED_RQUOTA 1
384
385/* Define if OS is NetBSD */
386/* #undef NETBSD */
387
388/* Define if DDP should be disabled */
389#define NO_DDP 1
390
391/* Define if Quota support should be disabled */
392/* #undef NO_QUOTA_SUPPORT */
393
394/* errno returned by open with O_NOFOLLOW */
395#define OPEN_NOFOLLOW_ERRNO ELOOP
396
397/* atalkd lockfile path */
398#define PATH_ATALKD_LOCK "/var/lock/atalkd"
399
400/* netatalk lockfile path */
401#define PATH_NETATALK_LOCK "/var/lock/netatalk"
402
403/* papd lockfile path */
404#define PATH_PAPD_LOCK "/var/lock/papd"
405
406/* Whether the realpath function allows NULL */
407/* #undef REALPATH_TAKES_NULL */
408
409/* Define if the sendfile() function uses BSD semantics */
410/* #undef SENDFILE_FLAVOR_FREEBSD */
411
412/* Whether linux sendfile() API is available */
413#define SENDFILE_FLAVOR_LINUX 1
414
415/* Solaris sendfile() */
416/* #undef SENDFILE_FLAVOR_SOLARIS */
417
418/* Define if shadow passwords should be used */
419#define SHADOWPW 1
420
421/* Solaris compatibility macro */
422/* #undef SOLARIS */
423
424/* Whether the CNID Spotlight search backend is supported */
425#define SPOTLIGHT_BACKEND_CNID 1
426
427/* Whether the LocalSearch Spotlight search backend is supported */
428/* #undef SPOTLIGHT_BACKEND_LOCALSEARCH */
429
430/* Whether the Xapian Spotlight search backend is supported */
431#define SPOTLIGHT_BACKEND_XAPIAN 1
432
433/* List of supported Spotlight search backends */
434#define SPOTLIGHT_BACKENDS "cnid | xapian"
435
436/* Define if TCP wrappers should be used */
437#define TCPWRAP 1
438
439/* Define if cracklib should be used */
440#define USE_CRACKLIB 1
441
442/* Define to enable Zeroconf support */
443#define USE_ZEROCONF 1
444
445/* Version number of package */
446/* #undef VERSION */
447
448/* dtrace probes */
449/* #undef WITH_DTRACE */
450
451/* Define whether to enable File Change Events support */
452#define WITH_FCE 1
453
454/* Whether recvfile should be used */
455#define WITH_RECVFILE 1
456
457/* Whether sendfile() should be used */
458#define WITH_SENDFILE 1
459
460/* Define whether to use libev instead of libevent */
461/* #undef WITH_LIBEV */
462
463/* Define whether to enable Spotlight support */
464#define WITH_SPOTLIGHT 1
465
466/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
467 significant byte first (like Motorola and SPARC, unlike Intel). */
468/* #undef WORDS_BIGENDIAN */
469
470/* xattr functions have additional options */
471/* #undef XATTR_ADD_OPT */
472
473/* _FILE_OFFSET_BITS (for LARGEFILE support) */
474#define _FILE_OFFSET_BITS 64
475
476/* Whether to use GNU libc extensions */
477/* #undef _GNU_SOURCE */
478
479/* Compatibility macro */
480/* #undef _ISOC9X_SOURCE */
481
482/* path to cracklib dictionary */
483#define _PATH_CRACKLIB "/usr/share/cracklib/pw_dict"
484
485/* Solaris compilation environment */
486/* #undef _XOPEN_SOURCE */
487
488/* Solaris compilation environment */
489/* #undef __EXTENSIONS__ */
490
491/* Solaris compatibility macro */
492/* #undef __svr4__ */
493
494/* Mark a declaration as intentionally unused when the compiler supports it. */
495#ifndef _U_
496#if defined(__has_attribute)
497#if __has_attribute(unused)
498#define _U_ __attribute__((unused))
499#else
500#define _U_
501#endif
502#elif defined(__GNUC__)
503#define _U_ __attribute__((unused))
504#else
505#define _U_
506#endif
507#endif
508
509/* Define to `__inline__' or `__inline' if that's what the C compiler
510 calls it, or to nothing if 'inline' is not supported under any name. */
511#ifndef __cplusplus
512/* #undef inline */
513#endif