netatalk  4.4.0dev
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1/* Define if building universal (internal helper macro) */
2/* #undef AC_APPLE_UNIVERSAL_BUILD */
3
4/* BSD compatiblity macro */
5/* #undef BSD4_4 */
6
7/* Define if CNID Database Daemon backend should be compiled. */
8/* #undef CNID_BACKEND_DBD */
9
10/* Define if CNID LAST scheme backend should be compiled. */
11#define CNID_BACKEND_LAST 1
12
13/* whether the MySQL CNID module is available */
14#define CNID_BACKEND_MYSQL 1
15
16/* whether the SQLite CNID module is available */
17#define CNID_BACKEND_SQLITE 1
18
19/* CUPS API Version */
20/* #undef CUPS_API_VERSION */
21
22/* Path to dbus-daemon */
23#define DBUS_DAEMON_PATH "/opt/homebrew/bin/dbus-daemon"
24
25/* Define if verbose debugging information should be included */
26#define DEBUG 1
27
28/* Define if you want to disable SIGALRM timers and DSI tickles */
29/* #undef DEBUGGING */
30
31/* Default CNID scheme to be used */
32#define DEFAULT_CNID_SCHEME "sqlite"
33
34/* Available Extended Attributes modules */
35#define EA_MODULES "ad | sys"
36
37/* Define if OS is FreeBSD */
38/* #undef FREEBSD */
39
40/* Whether ACLs support is available */
41/* #undef HAVE_ACLS */
42
43/* Whether acl_from_mode() is available */
44/* #undef HAVE_ACL_FROM_MODE */
45
46/* Whether acl_get_perm_np() is available */
47/* #undef HAVE_ACL_GET_PERM_NP */
48
49/* Define to 1 if you have the <acl/libacl.h> header file. */
50/* #undef HAVE_ACL_LIBACL_H */
51
52/* Define to 1 if you have the `asprintf' function. */
53#define HAVE_ASPRINTF 1
54
55/* set if struct at_addr is called atalk_addr */
56/* #undef HAVE_ATALK_ADDR */
57
58/* Define to 1 if you have the <attr/xattr.h> header file. */
59/* #undef HAVE_ATTR_XATTR_H */
60
61/* Use Avahi/DNS-SD registration */
62/* #undef HAVE_AVAHI */
63
64/* Define to 1 if you have the `backtrace_symbols' function. */
65#define HAVE_BACKTRACE_SYMBOLS 1
66
67/* Define to 1 if dbtob implementation is broken. */
68#define HAVE_BROKEN_DBTOB 1
69
70/* Define to 1 if you have the `crypt_checkpass' function. */
71/* #undef HAVE_CRYPT_CHECKPASS */
72
73/* Define to 1 if you have the <crypt.h> header file. */
74/* #undef HAVE_CRYPT_H */
75
76/* Define to enable CUPS Support */
77/* #undef HAVE_CUPS */
78
79/* Define if support for dbus-glib was found */
80#define HAVE_DBUS_GLIB 1
81
82/* Define to 1 if you have the `dirfd' function. */
83#define HAVE_DIRFD 1
84
85/* Define to 1 if you have the <dlfcn.h> header file. */
86#define HAVE_DLFCN_H 1
87
88/* extattr API has full fledged fds for EAs */
89#define HAVE_EAFD 1
90
91/* Define to 1 if you have the `extattr_delete_file' function. */
92/* #undef HAVE_EXTATTR_DELETE_FILE */
93
94/* Define to 1 if you have the `extattr_delete_link' function. */
95/* #undef HAVE_EXTATTR_DELETE_LINK */
96
97/* Define to 1 if you have the `extattr_get_fd' function. */
98/* #undef HAVE_EXTATTR_GET_FD */
99
100/* Define to 1 if you have the `extattr_get_file' function. */
101/* #undef HAVE_EXTATTR_GET_FILE */
102
103/* Define to 1 if you have the `extattr_get_link' function. */
104/* #undef HAVE_EXTATTR_GET_LINK */
105
106/* Define to 1 if you have the `extattr_list_fd' function. */
107/* #undef HAVE_EXTATTR_LIST_FD */
108
109/* Define to 1 if you have the `extattr_list_file' function. */
110/* #undef HAVE_EXTATTR_LIST_FILE */
111
112/* Define to 1 if you have the `extattr_list_link' function. */
113/* #undef HAVE_EXTATTR_LIST_LINK */
114
115/* Define to 1 if you have the `extattr_set_fd' function. */
116/* #undef HAVE_EXTATTR_SET_FD */
117
118/* Define to 1 if you have the `extattr_set_file' function. */
119/* #undef HAVE_EXTATTR_SET_FILE */
120
121/* Define to 1 if you have the `extattr_set_link' function. */
122/* #undef HAVE_EXTATTR_SET_LINK */
123
124/* Define to 1 if you have the `fgetea' function. */
125/* #undef HAVE_FGETEA */
126
127/* Define to 1 if you have the `fgetxattr' function. */
128#define HAVE_FGETXATTR 1
129
130/* Whether FreeBSD ZFS ACLs with libsunacl are available */
131/* #undef HAVE_FREEBSD_SUNACL */
132
133/* Define to 1 if you have the `fsetea' function. */
134/* #undef HAVE_FSETEA */
135
136/* Define to 1 if you have the `fsetxattr' function. */
137#define HAVE_FSETXATTR 1
138
139/* Define to 1 if the system has the type `fshare_t'. */
140/* #undef HAVE_FSHARE_T */
141
142/* Define to 1 if you have the `getea' function. */
143/* #undef HAVE_GETEA */
144
145/* Define to 1 if you have the `getifaddrs' function. */
146#define HAVE_GETIFADDRS 1
147
148/* Define to 1 if you have the `getpwnam_shadow' function. */
149/* #undef HAVE_GETPWNAM_SHADOW */
150
151/* Define to 1 if you have the `getxattr' function. */
152#define HAVE_GETXATTR 1
153
154/* Whether to enable GSSAPI support */
155#define HAVE_GSSAPI 1
156
157/* Define to 1 if you have the <gssapi/gssapi.h> header file. */
158#define HAVE_GSSAPI_GSSAPI_H 1
159
160/* Define to 1 if you have the <gssapi.h> header file. */
161#define HAVE_GSSAPI_H 1
162
163/* Define to 1 if you have the <iniparser/iniparser.h> header file. */
164/* #undef HAVE_INIPARSER_INIPARSER_H */
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/* #undef HAVE_KRB5_KT_FREE_ENTRY */
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/* #undef HAVE_LGETXATTR */
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/* Define to 1 if you have the `listea' function. */
206/* #undef HAVE_LISTEA */
207
208/* Define to 1 if you have the `listxattr' function. */
209#define HAVE_LISTXATTR 1
210
211/* Define to 1 if you have the `llistea' function. */
212/* #undef HAVE_LLISTEA */
213
214/* Define to 1 if you have the `llistxattr' function. */
215/* #undef HAVE_LLISTXATTR */
216
217/* Define to 1 if you have the <locale.h> header file. */
218#define HAVE_LOCALE_H 1
219
220/* Define to 1 if you have the `lremoveea' function. */
221/* #undef HAVE_LREMOVEEA */
222
223/* Define to 1 if you have the `lremovexattr' function. */
224/* #undef HAVE_LREMOVEXATTR */
225
226/* Define to 1 if you have the `lsetxattr' function. */
227/* #undef HAVE_LSETXATTR */
228
229/* Use mDNSRespnder/DNS-SD registration */
230#define HAVE_MDNS 1
231
232/* Define to 1 if you have the `mempcpy' function. */
233/* #undef HAVE_MEMPCPY */
234
235/* Define to 1 if you have the <mntent.h> header file. */
236/* #undef HAVE_MNTENT_H */
237
238/* Whether NFSv4 ACLs are available */
239/* #undef HAVE_NFSV4_ACLS */
240
241/* Whether the PAM header has a pam_conv struct with const pam_message member. */
242#define HAVE_PAM_CONV_CONST_PAM_MESSAGE 1
243
244/* Define to 1 if you have the <pam/pam_appl.h> header file. */
245/* #undef HAVE_PAM_PAM_APPL_H */
246
247/* Whether POSIX ACLs are available */
248/* #undef HAVE_POSIX_ACLS */
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/* #undef HAVE_RQUOTA_H_QR_STATUS */
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/* #undef HAVE_SPLICE */
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 `tm_gmtoff' is a member of `struct tm'. */
302#define HAVE_STRUCT_TM_TM_GMTOFF 1
303
304/* Define to 1 if you have the <sys/attr.h> header file. */
305#define HAVE_SYS_ATTR_H 1
306
307/* Define to 1 if you have the <sys/ea.h> header file. */
308/* #undef HAVE_SYS_EA_H */
309
310/* Define to 1 if you have the <sys/extattr.h> header file. */
311/* #undef HAVE_SYS_EXTATTR_H */
312
313/* Define to 1 if you have the <sys/mnttab.h> header file. */
314/* #undef HAVE_SYS_MNTTAB_H */
315
316/* Define to 1 if you have the <sys/mount.h> header file. */
317#define HAVE_SYS_MOUNT_H 1
318
319/* Define to 1 if you have the <sys/sysinfo.h> header file. */
320/* #undef HAVE_SYS_SYSINFO_H */
321
322/* Define to 1 if you have the <sys/vfs.h> header file. */
323/* #undef HAVE_SYS_VFS_H */
324
325/* Define to 1 if you have the <sys/xattr.h> header file. */
326#define HAVE_SYS_XATTR_H 1
327
328/* Define if Tracker3 is used */
329/* #undef HAVE_TRACKER3 */
330
331/* Whether UCS-2-INTERNAL is supported */
332/* #undef HAVE_UCS2INTERNAL */
333
334/* Define to 1 if you have the <ufs/quota.h> header file. */
335/* #undef HAVE_UFS_QUOTA_H */
336
337/* Whether to use native iconv */
338#define HAVE_USABLE_ICONV 1
339
340/* Define to 1 if you have the `vasprintf' function. */
341#define HAVE_VASPRINTF 1
342
343/* Define as const if the declaration of iconv() needs const. */
344#define ICONV_CONST
345
346/* OS is Linux */
347/* #undef LINUX */
348
349/* Disable assertions */
350/* #undef NDEBUG */
351
352/* Define various xdr functions */
353/* #undef NEED_RQUOTA */
354
355/* Define if OS is NetBSD */
356/* #undef NETBSD */
357
358/* Define if DDP should be disabled */
359#define NO_DDP 1
360
361/* Define if Quota support should be disabled */
362/* #undef NO_QUOTA_SUPPORT */
363
364/* errno returned by open with O_NOFOLLOW */
365#define OPEN_NOFOLLOW_ERRNO ELOOP
366
367/* atalkd lockfile path */
368#define PATH_ATALKD_LOCK "/var/run/atalkd.pid"
369
370/* netatalk lockfile path */
371#define PATH_NETATALK_LOCK "/var/run/netatalk.pid"
372
373/* papd lockfile path */
374#define PATH_PAPD_LOCK "/var/run/papd.pid"
375
376/* Whether the realpath function allows NULL */
377#define REALPATH_TAKES_NULL 1
378
379/* Define if the sendfile() function uses BSD semantics */
380/* #undef SENDFILE_FLAVOR_FREEBSD */
381
382/* Whether linux sendfile() API is available */
383/* #undef SENDFILE_FLAVOR_LINUX */
384
385/* Solaris sendfile() */
386/* #undef SENDFILE_FLAVOR_SOLARIS */
387
388/* Define if shadow passwords should be used */
389/* #undef SHADOWPW */
390
391/* Solaris compatibility macro */
392/* #undef SOLARIS */
393
394/* Define if TCP wrappers should be used */
395/* #undef TCPWRAP */
396
397/* Indexer managing command */
398/* #undef INDEXER_COMMAND */
399
400/* Indexer D-Bus name */
401/* #undef INDEXER_DBUS_NAME */
402
403/* Define if cracklib should be used */
404/* #undef USE_CRACKLIB */
405
406/* Define to enable Zeroconf support */
407#define USE_ZEROCONF 1
408
409/* Version number of package */
410/* #undef VERSION */
411
412/* dtrace probes */
413#define WITH_DTRACE 1
414
415/* Whether recvfile should be used */
416/* #undef WITH_RECVFILE */
417
418/* Whether sendfile() should be used */
419/* #undef WITH_SENDFILE */
420
421/* Define whether to enable Spotlight support */
422/* #undef WITH_SPOTLIGHT */
423
424/* Define when the test suite should be executed */
425/* #undef WITH_TESTS */
426
427/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
428 significant byte first (like Motorola and SPARC, unlike Intel). */
429#if defined AC_APPLE_UNIVERSAL_BUILD
430# if defined __BIG_ENDIAN__
431# define WORDS_BIGENDIAN 1
432# endif
433#else
434# ifndef WORDS_BIGENDIAN
435# undef WORDS_BIGENDIAN
436# endif
437#endif
438
439/* xattr functions have additional options */
440#define XATTR_ADD_OPT 1
441
442/* _FILE_OFFSET_BITS (for LARGEFILE support) */
443#define _FILE_OFFSET_BITS 64
444
445/* Whether to use GNU libc extensions */
446/* #undef _GNU_SOURCE */
447
448/* Compatibility macro */
449/* #undef _ISOC9X_SOURCE */
450
451/* path to cracklib dictionary */
452/* #undef _PATH_CRACKLIB */
453
454/* Solaris compilation environment */
455/* #undef _XOPEN_SOURCE */
456
457/* Solaris compilation environment */
458/* #undef __EXTENSIONS__ */
459
460/* Solaris compatibility macro */
461/* #undef __svr4__ */
462
463/* Define to `__inline__' or `__inline' if that's what the C compiler
464 calls it, or to nothing if 'inline' is not supported under any name. */
465#ifndef __cplusplus
466/* #undef inline */
467#endif