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
RevLine 
[414]1#include <stdio.h>
2
3void exit(int);
4
[988]5int main()
[414]6{
[988]7#if !defined(HAVE_FCNTL_LOCK)
8#error "ERROR: No locking available. Running Samba would be unsafe"
[414]9#endif
10
[988]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"
[414]13#endif
14
[988]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"
[414]17#endif
18
[988]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!"
[414]21#endif
22
23#if !((defined(HAVE_RANDOM) || defined(HAVE_RAND)) && (defined(HAVE_SRANDOM) || defined(HAVE_SRAND)))
[988]24#error "ERROR: No random or srandom routine!"
[414]25#endif
26
27 exit(0);
28}
Note: See TracBrowser for help on using the repository browser.