source: vendor/current/tests/summary.c

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 942 bytes
Line 
1#include <stdio.h>
2
3void exit(int);
4
5int main()
6{
7#if !defined(HAVE_FCNTL_LOCK)
8#error "ERROR: No locking available. Running Samba would be unsafe"
9#endif
10
11#if !(defined(HAVE_IFACE_GETIFADDRS) || defined(HAVE_IFACE_IFCONF) || defined(HAVE_IFACE_IFREQ) || defined(HAVE_IFACE_AIX))
12#warning "WARNING: No automated network interface determination"
13#endif
14
15#if !(defined(USE_SETEUID) || defined(USE_SETREUID) || defined(USE_SETRESUID) || defined(USE_SETUIDX) || defined(USE_LINUX_THREAD_CREDENTIALS))
16#error "ERROR: no seteuid method available"
17#endif
18
19#if !(defined(STAT_STATVFS) || defined(STAT_STATFS3_OSF1) || defined(STAT_STATFS2_BSIZE) || defined(STAT_STATFS4) || defined(STAT_STATFS2_FSIZE) || defined(STAT_STATFS2_FS_DATA))
20#error "ERROR: No disk free routine!"
21#endif
22
23#if !((defined(HAVE_RANDOM) || defined(HAVE_RAND)) && (defined(HAVE_SRANDOM) || defined(HAVE_SRAND)))
24#error "ERROR: No random or srandom routine!"
25#endif
26
27 exit(0);
28}
Note: See TracBrowser for help on using the repository browser.