xref: /NextBSD/lib/libosxsupport/config.h (revision 33da5adc555b3bc29986eeadca03829e4ad06b1e)
1 #ifndef __CONFIG_H__
2 #define __CONFIG_H__
3 
4 #include <TargetConditionals.h>
5 
6 #if __has_include(<quarantine.h>)
7 #define HAVE_QUARANTINE 1
8 #else
9 #define HAVE_QUARANTINE 0
10 #endif
11 
12 #if __has_include(<responsibility.h>)
13 #define HAVE_RESPONSIBILITY 1
14 #else
15 #define HAVE_RESPONSIBILITY 0
16 #endif
17 
18 #if __has_include(<sandbox.h>)
19 #define HAVE_SANDBOX 1
20 #else
21 #define HAVE_SANDBOX 0
22 #endif
23 
24 #define HAVE_LIBAUDITD !TARGET_OS_EMBEDDED
25 
26 #if !TARGET_OS_EMBEDDED && __has_include(<systemstats/systemstats.h>)
27 #define HAVE_SYSTEMSTATS 1
28 #else
29 #define HAVE_SYSTEMSTATS 0
30 #endif
31 
32 #endif /* __CONFIG_H__ */
33