auth-kerberos: avoid crash with MIT krb5 1.10.0 in gss_get_name_attribute()
[Samba.git] / tests / summary.c
bloba019fbfb2e0e84223fa5231a5e27a4c390373d4a
1 #include <stdio.h>
3 void exit(int);
5 main()
7 #if !defined(HAVE_FCNTL_LOCK)
8 printf("ERROR: No locking available. Running Samba would be unsafe\n");
9 exit(1);
10 #endif
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
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
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
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
31 exit(0);