TDB2: make SAMBA use tdb1 again for the moment.
[kai/samba-autobuild/.git] / tests / summary.c
1 #include <stdio.h>
2
3 void exit(int);
4
5 main()
6 {
7 #if !defined(HAVE_FCNTL_LOCK)
8         printf("ERROR: No locking available. Running Samba would be unsafe\n");
9         exit(1);
10 #endif
11
12 #if !(defined(HAVE_IFACE_GETIFADDRS) || defined(HAVE_IFACE_IFCONF) || defined(HAVE_IFACE_IFREQ) || defined(HAVE_IFACE_AIX))
13         printf("WARNING: No automated network interface determination\n");
14 #endif
15
16 #if !(defined(USE_SETEUID) || defined(USE_SETREUID) || defined(USE_SETRESUID) || defined(USE_SETUIDX))
17         printf("ERROR: no seteuid method available\n");
18         exit(1);
19 #endif
20
21 #if !(defined(STAT_STATVFS) || defined(STAT_STATFS3_OSF1) || defined(STAT_STATFS2_BSIZE) || defined(STAT_STATFS4) || defined(STAT_STATFS2_FSIZE) || defined(STAT_STATFS2_FS_DATA))
22         printf("ERROR: No disk free routine!\n");
23         exit(1);
24 #endif
25
26 #if !((defined(HAVE_RANDOM) || defined(HAVE_RAND)) && (defined(HAVE_SRANDOM) || defined(HAVE_SRAND)))
27     printf("ERROR: No random or srandom routine!\n");
28     exit(1);
29 #endif
30
31         exit(0);
32 }