Last change
on this file was 206, checked in by Herwig Bauernfeind, 16 years ago |
Import Samba 3.3 branch at 3.0.0 level (psmedley's port)
|
File size:
1.0 KB
|
Rev | Line | |
---|
[206] | 1 | #include <stdio.h>
|
---|
| 2 |
|
---|
| 3 | main()
|
---|
| 4 | {
|
---|
| 5 | exit (0);
|
---|
| 6 | #if !(defined(HAVE_FCNTL_LOCK) || defined(HAVE_STRUCT_FLOCK64))
|
---|
| 7 | printf("ERROR: No locking available. Running Samba would be unsafe\n");
|
---|
| 8 | exit(1);
|
---|
| 9 | #endif
|
---|
| 10 | #if !(defined(HAVE_IFACE_IFCONF) || defined(HAVE_IFACE_IFREQ) || defined(HAVE_IFACE_AIX))
|
---|
| 11 | printf("WARNING: No automated network interface determination\n");
|
---|
| 12 | #endif
|
---|
| 13 |
|
---|
| 14 | #ifndef __OS2__
|
---|
| 15 | #if !(defined(USE_SETEUID) || defined(USE_SETREUID) || defined(USE_SETRESUID) || defined(USE_SETUIDX))
|
---|
| 16 | printf("ERROR: no seteuid method available\n");
|
---|
| 17 | exit(1);
|
---|
| 18 | #endif
|
---|
| 19 | #endif /* __OS2__ */
|
---|
| 20 |
|
---|
| 21 | #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))
|
---|
| 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 | }
|
---|
| 33 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.