|
Lines 3080-3094
if test "x$ac_cv_have_accrights_in_msghd
Link Here
|
| 3080 |
file descriptor passing]) |
3080 |
file descriptor passing]) |
| 3081 |
fi |
3081 |
fi |
| 3082 |
|
3082 |
|
| 3083 |
AC_MSG_CHECKING(if f_fsid has val members) |
3083 |
AC_MSG_CHECKING(if struct statvfs.f_fsid is integral type) |
| 3084 |
AC_TRY_COMPILE([ |
3084 |
AC_TRY_COMPILE([ |
| 3085 |
#include <sys/types.h> |
3085 |
#include <sys/types.h> |
|
|
3086 |
#include <sys/stat.h> |
| 3087 |
#ifdef HAVE_SYS_TIME_H |
| 3088 |
# include <sys/time.h> |
| 3089 |
#endif |
| 3090 |
#ifdef HAVE_SYS_MOUNT_H |
| 3091 |
#include <sys/mount.h> |
| 3092 |
#endif |
| 3093 |
#ifdef HAVE_SYS_STATVFS_H |
| 3094 |
#include <sys/statvfs.h> |
| 3095 |
#endif |
| 3096 |
], [struct statvfs s; s.f_fsid = 0;], |
| 3097 |
[ AC_MSG_RESULT(yes) ], |
| 3098 |
[ AC_MSG_RESULT(no) |
| 3099 |
|
| 3100 |
AC_MSG_CHECKING(if fsid_t has member val) |
| 3101 |
AC_TRY_COMPILE([ |
| 3102 |
#include <sys/types.h> |
| 3086 |
#include <sys/statvfs.h>], |
3103 |
#include <sys/statvfs.h>], |
| 3087 |
[struct fsid_t t; t.val[0] = 0;], |
3104 |
[fsid_t t; t.val[0] = 0;], |
| 3088 |
[ AC_MSG_RESULT(yes) |
3105 |
[ AC_MSG_RESULT(yes) |
| 3089 |
AC_DEFINE(FSID_HAS_VAL, 1, f_fsid has members) ], |
3106 |
AC_DEFINE(FSID_HAS_VAL, 1, fsid_t has member val) ], |
| 3090 |
[ AC_MSG_RESULT(no) ] |
3107 |
[ AC_MSG_RESULT(no) ]) |
| 3091 |
) |
3108 |
|
|
|
3109 |
AC_MSG_CHECKING(if f_fsid has member __val) |
| 3110 |
AC_TRY_COMPILE([ |
| 3111 |
#include <sys/types.h> |
| 3112 |
#include <sys/statvfs.h>], |
| 3113 |
[fsid_t t; t.__val[0] = 0;], |
| 3114 |
[ AC_MSG_RESULT(yes) |
| 3115 |
AC_DEFINE(FSID_HAS___VAL, 1, fsid_t has member __val) ], |
| 3116 |
[ AC_MSG_RESULT(no) ]) |
| 3117 |
]) |
| 3092 |
|
3118 |
|
| 3093 |
AC_CACHE_CHECK([for msg_control field in struct msghdr], |
3119 |
AC_CACHE_CHECK([for msg_control field in struct msghdr], |
| 3094 |
ac_cv_have_control_in_msghdr, [ |
3120 |
ac_cv_have_control_in_msghdr, [ |