s3: run "make samba3-idl"
[obnox/samba-ctdb.git] / source4 / build / tests / summary.c
1 #include <stdio.h>
2
3 void exit(int);
4
5 main()
6 {
7 #if !(defined(HAVE_IFACE_GETIFADDRS) || defined(HAVE_IFACE_IFCONF) || defined(HAVE_IFACE_IFREQ) || defined(HAVE_IFACE_AIX))
8         printf("WARNING: No automated network interface determination\n");
9 #endif
10
11 #if !(defined(STAT_STATVFS) || defined(STAT_STATVFS64) || defined(STAT_STATFS3_OSF1) || defined(STAT_STATFS2_BSIZE) || defined(STAT_STATFS4) || defined(STAT_STATFS2_FSIZE) || defined(STAT_STATFS2_FS_DATA))
12         printf("ERROR: No disk free routine!\n");
13         exit(1);
14 #endif
15
16 #if !((defined(HAVE_RANDOM) || defined(HAVE_RAND)) && (defined(HAVE_SRANDOM) || defined(HAVE_SRAND)))
17     printf("ERROR: No random or srandom routine!\n");
18     exit(1);
19 #endif
20
21         exit(0);
22 }