… | |
… | |
191 | return 0; |
191 | return 0; |
192 | } |
192 | } |
193 | ])],ac_cv_linux_splice=yes,ac_cv_linux_splice=no)]) |
193 | ])],ac_cv_linux_splice=yes,ac_cv_linux_splice=no)]) |
194 | test $ac_cv_linux_splice = yes && AC_DEFINE(HAVE_LINUX_SPLICE, 1, splice/vmsplice/tee(2) are available) |
194 | test $ac_cv_linux_splice = yes && AC_DEFINE(HAVE_LINUX_SPLICE, 1, splice/vmsplice/tee(2) are available) |
195 | |
195 | |
|
|
196 | AC_CACHE_CHECK(for pipe2, ac_cv_pipe2, [AC_LINK_IFELSE([AC_LANG_SOURCE([[ |
|
|
197 | #include <fcntl.h> |
|
|
198 | #include <unistd.h> |
|
|
199 | int res; |
|
|
200 | int main (void) |
|
|
201 | { |
|
|
202 | res = pipe2 (0, 0); |
|
|
203 | return 0; |
|
|
204 | } |
|
|
205 | ]])],ac_cv_pipe2=yes,ac_cv_pipe2=no)]) |
|
|
206 | test $ac_cv_pipe2 = yes && AC_DEFINE(HAVE_PIPE2, 1, pipe2(2) is available) |
|
|
207 | |