netatalk: config.h Source File

netatalk 4.5.1
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 "dbd"
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/* Define if Kerberos 5 is available */
164#define HAVE_KERBEROS 1
165
166/* Define to 1 if you have the `krb5_free_error_message' function. */
167#define HAVE_KRB5_FREE_ERROR_MESSAGE 1
168
169/* Define to 1 if you have the `krb5_free_keytab_entry_contents' function. */
170#define HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTENTS 1
171
172/* Define to 1 if you have the `krb5_free_unparsed_name' function. */
173#define HAVE_KRB5_FREE_UNPARSED_NAME 1
174
175/* Define to 1 if you have the <krb5.h> header file. */
176#define HAVE_KRB5_H 1
177
178/* Define to 1 if you have the <krb5/krb5.h> header file. */
179/* #undef HAVE_KRB5_KRB5_H */
180
181/* Define to 1 if you have the `krb5_kt_free_entry' function. */
182#define HAVE_KRB5_KT_FREE_ENTRY 1
183
184/* Define to 1 if you have the <langinfo.h> header file. */
185#define HAVE_LANGINFO_H 1
186
187/* Whether LDAP is available */
188#define HAVE_LDAP 1
189
190/* Define to 1 if you have the `lgetea' function. */
191/* #undef HAVE_LGETEA */
192
193/* Define to 1 if you have the `lgetxattr' function. */
194#define HAVE_LGETXATTR 1
195
196/* define if you have the `bgets` function. */
197#undef HAVE_BGETS
198
199/* define if you have libquota */
200/* #undef HAVE_LIBQUOTA */
201
202/* Define to 1 if you have the `listea' function. */
203/* #undef HAVE_LISTEA */
204
205/* Define to 1 if you have the `listxattr' function. */
206#define HAVE_LISTXATTR 1
207
208/* Define to 1 if you have the `llistea' function. */
209/* #undef HAVE_LLISTEA */
210
211/* Define to 1 if you have the `llistxattr' function. */
212#define HAVE_LLISTXATTR 1
213
214/* Define to 1 if you have the <locale.h> header file. */
215#define HAVE_LOCALE_H 1
216
217/* Define to 1 if you have the `lremoveea' function. */
218/* #undef HAVE_LREMOVEEA */
219
220/* Define to 1 if you have the `lremovexattr' function. */
221#define HAVE_LREMOVEXATTR 1
222
223/* Define to 1 if you have the `lsetxattr' function. */
224#define HAVE_LSETXATTR 1
225
226/* Use mDNSRespnder/DNS-SD registration */
227/* #undef HAVE_MDNS */
228
229/* Define to 1 if you have the `mempcpy' function. */
230/* #undef HAVE_MEMPCPY */
231
232/* Define to 1 if you have the <mntent.h> header file. */
233#define HAVE_MNTENT_H 1
234
235/* Whether NFSv4 ACLs are available */
236/* #undef HAVE_NFSV4_ACLS */
237
238/* Whether the PAM header has a pam_conv struct with const pam_message member. */
239#define HAVE_PAM_CONV_CONST_PAM_MESSAGE 1
240
241/* Define to 1 if you have the <pam/pam_appl.h> header file. */
242/* #undef HAVE_PAM_PAM_APPL_H */
243
244/* Whether POSIX ACLs are available */
245#define HAVE_POSIX_ACLS 1
246
247/* Define to 1 if you have the `pthread_condattr_setclock' function. */
248/* #undef HAVE_PTHREAD_CONDATTR_SETCLOCK */
249
250/* Define to 1 if you have the `pread' function. */
251#define HAVE_PREAD 1
252
253/* Define to 1 if you have the `pselect' function. */
254#define HAVE_PSELECT 1
255
256/* Define to 1 if you have the `pwrite' function. */
257#define HAVE_PWRITE 1
258
259/* Define to 1 if you have the `removeea' function. */
260/* #undef HAVE_REMOVEEA */
261
262/* Define to 1 if you have the `removexattr' function. */
263#define HAVE_REMOVEXATTR 1
264
265/* Define to 1 if the <rpcsvc/rquota.h> header file has a qr_status member. */
266#define HAVE_RQUOTA_H_QR_STATUS 1
267
268/* Define to 1 if you have the `rresvport' function. */
269#define HAVE_RRESVPORT 1
270
271/* Define to 1 if you have the <security/pam_appl.h> header file. */
272#define HAVE_SECURITY_PAM_APPL_H 1
273
274/* Define to 1 if you have the `sendfilev' function. */
275/* #undef HAVE_SENDFILEV */
276
277/* Define to 1 if you have the `setea' function. */
278/* #undef HAVE_SETEA */
279
280/* Define to 1 if you have the `setxattr' function. */
281#define HAVE_SETXATTR 1
282
283/* Define to 1 if you have the <sgtty.h> header file. */
284#define HAVE_SGTTY_H 1
285
286/* Whether Solaris ACLs are available */
287/* #undef HAVE_SOLARIS_ACLS */
288
289/* Define to 1 if you have the `splice' function. */
290#define HAVE_SPLICE 1
291
292/* Define to 1 if you have the `strlcat' function. */
293#define HAVE_STRLCAT 1
294
295/* Define to 1 if you have the `strlcpy' function. */
296#define HAVE_STRLCPY 1
297
298/* Define to 1 if you have the `strnlen' function. */
299#define HAVE_STRNLEN 1
300
301/* Define to 1 if you have the <sys/attr.h> header file. */
302/* #undef HAVE_SYS_ATTR_H */
303
304/* Define to 1 if you have the <sys/ea.h> header file. */
305/* #undef HAVE_SYS_EA_H */
306
307/* Define to 1 if you have the <sys/extattr.h> header file. */
308/* #undef HAVE_SYS_EXTATTR_H */
309
310/* Define to 1 if you have the <sys/mnttab.h> header file. */
311/* #undef HAVE_SYS_MNTTAB_H */
312
313/* Define to 1 if you have the <sys/mount.h> header file. */
314#define HAVE_SYS_MOUNT_H 1
315
316/* Define to 1 if you have the <sys/sysinfo.h> header file. */
317#define HAVE_SYS_SYSINFO_H 1
318
319/* Define to 1 if you have the <sys/vfs.h> header file. */
320#define HAVE_SYS_VFS_H 1
321
322/* Define to 1 if you have the <sys/xattr.h> header file. */
323#define HAVE_SYS_XATTR_H 1
324
325/* Define if Tracker3 is used */
326/* #undef HAVE_TRACKER3 */
327
328/* Whether UCS-2-INTERNAL is supported */
329/* #undef HAVE_UCS2INTERNAL */
330
331/* Define to 1 if you have the <ufs/quota.h> header file. */
332/* #undef HAVE_UFS_QUOTA_H */
333
334/* Whether to use native iconv */
335#define HAVE_USABLE_ICONV 1
336
337/* Define to 1 if you have the `vasprintf' function. */
338#define HAVE_VASPRINTF 1
339
340/* Define as const if the declaration of iconv() needs const. */
341#define ICONV_CONST
342
343/* OS is Linux */
344#define LINUX 1
345
346/* Disable assertions */
347/* #undef NDEBUG */
348
349/* Define various xdr functions */
350#define NEED_RQUOTA 1
351
352/* Define if OS is NetBSD */
353/* #undef NETBSD */
354
355/* Define if DDP should be disabled */
356#define NO_DDP 1
357
358/* Define if Quota support should be disabled */
359/* #undef NO_QUOTA_SUPPORT */
360
361/* errno returned by open with O_NOFOLLOW */
362#define OPEN_NOFOLLOW_ERRNO ELOOP
363
364/* atalkd lockfile path */
365#define PATH_ATALKD_LOCK "/var/lock/atalkd"
366
367/* netatalk lockfile path */
368#define PATH_NETATALK_LOCK "/var/lock/netatalk"
369
370/* papd lockfile path */
371#define PATH_PAPD_LOCK "/var/lock/papd"
372
373/* Whether the realpath function allows NULL */
374/* #undef REALPATH_TAKES_NULL */
375
376/* Define if the sendfile() function uses BSD semantics */
377/* #undef SENDFILE_FLAVOR_FREEBSD */
378
379/* Whether linux sendfile() API is available */
380#define SENDFILE_FLAVOR_LINUX 1
381
382/* Solaris sendfile() */
383/* #undef SENDFILE_FLAVOR_SOLARIS */
384
385/* Define if shadow passwords should be used */
386#define SHADOWPW 1
387
388/* Solaris compatibility macro */
389/* #undef SOLARIS */
390
391/* Whether the CNID Spotlight search backend is supported */
392#define SPOTLIGHT_BACKEND_CNID 1
393
394/* Whether the LocalSearch Spotlight search backend is supported */
395/* #undef SPOTLIGHT_BACKEND_LOCALSEARCH */
396
397/* Whether the Xapian Spotlight search backend is supported */
398#define SPOTLIGHT_BACKEND_XAPIAN 1
399
400/* List of supported Spotlight search backends */
401#define SPOTLIGHT_BACKENDS "cnid | xapian"
402
403/* Define if TCP wrappers should be used */
404#define TCPWRAP 1
405
406/* Indexer D-Bus name */
407/* #undef INDEXER_DBUS_NAME */
408
409/* Indexer dconf keyfile path (schema with dots replaced by slashes, lowercased) */
410/* #undef INDEXER_DCONF_PATH */
411
412/* Directory for the netatalk dconf database keyfiles */
413#define INDEXER_DCONF_DB_DIR "/etc/dconf/db/netatalk.d"
414
415/* Path to the netatalk dconf profile file */
416#define INDEXER_DCONF_PROFILE "/etc/dconf/profile/netatalk"
417
418/* dconf update command with absolute path */
419/* #undef DCONF_UPDATE_COMMAND */
420
421/* Define if cracklib should be used */
422#define USE_CRACKLIB 1
423
424/* Define to enable Zeroconf support */
425#define USE_ZEROCONF 1
426
427/* Version number of package */
428/* #undef VERSION */
429
430/* dtrace probes */
431/* #undef WITH_DTRACE */
432
433/* Define whether to enable File Change Events support */
434#define WITH_FCE 1
435
436/* Whether recvfile should be used */
437#define WITH_RECVFILE 1
438
439/* Whether sendfile() should be used */
440#define WITH_SENDFILE 1
441
442/* Define whether to use libev instead of libevent */
443/* #undef WITH_LIBEV */
444
445/* Define whether to enable Spotlight support */
446#define WITH_SPOTLIGHT 1
447
448/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
449 significant byte first (like Motorola and SPARC, unlike Intel). */
450/* #undef WORDS_BIGENDIAN */
451
452/* xattr functions have additional options */
453/* #undef XATTR_ADD_OPT */
454
455/* _FILE_OFFSET_BITS (for LARGEFILE support) */
456#define _FILE_OFFSET_BITS 64
457
458/* Whether to use GNU libc extensions */
459#define _GNU_SOURCE 1
460
461/* Compatibility macro */
462/* #undef _ISOC9X_SOURCE */
463
464/* path to cracklib dictionary */
465#define _PATH_CRACKLIB "/usr/share/cracklib/pw_dict"
466
467/* Solaris compilation environment */
468/* #undef _XOPEN_SOURCE */
469
470/* Solaris compilation environment */
471/* #undef __EXTENSIONS__ */
472
473/* Solaris compatibility macro */
474/* #undef __svr4__ */
475
476/* Define to `__inline__' or `__inline' if that's what the C compiler
477 calls it, or to nothing if 'inline' is not supported under any name. */
478#ifndef __cplusplus
479/* #undef inline */
480#endif