… | |
… | |
232 | return 0; |
232 | return 0; |
233 | } |
233 | } |
234 | ]])],ac_cv_statx=yes,ac_cv_statx=no)]) |
234 | ]])],ac_cv_statx=yes,ac_cv_statx=no)]) |
235 | test $ac_cv_statx = yes && AC_DEFINE(HAVE_STATX, 1, statx(2) is available) |
235 | test $ac_cv_statx = yes && AC_DEFINE(HAVE_STATX, 1, statx(2) is available) |
236 | |
236 | |
|
|
237 | AC_CACHE_CHECK(for accept4, ac_cv_accept4, [AC_LINK_IFELSE([AC_LANG_SOURCE([[ |
|
|
238 | #include <sys/types.h> |
|
|
239 | #include <sys/socket.h> |
|
|
240 | int main (void) |
|
|
241 | { |
|
|
242 | int res; |
|
|
243 | res = accept4 (1, (struct sockaddr *)0, (socklen_t)0, SOCK_NONBLOCK | SOCK_CLOEXEC); |
|
|
244 | return 0; |
|
|
245 | } |
|
|
246 | ]])],ac_cv_accept4=yes,ac_cv_accept4=no)]) |
|
|
247 | test $ac_cv_accept4 = yes && AC_DEFINE(HAVE_ACCEPT4, 1, accept4(2) is available) |
|
|
248 | |
237 | AC_OUTPUT |
249 | AC_OUTPUT |
238 | |
250 | |