Last change
on this file since 429 was 414, checked in by Herwig Bauernfeind, 15 years ago |
Samba 3.5.0: Initial import
|
File size:
1007 bytes
|
Line | |
---|
1 | #include <stdio.h>
|
---|
2 |
|
---|
3 | void exit(int);
|
---|
4 |
|
---|
5 | main()
|
---|
6 | {
|
---|
7 | exit (0);
|
---|
8 | #if !(defined(HAVE_FCNTL_LOCK) || defined(HAVE_STRUCT_FLOCK64))
|
---|
9 | printf("ERROR: No locking available. Running Samba would be unsafe\n");
|
---|
10 | exit(1);
|
---|
11 | #endif
|
---|
12 |
|
---|
13 | #if !(defined(HAVE_IFACE_IFCONF) || defined(HAVE_IFACE_IFREQ) || defined(HAVE_IFACE_AIX))
|
---|
14 | printf("WARNING: No automated network interface determination\n");
|
---|
15 | #endif
|
---|
16 |
|
---|
17 | #if !(defined(USE_SETEUID) || defined(USE_SETREUID) || defined(USE_SETRESUID) || defined(USE_SETUIDX))
|
---|
18 | printf("ERROR: no seteuid method available\n");
|
---|
19 | exit(1);
|
---|
20 | #endif
|
---|
21 |
|
---|
22 | #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))
|
---|
23 | printf("ERROR: No disk free routine!\n");
|
---|
24 | exit(1);
|
---|
25 | #endif
|
---|
26 |
|
---|
27 | #if !((defined(HAVE_RANDOM) || defined(HAVE_RAND)) && (defined(HAVE_SRANDOM) || defined(HAVE_SRAND)))
|
---|
28 | printf("ERROR: No random or srandom routine!\n");
|
---|
29 | exit(1);
|
---|
30 | #endif
|
---|
31 |
|
---|
32 | exit(0);
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.