… | |
… | |
245 | return 0; |
245 | return 0; |
246 | } |
246 | } |
247 | ]])],ac_cv_copy_file_range=yes,ac_cv_copy_file_range=no)]) |
247 | ]])],ac_cv_copy_file_range=yes,ac_cv_copy_file_range=no)]) |
248 | test $ac_cv_copy_file_range = yes && AC_DEFINE(HAVE_COPY_FILE_RANGE, 1, copy_file_range(2) is available) |
248 | test $ac_cv_copy_file_range = yes && AC_DEFINE(HAVE_COPY_FILE_RANGE, 1, copy_file_range(2) is available) |
249 | |
249 | |
|
|
250 | AC_CACHE_CHECK(for posix_close, ac_cv_posix_close, [AC_LINK_IFELSE([AC_LANG_SOURCE([[ |
|
|
251 | #include <unistd.h> |
|
|
252 | int res; |
|
|
253 | int main (void) |
|
|
254 | { |
|
|
255 | res = posix_close (0, 0); /* we do not need any flags */ |
|
|
256 | return 0; |
|
|
257 | } |
|
|
258 | ]])],ac_cv_posix_close=yes,ac_cv_posix_close=no)]) |
|
|
259 | test $ac_cv_posix_close = yes && AC_DEFINE(HAVE_POSIX_CLOSE, 1, posix_close(2) is available) |
|
|
260 | |