Changeset f854ee32 for libcfa/configure
- Timestamp:
- Jul 24, 2020, 12:49:02 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 42cd451e
- Parents:
- 54eb5ebd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure
r54eb5ebd rf854ee32 17017 17017 #io_uring 5.6 and later uses probes 17018 17018 17019 17020 17021 17019 17022 for ac_header in linux/io_uring.h 17020 17023 do : … … 17027 17030 $as_echo "#define CFA_HAVE_LINUX_IO_URING_H 1" >>confdefs.h 17028 17031 17029 # AC_CHECK_HEADER([liburing.h], [ 17030 # AC_CHECK_LIB([uring], [io_uring_get_probe]) 17031 # ]) 17032 ac_fn_c_check_header_mongrel "$LINENO" "liburing.h" "ac_cv_header_liburing_h" "$ac_includes_default" 17033 if test "x$ac_cv_header_liburing_h" = xyes; then : 17034 17035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_uring_get_probe in -luring" >&5 17036 $as_echo_n "checking for io_uring_get_probe in -luring... " >&6; } 17037 if ${ac_cv_lib_uring_io_uring_get_probe+:} false; then : 17038 $as_echo_n "(cached) " >&6 17039 else 17040 ac_check_lib_save_LIBS=$LIBS 17041 LIBS="-luring $LIBS" 17042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17043 /* end confdefs.h. */ 17044 17045 /* Override any GCC internal prototype to avoid an error. 17046 Use char because int might match the return type of a GCC 17047 builtin and then its argument prototype would still apply. */ 17048 #ifdef __cplusplus 17049 extern "C" 17050 #endif 17051 char io_uring_get_probe (); 17052 int 17053 main () 17054 { 17055 return io_uring_get_probe (); 17056 ; 17057 return 0; 17058 } 17059 _ACEOF 17060 if ac_fn_c_try_link "$LINENO"; then : 17061 ac_cv_lib_uring_io_uring_get_probe=yes 17062 else 17063 ac_cv_lib_uring_io_uring_get_probe=no 17064 fi 17065 rm -f core conftest.err conftest.$ac_objext \ 17066 conftest$ac_exeext conftest.$ac_ext 17067 LIBS=$ac_check_lib_save_LIBS 17068 fi 17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uring_io_uring_get_probe" >&5 17070 $as_echo "$ac_cv_lib_uring_io_uring_get_probe" >&6; } 17071 if test "x$ac_cv_lib_uring_io_uring_get_probe" = xyes; then : 17072 17073 17074 ac_fn_c_check_decl "$LINENO" "IORING_OP_NOP" "ac_cv_have_decl_IORING_OP_NOP" "#include <linux/io_uring.h> 17075 " 17076 if test "x$ac_cv_have_decl_IORING_OP_NOP" = xyes; then : 17077 17078 if test "$cross_compiling" = yes; then : 17079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17081 as_fn_error $? "cannot run test program while cross compiling 17082 See \`config.log' for more details" "$LINENO" 5; } 17083 else 17084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17085 /* end confdefs.h. */ 17086 17087 #include <liburing.h> 17088 int 17089 main () 17090 { 17091 int main() { 17092 struct io_uring_probe *probe = io_uring_get_probe(); 17093 if(io_uring_opcode_supported(probe, IORING_OP_NOP)) 17094 return 0; 17095 else 17096 return 1; 17097 } 17098 17099 ; 17100 return 0; 17101 } 17102 17103 _ACEOF 17104 if ac_fn_c_try_run "$LINENO"; then : 17105 17106 $as_echo "#define CFA_HAVE_IORING_OP_NOP 1" >>confdefs.h 17107 17108 17109 else 17110 17111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17113 as_fn_error $? "Check support for IORING_OP_NOP with liburing failed 17114 See \`config.log' for more details" "$LINENO" 5; } 17115 17116 fi 17117 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17118 conftest.$ac_objext conftest.beam conftest.$ac_ext 17119 fi 17120 17121 17122 fi 17123 17124 17125 ac_fn_c_check_decl "$LINENO" "IORING_OP_READV" "ac_cv_have_decl_IORING_OP_READV" "#include <linux/io_uring.h> 17126 " 17127 if test "x$ac_cv_have_decl_IORING_OP_READV" = xyes; then : 17128 17129 if test "$cross_compiling" = yes; then : 17130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17132 as_fn_error $? "cannot run test program while cross compiling 17133 See \`config.log' for more details" "$LINENO" 5; } 17134 else 17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17136 /* end confdefs.h. */ 17137 17138 #include <liburing.h> 17139 int 17140 main () 17141 { 17142 int main() { 17143 struct io_uring_probe *probe = io_uring_get_probe(); 17144 if(io_uring_opcode_supported(probe, IORING_OP_READV)) 17145 return 0; 17146 else 17147 return 1; 17148 } 17149 17150 ; 17151 return 0; 17152 } 17153 17154 _ACEOF 17155 if ac_fn_c_try_run "$LINENO"; then : 17156 17157 $as_echo "#define CFA_HAVE_IORING_OP_READV 1" >>confdefs.h 17158 17159 17160 else 17161 17162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17164 as_fn_error $? "Check support for IORING_OP_READV with liburing failed 17165 See \`config.log' for more details" "$LINENO" 5; } 17166 17167 fi 17168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17169 conftest.$ac_objext conftest.beam conftest.$ac_ext 17170 fi 17171 17172 17173 fi 17174 17175 17176 ac_fn_c_check_decl "$LINENO" "IORING_OP_WRITEV" "ac_cv_have_decl_IORING_OP_WRITEV" "#include <linux/io_uring.h> 17177 " 17178 if test "x$ac_cv_have_decl_IORING_OP_WRITEV" = xyes; then : 17179 17180 if test "$cross_compiling" = yes; then : 17181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17183 as_fn_error $? "cannot run test program while cross compiling 17184 See \`config.log' for more details" "$LINENO" 5; } 17185 else 17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17187 /* end confdefs.h. */ 17188 17189 #include <liburing.h> 17190 int 17191 main () 17192 { 17193 int main() { 17194 struct io_uring_probe *probe = io_uring_get_probe(); 17195 if(io_uring_opcode_supported(probe, IORING_OP_WRITEV)) 17196 return 0; 17197 else 17198 return 1; 17199 } 17200 17201 ; 17202 return 0; 17203 } 17204 17205 _ACEOF 17206 if ac_fn_c_try_run "$LINENO"; then : 17207 17208 $as_echo "#define CFA_HAVE_IORING_OP_WRITEV 1" >>confdefs.h 17209 17210 17211 else 17212 17213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17215 as_fn_error $? "Check support for IORING_OP_WRITEV with liburing failed 17216 See \`config.log' for more details" "$LINENO" 5; } 17217 17218 fi 17219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17220 conftest.$ac_objext conftest.beam conftest.$ac_ext 17221 fi 17222 17223 17224 fi 17225 17226 17227 ac_fn_c_check_decl "$LINENO" "IORING_OP_FSYNC" "ac_cv_have_decl_IORING_OP_FSYNC" "#include <linux/io_uring.h> 17228 " 17229 if test "x$ac_cv_have_decl_IORING_OP_FSYNC" = xyes; then : 17230 17231 if test "$cross_compiling" = yes; then : 17232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17234 as_fn_error $? "cannot run test program while cross compiling 17235 See \`config.log' for more details" "$LINENO" 5; } 17236 else 17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17238 /* end confdefs.h. */ 17239 17240 #include <liburing.h> 17241 int 17242 main () 17243 { 17244 int main() { 17245 struct io_uring_probe *probe = io_uring_get_probe(); 17246 if(io_uring_opcode_supported(probe, IORING_OP_FSYNC)) 17247 return 0; 17248 else 17249 return 1; 17250 } 17251 17252 ; 17253 return 0; 17254 } 17255 17256 _ACEOF 17257 if ac_fn_c_try_run "$LINENO"; then : 17258 17259 $as_echo "#define CFA_HAVE_IORING_OP_FSYNC 1" >>confdefs.h 17260 17261 17262 else 17263 17264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17266 as_fn_error $? "Check support for IORING_OP_FSYNC with liburing failed 17267 See \`config.log' for more details" "$LINENO" 5; } 17268 17269 fi 17270 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17271 conftest.$ac_objext conftest.beam conftest.$ac_ext 17272 fi 17273 17274 17275 fi 17276 17277 17278 ac_fn_c_check_decl "$LINENO" "IORING_OP_READ_FIXED" "ac_cv_have_decl_IORING_OP_READ_FIXED" "#include <linux/io_uring.h> 17279 " 17280 if test "x$ac_cv_have_decl_IORING_OP_READ_FIXED" = xyes; then : 17281 17282 if test "$cross_compiling" = yes; then : 17283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17285 as_fn_error $? "cannot run test program while cross compiling 17286 See \`config.log' for more details" "$LINENO" 5; } 17287 else 17288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17289 /* end confdefs.h. */ 17290 17291 #include <liburing.h> 17292 int 17293 main () 17294 { 17295 int main() { 17296 struct io_uring_probe *probe = io_uring_get_probe(); 17297 if(io_uring_opcode_supported(probe, IORING_OP_READ_FIXED)) 17298 return 0; 17299 else 17300 return 1; 17301 } 17302 17303 ; 17304 return 0; 17305 } 17306 17307 _ACEOF 17308 if ac_fn_c_try_run "$LINENO"; then : 17309 17310 $as_echo "#define CFA_HAVE_IORING_OP_READ_FIXED 1" >>confdefs.h 17311 17312 17313 else 17314 17315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17317 as_fn_error $? "Check support for IORING_OP_READ_FIXED with liburing failed 17318 See \`config.log' for more details" "$LINENO" 5; } 17319 17320 fi 17321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17322 conftest.$ac_objext conftest.beam conftest.$ac_ext 17323 fi 17324 17325 17326 fi 17327 17328 17329 ac_fn_c_check_decl "$LINENO" "IORING_OP_WRITE_FIXED" "ac_cv_have_decl_IORING_OP_WRITE_FIXED" "#include <linux/io_uring.h> 17330 " 17331 if test "x$ac_cv_have_decl_IORING_OP_WRITE_FIXED" = xyes; then : 17332 17333 if test "$cross_compiling" = yes; then : 17334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17336 as_fn_error $? "cannot run test program while cross compiling 17337 See \`config.log' for more details" "$LINENO" 5; } 17338 else 17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17340 /* end confdefs.h. */ 17341 17342 #include <liburing.h> 17343 int 17344 main () 17345 { 17346 int main() { 17347 struct io_uring_probe *probe = io_uring_get_probe(); 17348 if(io_uring_opcode_supported(probe, IORING_OP_WRITE_FIXED)) 17349 return 0; 17350 else 17351 return 1; 17352 } 17353 17354 ; 17355 return 0; 17356 } 17357 17358 _ACEOF 17359 if ac_fn_c_try_run "$LINENO"; then : 17360 17361 $as_echo "#define CFA_HAVE_IORING_OP_WRITE_FIXED 1" >>confdefs.h 17362 17363 17364 else 17365 17366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17368 as_fn_error $? "Check support for IORING_OP_WRITE_FIXED with liburing failed 17369 See \`config.log' for more details" "$LINENO" 5; } 17370 17371 fi 17372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17373 conftest.$ac_objext conftest.beam conftest.$ac_ext 17374 fi 17375 17376 17377 fi 17378 17379 17380 ac_fn_c_check_decl "$LINENO" "IORING_OP_POLL_ADD" "ac_cv_have_decl_IORING_OP_POLL_ADD" "#include <linux/io_uring.h> 17381 " 17382 if test "x$ac_cv_have_decl_IORING_OP_POLL_ADD" = xyes; then : 17383 17384 if test "$cross_compiling" = yes; then : 17385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17387 as_fn_error $? "cannot run test program while cross compiling 17388 See \`config.log' for more details" "$LINENO" 5; } 17389 else 17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17391 /* end confdefs.h. */ 17392 17393 #include <liburing.h> 17394 int 17395 main () 17396 { 17397 int main() { 17398 struct io_uring_probe *probe = io_uring_get_probe(); 17399 if(io_uring_opcode_supported(probe, IORING_OP_POLL_ADD)) 17400 return 0; 17401 else 17402 return 1; 17403 } 17404 17405 ; 17406 return 0; 17407 } 17408 17409 _ACEOF 17410 if ac_fn_c_try_run "$LINENO"; then : 17411 17412 $as_echo "#define CFA_HAVE_IORING_OP_POLL_ADD 1" >>confdefs.h 17413 17414 17415 else 17416 17417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17419 as_fn_error $? "Check support for IORING_OP_POLL_ADD with liburing failed 17420 See \`config.log' for more details" "$LINENO" 5; } 17421 17422 fi 17423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17424 conftest.$ac_objext conftest.beam conftest.$ac_ext 17425 fi 17426 17427 17428 fi 17429 17430 17431 ac_fn_c_check_decl "$LINENO" "IORING_OP_POLL_REMOVE" "ac_cv_have_decl_IORING_OP_POLL_REMOVE" "#include <linux/io_uring.h> 17432 " 17433 if test "x$ac_cv_have_decl_IORING_OP_POLL_REMOVE" = xyes; then : 17434 17435 if test "$cross_compiling" = yes; then : 17436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17438 as_fn_error $? "cannot run test program while cross compiling 17439 See \`config.log' for more details" "$LINENO" 5; } 17440 else 17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17442 /* end confdefs.h. */ 17443 17444 #include <liburing.h> 17445 int 17446 main () 17447 { 17448 int main() { 17449 struct io_uring_probe *probe = io_uring_get_probe(); 17450 if(io_uring_opcode_supported(probe, IORING_OP_POLL_REMOVE)) 17451 return 0; 17452 else 17453 return 1; 17454 } 17455 17456 ; 17457 return 0; 17458 } 17459 17460 _ACEOF 17461 if ac_fn_c_try_run "$LINENO"; then : 17462 17463 $as_echo "#define CFA_HAVE_IORING_OP_POLL_REMOVE 1" >>confdefs.h 17464 17465 17466 else 17467 17468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17470 as_fn_error $? "Check support for IORING_OP_POLL_REMOVE with liburing failed 17471 See \`config.log' for more details" "$LINENO" 5; } 17472 17473 fi 17474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17475 conftest.$ac_objext conftest.beam conftest.$ac_ext 17476 fi 17477 17478 17479 fi 17480 17481 17482 ac_fn_c_check_decl "$LINENO" "IORING_OP_SYNC_FILE_RANGE" "ac_cv_have_decl_IORING_OP_SYNC_FILE_RANGE" "#include <linux/io_uring.h> 17483 " 17484 if test "x$ac_cv_have_decl_IORING_OP_SYNC_FILE_RANGE" = xyes; then : 17485 17486 if test "$cross_compiling" = yes; then : 17487 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17489 as_fn_error $? "cannot run test program while cross compiling 17490 See \`config.log' for more details" "$LINENO" 5; } 17491 else 17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17493 /* end confdefs.h. */ 17494 17495 #include <liburing.h> 17496 int 17497 main () 17498 { 17499 int main() { 17500 struct io_uring_probe *probe = io_uring_get_probe(); 17501 if(io_uring_opcode_supported(probe, IORING_OP_SYNC_FILE_RANGE)) 17502 return 0; 17503 else 17504 return 1; 17505 } 17506 17507 ; 17508 return 0; 17509 } 17510 17511 _ACEOF 17512 if ac_fn_c_try_run "$LINENO"; then : 17513 17514 $as_echo "#define CFA_HAVE_IORING_OP_SYNC_FILE_RANGE 1" >>confdefs.h 17515 17516 17517 else 17518 17519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17521 as_fn_error $? "Check support for IORING_OP_SYNC_FILE_RANGE with liburing failed 17522 See \`config.log' for more details" "$LINENO" 5; } 17523 17524 fi 17525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17526 conftest.$ac_objext conftest.beam conftest.$ac_ext 17527 fi 17528 17529 17530 fi 17531 17532 17533 ac_fn_c_check_decl "$LINENO" "IORING_OP_SENDMSG" "ac_cv_have_decl_IORING_OP_SENDMSG" "#include <linux/io_uring.h> 17534 " 17535 if test "x$ac_cv_have_decl_IORING_OP_SENDMSG" = xyes; then : 17536 17537 if test "$cross_compiling" = yes; then : 17538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17540 as_fn_error $? "cannot run test program while cross compiling 17541 See \`config.log' for more details" "$LINENO" 5; } 17542 else 17543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17544 /* end confdefs.h. */ 17545 17546 #include <liburing.h> 17547 int 17548 main () 17549 { 17550 int main() { 17551 struct io_uring_probe *probe = io_uring_get_probe(); 17552 if(io_uring_opcode_supported(probe, IORING_OP_SENDMSG)) 17553 return 0; 17554 else 17555 return 1; 17556 } 17557 17558 ; 17559 return 0; 17560 } 17561 17562 _ACEOF 17563 if ac_fn_c_try_run "$LINENO"; then : 17564 17565 $as_echo "#define CFA_HAVE_IORING_OP_SENDMSG 1" >>confdefs.h 17566 17567 17568 else 17569 17570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17572 as_fn_error $? "Check support for IORING_OP_SENDMSG with liburing failed 17573 See \`config.log' for more details" "$LINENO" 5; } 17574 17575 fi 17576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17577 conftest.$ac_objext conftest.beam conftest.$ac_ext 17578 fi 17579 17580 17581 fi 17582 17583 17584 ac_fn_c_check_decl "$LINENO" "IORING_OP_RECVMSG" "ac_cv_have_decl_IORING_OP_RECVMSG" "#include <linux/io_uring.h> 17585 " 17586 if test "x$ac_cv_have_decl_IORING_OP_RECVMSG" = xyes; then : 17587 17588 if test "$cross_compiling" = yes; then : 17589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17591 as_fn_error $? "cannot run test program while cross compiling 17592 See \`config.log' for more details" "$LINENO" 5; } 17593 else 17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17595 /* end confdefs.h. */ 17596 17597 #include <liburing.h> 17598 int 17599 main () 17600 { 17601 int main() { 17602 struct io_uring_probe *probe = io_uring_get_probe(); 17603 if(io_uring_opcode_supported(probe, IORING_OP_RECVMSG)) 17604 return 0; 17605 else 17606 return 1; 17607 } 17608 17609 ; 17610 return 0; 17611 } 17612 17613 _ACEOF 17614 if ac_fn_c_try_run "$LINENO"; then : 17615 17616 $as_echo "#define CFA_HAVE_IORING_OP_RECVMSG 1" >>confdefs.h 17617 17618 17619 else 17620 17621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17623 as_fn_error $? "Check support for IORING_OP_RECVMSG with liburing failed 17624 See \`config.log' for more details" "$LINENO" 5; } 17625 17626 fi 17627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17628 conftest.$ac_objext conftest.beam conftest.$ac_ext 17629 fi 17630 17631 17632 fi 17633 17634 17635 ac_fn_c_check_decl "$LINENO" "IORING_OP_TIMEOUT" "ac_cv_have_decl_IORING_OP_TIMEOUT" "#include <linux/io_uring.h> 17636 " 17637 if test "x$ac_cv_have_decl_IORING_OP_TIMEOUT" = xyes; then : 17638 17639 if test "$cross_compiling" = yes; then : 17640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17642 as_fn_error $? "cannot run test program while cross compiling 17643 See \`config.log' for more details" "$LINENO" 5; } 17644 else 17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17646 /* end confdefs.h. */ 17647 17648 #include <liburing.h> 17649 int 17650 main () 17651 { 17652 int main() { 17653 struct io_uring_probe *probe = io_uring_get_probe(); 17654 if(io_uring_opcode_supported(probe, IORING_OP_TIMEOUT)) 17655 return 0; 17656 else 17657 return 1; 17658 } 17659 17660 ; 17661 return 0; 17662 } 17663 17664 _ACEOF 17665 if ac_fn_c_try_run "$LINENO"; then : 17666 17667 $as_echo "#define CFA_HAVE_IORING_OP_TIMEOUT 1" >>confdefs.h 17668 17669 17670 else 17671 17672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17674 as_fn_error $? "Check support for IORING_OP_TIMEOUT with liburing failed 17675 See \`config.log' for more details" "$LINENO" 5; } 17676 17677 fi 17678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17679 conftest.$ac_objext conftest.beam conftest.$ac_ext 17680 fi 17681 17682 17683 fi 17684 17685 17686 ac_fn_c_check_decl "$LINENO" "IORING_OP_TIMEOUT_REMOVE" "ac_cv_have_decl_IORING_OP_TIMEOUT_REMOVE" "#include <linux/io_uring.h> 17687 " 17688 if test "x$ac_cv_have_decl_IORING_OP_TIMEOUT_REMOVE" = xyes; then : 17689 17690 if test "$cross_compiling" = yes; then : 17691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17693 as_fn_error $? "cannot run test program while cross compiling 17694 See \`config.log' for more details" "$LINENO" 5; } 17695 else 17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17697 /* end confdefs.h. */ 17698 17699 #include <liburing.h> 17700 int 17701 main () 17702 { 17703 int main() { 17704 struct io_uring_probe *probe = io_uring_get_probe(); 17705 if(io_uring_opcode_supported(probe, IORING_OP_TIMEOUT_REMOVE)) 17706 return 0; 17707 else 17708 return 1; 17709 } 17710 17711 ; 17712 return 0; 17713 } 17714 17715 _ACEOF 17716 if ac_fn_c_try_run "$LINENO"; then : 17717 17718 $as_echo "#define CFA_HAVE_IORING_OP_TIMEOUT_REMOVE 1" >>confdefs.h 17719 17720 17721 else 17722 17723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17725 as_fn_error $? "Check support for IORING_OP_TIMEOUT_REMOVE with liburing failed 17726 See \`config.log' for more details" "$LINENO" 5; } 17727 17728 fi 17729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17730 conftest.$ac_objext conftest.beam conftest.$ac_ext 17731 fi 17732 17733 17734 fi 17735 17736 17737 ac_fn_c_check_decl "$LINENO" "IORING_OP_ACCEPT" "ac_cv_have_decl_IORING_OP_ACCEPT" "#include <linux/io_uring.h> 17738 " 17739 if test "x$ac_cv_have_decl_IORING_OP_ACCEPT" = xyes; then : 17740 17741 if test "$cross_compiling" = yes; then : 17742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17744 as_fn_error $? "cannot run test program while cross compiling 17745 See \`config.log' for more details" "$LINENO" 5; } 17746 else 17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17748 /* end confdefs.h. */ 17749 17750 #include <liburing.h> 17751 int 17752 main () 17753 { 17754 int main() { 17755 struct io_uring_probe *probe = io_uring_get_probe(); 17756 if(io_uring_opcode_supported(probe, IORING_OP_ACCEPT)) 17757 return 0; 17758 else 17759 return 1; 17760 } 17761 17762 ; 17763 return 0; 17764 } 17765 17766 _ACEOF 17767 if ac_fn_c_try_run "$LINENO"; then : 17768 17769 $as_echo "#define CFA_HAVE_IORING_OP_ACCEPT 1" >>confdefs.h 17770 17771 17772 else 17773 17774 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17776 as_fn_error $? "Check support for IORING_OP_ACCEPT with liburing failed 17777 See \`config.log' for more details" "$LINENO" 5; } 17778 17779 fi 17780 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17781 conftest.$ac_objext conftest.beam conftest.$ac_ext 17782 fi 17783 17784 17785 fi 17786 17787 17788 ac_fn_c_check_decl "$LINENO" "IORING_OP_ASYNC_CANCEL" "ac_cv_have_decl_IORING_OP_ASYNC_CANCEL" "#include <linux/io_uring.h> 17789 " 17790 if test "x$ac_cv_have_decl_IORING_OP_ASYNC_CANCEL" = xyes; then : 17791 17792 if test "$cross_compiling" = yes; then : 17793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17795 as_fn_error $? "cannot run test program while cross compiling 17796 See \`config.log' for more details" "$LINENO" 5; } 17797 else 17798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17799 /* end confdefs.h. */ 17800 17801 #include <liburing.h> 17802 int 17803 main () 17804 { 17805 int main() { 17806 struct io_uring_probe *probe = io_uring_get_probe(); 17807 if(io_uring_opcode_supported(probe, IORING_OP_ASYNC_CANCEL)) 17808 return 0; 17809 else 17810 return 1; 17811 } 17812 17813 ; 17814 return 0; 17815 } 17816 17817 _ACEOF 17818 if ac_fn_c_try_run "$LINENO"; then : 17819 17820 $as_echo "#define CFA_HAVE_IORING_OP_ASYNC_CANCEL 1" >>confdefs.h 17821 17822 17823 else 17824 17825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17827 as_fn_error $? "Check support for IORING_OP_ASYNC_CANCEL with liburing failed 17828 See \`config.log' for more details" "$LINENO" 5; } 17829 17830 fi 17831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17832 conftest.$ac_objext conftest.beam conftest.$ac_ext 17833 fi 17834 17835 17836 fi 17837 17838 17839 ac_fn_c_check_decl "$LINENO" "IORING_OP_LINK_TIMEOUT" "ac_cv_have_decl_IORING_OP_LINK_TIMEOUT" "#include <linux/io_uring.h> 17840 " 17841 if test "x$ac_cv_have_decl_IORING_OP_LINK_TIMEOUT" = xyes; then : 17842 17843 if test "$cross_compiling" = yes; then : 17844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17846 as_fn_error $? "cannot run test program while cross compiling 17847 See \`config.log' for more details" "$LINENO" 5; } 17848 else 17849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17850 /* end confdefs.h. */ 17851 17852 #include <liburing.h> 17853 int 17854 main () 17855 { 17856 int main() { 17857 struct io_uring_probe *probe = io_uring_get_probe(); 17858 if(io_uring_opcode_supported(probe, IORING_OP_LINK_TIMEOUT)) 17859 return 0; 17860 else 17861 return 1; 17862 } 17863 17864 ; 17865 return 0; 17866 } 17867 17868 _ACEOF 17869 if ac_fn_c_try_run "$LINENO"; then : 17870 17871 $as_echo "#define CFA_HAVE_IORING_OP_LINK_TIMEOUT 1" >>confdefs.h 17872 17873 17874 else 17875 17876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17878 as_fn_error $? "Check support for IORING_OP_LINK_TIMEOUT with liburing failed 17879 See \`config.log' for more details" "$LINENO" 5; } 17880 17881 fi 17882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17883 conftest.$ac_objext conftest.beam conftest.$ac_ext 17884 fi 17885 17886 17887 fi 17888 17889 17890 ac_fn_c_check_decl "$LINENO" "IORING_OP_CONNECT" "ac_cv_have_decl_IORING_OP_CONNECT" "#include <linux/io_uring.h> 17891 " 17892 if test "x$ac_cv_have_decl_IORING_OP_CONNECT" = xyes; then : 17893 17894 if test "$cross_compiling" = yes; then : 17895 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17897 as_fn_error $? "cannot run test program while cross compiling 17898 See \`config.log' for more details" "$LINENO" 5; } 17899 else 17900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17901 /* end confdefs.h. */ 17902 17903 #include <liburing.h> 17904 int 17905 main () 17906 { 17907 int main() { 17908 struct io_uring_probe *probe = io_uring_get_probe(); 17909 if(io_uring_opcode_supported(probe, IORING_OP_CONNECT)) 17910 return 0; 17911 else 17912 return 1; 17913 } 17914 17915 ; 17916 return 0; 17917 } 17918 17919 _ACEOF 17920 if ac_fn_c_try_run "$LINENO"; then : 17921 17922 $as_echo "#define CFA_HAVE_IORING_OP_CONNECT 1" >>confdefs.h 17923 17924 17925 else 17926 17927 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17929 as_fn_error $? "Check support for IORING_OP_CONNECT with liburing failed 17930 See \`config.log' for more details" "$LINENO" 5; } 17931 17932 fi 17933 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17934 conftest.$ac_objext conftest.beam conftest.$ac_ext 17935 fi 17936 17937 17938 fi 17939 17940 17941 ac_fn_c_check_decl "$LINENO" "IORING_OP_FALLOCATE" "ac_cv_have_decl_IORING_OP_FALLOCATE" "#include <linux/io_uring.h> 17942 " 17943 if test "x$ac_cv_have_decl_IORING_OP_FALLOCATE" = xyes; then : 17944 17945 if test "$cross_compiling" = yes; then : 17946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17948 as_fn_error $? "cannot run test program while cross compiling 17949 See \`config.log' for more details" "$LINENO" 5; } 17950 else 17951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17952 /* end confdefs.h. */ 17953 17954 #include <liburing.h> 17955 int 17956 main () 17957 { 17958 int main() { 17959 struct io_uring_probe *probe = io_uring_get_probe(); 17960 if(io_uring_opcode_supported(probe, IORING_OP_FALLOCATE)) 17961 return 0; 17962 else 17963 return 1; 17964 } 17965 17966 ; 17967 return 0; 17968 } 17969 17970 _ACEOF 17971 if ac_fn_c_try_run "$LINENO"; then : 17972 17973 $as_echo "#define CFA_HAVE_IORING_OP_FALLOCATE 1" >>confdefs.h 17974 17975 17976 else 17977 17978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17980 as_fn_error $? "Check support for IORING_OP_FALLOCATE with liburing failed 17981 See \`config.log' for more details" "$LINENO" 5; } 17982 17983 fi 17984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17985 conftest.$ac_objext conftest.beam conftest.$ac_ext 17986 fi 17987 17988 17989 fi 17990 17991 17992 ac_fn_c_check_decl "$LINENO" "IORING_OP_OPENAT" "ac_cv_have_decl_IORING_OP_OPENAT" "#include <linux/io_uring.h> 17993 " 17994 if test "x$ac_cv_have_decl_IORING_OP_OPENAT" = xyes; then : 17995 17996 if test "$cross_compiling" = yes; then : 17997 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17999 as_fn_error $? "cannot run test program while cross compiling 18000 See \`config.log' for more details" "$LINENO" 5; } 18001 else 18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18003 /* end confdefs.h. */ 18004 18005 #include <liburing.h> 18006 int 18007 main () 18008 { 18009 int main() { 18010 struct io_uring_probe *probe = io_uring_get_probe(); 18011 if(io_uring_opcode_supported(probe, IORING_OP_OPENAT)) 18012 return 0; 18013 else 18014 return 1; 18015 } 18016 18017 ; 18018 return 0; 18019 } 18020 18021 _ACEOF 18022 if ac_fn_c_try_run "$LINENO"; then : 18023 18024 $as_echo "#define CFA_HAVE_IORING_OP_OPENAT 1" >>confdefs.h 18025 18026 18027 else 18028 18029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18031 as_fn_error $? "Check support for IORING_OP_OPENAT with liburing failed 18032 See \`config.log' for more details" "$LINENO" 5; } 18033 18034 fi 18035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18036 conftest.$ac_objext conftest.beam conftest.$ac_ext 18037 fi 18038 18039 18040 fi 18041 18042 18043 ac_fn_c_check_decl "$LINENO" "IORING_OP_CLOSE" "ac_cv_have_decl_IORING_OP_CLOSE" "#include <linux/io_uring.h> 18044 " 18045 if test "x$ac_cv_have_decl_IORING_OP_CLOSE" = xyes; then : 18046 18047 if test "$cross_compiling" = yes; then : 18048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18050 as_fn_error $? "cannot run test program while cross compiling 18051 See \`config.log' for more details" "$LINENO" 5; } 18052 else 18053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18054 /* end confdefs.h. */ 18055 18056 #include <liburing.h> 18057 int 18058 main () 18059 { 18060 int main() { 18061 struct io_uring_probe *probe = io_uring_get_probe(); 18062 if(io_uring_opcode_supported(probe, IORING_OP_CLOSE)) 18063 return 0; 18064 else 18065 return 1; 18066 } 18067 18068 ; 18069 return 0; 18070 } 18071 18072 _ACEOF 18073 if ac_fn_c_try_run "$LINENO"; then : 18074 18075 $as_echo "#define CFA_HAVE_IORING_OP_CLOSE 1" >>confdefs.h 18076 18077 18078 else 18079 18080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18082 as_fn_error $? "Check support for IORING_OP_CLOSE with liburing failed 18083 See \`config.log' for more details" "$LINENO" 5; } 18084 18085 fi 18086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18087 conftest.$ac_objext conftest.beam conftest.$ac_ext 18088 fi 18089 18090 18091 fi 18092 18093 18094 ac_fn_c_check_decl "$LINENO" "IORING_OP_FILES_UPDATE" "ac_cv_have_decl_IORING_OP_FILES_UPDATE" "#include <linux/io_uring.h> 18095 " 18096 if test "x$ac_cv_have_decl_IORING_OP_FILES_UPDATE" = xyes; then : 18097 18098 if test "$cross_compiling" = yes; then : 18099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18101 as_fn_error $? "cannot run test program while cross compiling 18102 See \`config.log' for more details" "$LINENO" 5; } 18103 else 18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18105 /* end confdefs.h. */ 18106 18107 #include <liburing.h> 18108 int 18109 main () 18110 { 18111 int main() { 18112 struct io_uring_probe *probe = io_uring_get_probe(); 18113 if(io_uring_opcode_supported(probe, IORING_OP_FILES_UPDATE)) 18114 return 0; 18115 else 18116 return 1; 18117 } 18118 18119 ; 18120 return 0; 18121 } 18122 18123 _ACEOF 18124 if ac_fn_c_try_run "$LINENO"; then : 18125 18126 $as_echo "#define CFA_HAVE_IORING_OP_FILES_UPDATE 1" >>confdefs.h 18127 18128 18129 else 18130 18131 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18133 as_fn_error $? "Check support for IORING_OP_FILES_UPDATE with liburing failed 18134 See \`config.log' for more details" "$LINENO" 5; } 18135 18136 fi 18137 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18138 conftest.$ac_objext conftest.beam conftest.$ac_ext 18139 fi 18140 18141 18142 fi 18143 18144 18145 ac_fn_c_check_decl "$LINENO" "IORING_OP_STATX" "ac_cv_have_decl_IORING_OP_STATX" "#include <linux/io_uring.h> 18146 " 18147 if test "x$ac_cv_have_decl_IORING_OP_STATX" = xyes; then : 18148 18149 if test "$cross_compiling" = yes; then : 18150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18152 as_fn_error $? "cannot run test program while cross compiling 18153 See \`config.log' for more details" "$LINENO" 5; } 18154 else 18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18156 /* end confdefs.h. */ 18157 18158 #include <liburing.h> 18159 int 18160 main () 18161 { 18162 int main() { 18163 struct io_uring_probe *probe = io_uring_get_probe(); 18164 if(io_uring_opcode_supported(probe, IORING_OP_STATX)) 18165 return 0; 18166 else 18167 return 1; 18168 } 18169 18170 ; 18171 return 0; 18172 } 18173 18174 _ACEOF 18175 if ac_fn_c_try_run "$LINENO"; then : 18176 18177 $as_echo "#define CFA_HAVE_IORING_OP_STATX 1" >>confdefs.h 18178 18179 18180 else 18181 18182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18184 as_fn_error $? "Check support for IORING_OP_STATX with liburing failed 18185 See \`config.log' for more details" "$LINENO" 5; } 18186 18187 fi 18188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18189 conftest.$ac_objext conftest.beam conftest.$ac_ext 18190 fi 18191 18192 18193 fi 18194 18195 18196 ac_fn_c_check_decl "$LINENO" "IORING_OP_READ" "ac_cv_have_decl_IORING_OP_READ" "#include <linux/io_uring.h> 18197 " 18198 if test "x$ac_cv_have_decl_IORING_OP_READ" = xyes; then : 18199 18200 if test "$cross_compiling" = yes; then : 18201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18203 as_fn_error $? "cannot run test program while cross compiling 18204 See \`config.log' for more details" "$LINENO" 5; } 18205 else 18206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18207 /* end confdefs.h. */ 18208 18209 #include <liburing.h> 18210 int 18211 main () 18212 { 18213 int main() { 18214 struct io_uring_probe *probe = io_uring_get_probe(); 18215 if(io_uring_opcode_supported(probe, IORING_OP_READ)) 18216 return 0; 18217 else 18218 return 1; 18219 } 18220 18221 ; 18222 return 0; 18223 } 18224 18225 _ACEOF 18226 if ac_fn_c_try_run "$LINENO"; then : 18227 18228 $as_echo "#define CFA_HAVE_IORING_OP_READ 1" >>confdefs.h 18229 18230 18231 else 18232 18233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18235 as_fn_error $? "Check support for IORING_OP_READ with liburing failed 18236 See \`config.log' for more details" "$LINENO" 5; } 18237 18238 fi 18239 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18240 conftest.$ac_objext conftest.beam conftest.$ac_ext 18241 fi 18242 18243 18244 fi 18245 18246 18247 ac_fn_c_check_decl "$LINENO" "IORING_OP_WRITE" "ac_cv_have_decl_IORING_OP_WRITE" "#include <linux/io_uring.h> 18248 " 18249 if test "x$ac_cv_have_decl_IORING_OP_WRITE" = xyes; then : 18250 18251 if test "$cross_compiling" = yes; then : 18252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18254 as_fn_error $? "cannot run test program while cross compiling 18255 See \`config.log' for more details" "$LINENO" 5; } 18256 else 18257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18258 /* end confdefs.h. */ 18259 18260 #include <liburing.h> 18261 int 18262 main () 18263 { 18264 int main() { 18265 struct io_uring_probe *probe = io_uring_get_probe(); 18266 if(io_uring_opcode_supported(probe, IORING_OP_WRITE)) 18267 return 0; 18268 else 18269 return 1; 18270 } 18271 18272 ; 18273 return 0; 18274 } 18275 18276 _ACEOF 18277 if ac_fn_c_try_run "$LINENO"; then : 18278 18279 $as_echo "#define CFA_HAVE_IORING_OP_WRITE 1" >>confdefs.h 18280 18281 18282 else 18283 18284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18286 as_fn_error $? "Check support for IORING_OP_WRITE with liburing failed 18287 See \`config.log' for more details" "$LINENO" 5; } 18288 18289 fi 18290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18291 conftest.$ac_objext conftest.beam conftest.$ac_ext 18292 fi 18293 18294 18295 fi 18296 18297 18298 ac_fn_c_check_decl "$LINENO" "IORING_OP_FADVISE" "ac_cv_have_decl_IORING_OP_FADVISE" "#include <linux/io_uring.h> 18299 " 18300 if test "x$ac_cv_have_decl_IORING_OP_FADVISE" = xyes; then : 18301 18302 if test "$cross_compiling" = yes; then : 18303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18305 as_fn_error $? "cannot run test program while cross compiling 18306 See \`config.log' for more details" "$LINENO" 5; } 18307 else 18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18309 /* end confdefs.h. */ 18310 18311 #include <liburing.h> 18312 int 18313 main () 18314 { 18315 int main() { 18316 struct io_uring_probe *probe = io_uring_get_probe(); 18317 if(io_uring_opcode_supported(probe, IORING_OP_FADVISE)) 18318 return 0; 18319 else 18320 return 1; 18321 } 18322 18323 ; 18324 return 0; 18325 } 18326 18327 _ACEOF 18328 if ac_fn_c_try_run "$LINENO"; then : 18329 18330 $as_echo "#define CFA_HAVE_IORING_OP_FADVISE 1" >>confdefs.h 18331 18332 18333 else 18334 18335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18337 as_fn_error $? "Check support for IORING_OP_FADVISE with liburing failed 18338 See \`config.log' for more details" "$LINENO" 5; } 18339 18340 fi 18341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18342 conftest.$ac_objext conftest.beam conftest.$ac_ext 18343 fi 18344 18345 18346 fi 18347 18348 18349 ac_fn_c_check_decl "$LINENO" "IORING_OP_MADVISE" "ac_cv_have_decl_IORING_OP_MADVISE" "#include <linux/io_uring.h> 18350 " 18351 if test "x$ac_cv_have_decl_IORING_OP_MADVISE" = xyes; then : 18352 18353 if test "$cross_compiling" = yes; then : 18354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18356 as_fn_error $? "cannot run test program while cross compiling 18357 See \`config.log' for more details" "$LINENO" 5; } 18358 else 18359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18360 /* end confdefs.h. */ 18361 18362 #include <liburing.h> 18363 int 18364 main () 18365 { 18366 int main() { 18367 struct io_uring_probe *probe = io_uring_get_probe(); 18368 if(io_uring_opcode_supported(probe, IORING_OP_MADVISE)) 18369 return 0; 18370 else 18371 return 1; 18372 } 18373 18374 ; 18375 return 0; 18376 } 18377 18378 _ACEOF 18379 if ac_fn_c_try_run "$LINENO"; then : 18380 18381 $as_echo "#define CFA_HAVE_IORING_OP_MADVISE 1" >>confdefs.h 18382 18383 18384 else 18385 18386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18388 as_fn_error $? "Check support for IORING_OP_MADVISE with liburing failed 18389 See \`config.log' for more details" "$LINENO" 5; } 18390 18391 fi 18392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18393 conftest.$ac_objext conftest.beam conftest.$ac_ext 18394 fi 18395 18396 18397 fi 18398 18399 18400 ac_fn_c_check_decl "$LINENO" "IORING_OP_SEND" "ac_cv_have_decl_IORING_OP_SEND" "#include <linux/io_uring.h> 18401 " 18402 if test "x$ac_cv_have_decl_IORING_OP_SEND" = xyes; then : 18403 18404 if test "$cross_compiling" = yes; then : 18405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18407 as_fn_error $? "cannot run test program while cross compiling 18408 See \`config.log' for more details" "$LINENO" 5; } 18409 else 18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18411 /* end confdefs.h. */ 18412 18413 #include <liburing.h> 18414 int 18415 main () 18416 { 18417 int main() { 18418 struct io_uring_probe *probe = io_uring_get_probe(); 18419 if(io_uring_opcode_supported(probe, IORING_OP_SEND)) 18420 return 0; 18421 else 18422 return 1; 18423 } 18424 18425 ; 18426 return 0; 18427 } 18428 18429 _ACEOF 18430 if ac_fn_c_try_run "$LINENO"; then : 18431 18432 $as_echo "#define CFA_HAVE_IORING_OP_SEND 1" >>confdefs.h 18433 18434 18435 else 18436 18437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18439 as_fn_error $? "Check support for IORING_OP_SEND with liburing failed 18440 See \`config.log' for more details" "$LINENO" 5; } 18441 18442 fi 18443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18444 conftest.$ac_objext conftest.beam conftest.$ac_ext 18445 fi 18446 18447 18448 fi 18449 18450 18451 ac_fn_c_check_decl "$LINENO" "IORING_OP_RECV" "ac_cv_have_decl_IORING_OP_RECV" "#include <linux/io_uring.h> 18452 " 18453 if test "x$ac_cv_have_decl_IORING_OP_RECV" = xyes; then : 18454 18455 if test "$cross_compiling" = yes; then : 18456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18458 as_fn_error $? "cannot run test program while cross compiling 18459 See \`config.log' for more details" "$LINENO" 5; } 18460 else 18461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18462 /* end confdefs.h. */ 18463 18464 #include <liburing.h> 18465 int 18466 main () 18467 { 18468 int main() { 18469 struct io_uring_probe *probe = io_uring_get_probe(); 18470 if(io_uring_opcode_supported(probe, IORING_OP_RECV)) 18471 return 0; 18472 else 18473 return 1; 18474 } 18475 18476 ; 18477 return 0; 18478 } 18479 18480 _ACEOF 18481 if ac_fn_c_try_run "$LINENO"; then : 18482 18483 $as_echo "#define CFA_HAVE_IORING_OP_RECV 1" >>confdefs.h 18484 18485 18486 else 18487 18488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18490 as_fn_error $? "Check support for IORING_OP_RECV with liburing failed 18491 See \`config.log' for more details" "$LINENO" 5; } 18492 18493 fi 18494 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18495 conftest.$ac_objext conftest.beam conftest.$ac_ext 18496 fi 18497 18498 18499 fi 18500 18501 18502 ac_fn_c_check_decl "$LINENO" "IORING_OP_OPENAT2" "ac_cv_have_decl_IORING_OP_OPENAT2" "#include <linux/io_uring.h> 18503 " 18504 if test "x$ac_cv_have_decl_IORING_OP_OPENAT2" = xyes; then : 18505 18506 if test "$cross_compiling" = yes; then : 18507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18509 as_fn_error $? "cannot run test program while cross compiling 18510 See \`config.log' for more details" "$LINENO" 5; } 18511 else 18512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18513 /* end confdefs.h. */ 18514 18515 #include <liburing.h> 18516 int 18517 main () 18518 { 18519 int main() { 18520 struct io_uring_probe *probe = io_uring_get_probe(); 18521 if(io_uring_opcode_supported(probe, IORING_OP_OPENAT2)) 18522 return 0; 18523 else 18524 return 1; 18525 } 18526 18527 ; 18528 return 0; 18529 } 18530 18531 _ACEOF 18532 if ac_fn_c_try_run "$LINENO"; then : 18533 18534 $as_echo "#define CFA_HAVE_IORING_OP_OPENAT2 1" >>confdefs.h 18535 18536 18537 else 18538 18539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18541 as_fn_error $? "Check support for IORING_OP_OPENAT2 with liburing failed 18542 See \`config.log' for more details" "$LINENO" 5; } 18543 18544 fi 18545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18546 conftest.$ac_objext conftest.beam conftest.$ac_ext 18547 fi 18548 18549 18550 fi 18551 18552 18553 ac_fn_c_check_decl "$LINENO" "IORING_OP_EPOLL_CTL" "ac_cv_have_decl_IORING_OP_EPOLL_CTL" "#include <linux/io_uring.h> 18554 " 18555 if test "x$ac_cv_have_decl_IORING_OP_EPOLL_CTL" = xyes; then : 18556 18557 if test "$cross_compiling" = yes; then : 18558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18560 as_fn_error $? "cannot run test program while cross compiling 18561 See \`config.log' for more details" "$LINENO" 5; } 18562 else 18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18564 /* end confdefs.h. */ 18565 18566 #include <liburing.h> 18567 int 18568 main () 18569 { 18570 int main() { 18571 struct io_uring_probe *probe = io_uring_get_probe(); 18572 if(io_uring_opcode_supported(probe, IORING_OP_EPOLL_CTL)) 18573 return 0; 18574 else 18575 return 1; 18576 } 18577 18578 ; 18579 return 0; 18580 } 18581 18582 _ACEOF 18583 if ac_fn_c_try_run "$LINENO"; then : 18584 18585 $as_echo "#define CFA_HAVE_IORING_OP_EPOLL_CTL 1" >>confdefs.h 18586 18587 18588 else 18589 18590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18592 as_fn_error $? "Check support for IORING_OP_EPOLL_CTL with liburing failed 18593 See \`config.log' for more details" "$LINENO" 5; } 18594 18595 fi 18596 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18597 conftest.$ac_objext conftest.beam conftest.$ac_ext 18598 fi 18599 18600 18601 fi 18602 18603 18604 ac_fn_c_check_decl "$LINENO" "IORING_OP_SPLICE" "ac_cv_have_decl_IORING_OP_SPLICE" "#include <linux/io_uring.h> 18605 " 18606 if test "x$ac_cv_have_decl_IORING_OP_SPLICE" = xyes; then : 18607 18608 if test "$cross_compiling" = yes; then : 18609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18611 as_fn_error $? "cannot run test program while cross compiling 18612 See \`config.log' for more details" "$LINENO" 5; } 18613 else 18614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18615 /* end confdefs.h. */ 18616 18617 #include <liburing.h> 18618 int 18619 main () 18620 { 18621 int main() { 18622 struct io_uring_probe *probe = io_uring_get_probe(); 18623 if(io_uring_opcode_supported(probe, IORING_OP_SPLICE)) 18624 return 0; 18625 else 18626 return 1; 18627 } 18628 18629 ; 18630 return 0; 18631 } 18632 18633 _ACEOF 18634 if ac_fn_c_try_run "$LINENO"; then : 18635 18636 $as_echo "#define CFA_HAVE_IORING_OP_SPLICE 1" >>confdefs.h 18637 18638 18639 else 18640 18641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18643 as_fn_error $? "Check support for IORING_OP_SPLICE with liburing failed 18644 See \`config.log' for more details" "$LINENO" 5; } 18645 18646 fi 18647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18648 conftest.$ac_objext conftest.beam conftest.$ac_ext 18649 fi 18650 18651 18652 fi 18653 18654 18655 ac_fn_c_check_decl "$LINENO" "IORING_OP_PROVIDE_BUFFERS" "ac_cv_have_decl_IORING_OP_PROVIDE_BUFFERS" "#include <linux/io_uring.h> 18656 " 18657 if test "x$ac_cv_have_decl_IORING_OP_PROVIDE_BUFFERS" = xyes; then : 18658 18659 if test "$cross_compiling" = yes; then : 18660 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18662 as_fn_error $? "cannot run test program while cross compiling 18663 See \`config.log' for more details" "$LINENO" 5; } 18664 else 18665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18666 /* end confdefs.h. */ 18667 18668 #include <liburing.h> 18669 int 18670 main () 18671 { 18672 int main() { 18673 struct io_uring_probe *probe = io_uring_get_probe(); 18674 if(io_uring_opcode_supported(probe, IORING_OP_PROVIDE_BUFFERS)) 18675 return 0; 18676 else 18677 return 1; 18678 } 18679 18680 ; 18681 return 0; 18682 } 18683 18684 _ACEOF 18685 if ac_fn_c_try_run "$LINENO"; then : 18686 18687 $as_echo "#define CFA_HAVE_IORING_OP_PROVIDE_BUFFERS 1" >>confdefs.h 18688 18689 18690 else 18691 18692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18694 as_fn_error $? "Check support for IORING_OP_PROVIDE_BUFFERS with liburing failed 18695 See \`config.log' for more details" "$LINENO" 5; } 18696 18697 fi 18698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18699 conftest.$ac_objext conftest.beam conftest.$ac_ext 18700 fi 18701 18702 18703 fi 18704 18705 18706 ac_fn_c_check_decl "$LINENO" "IORING_OP_REMOVE_BUFFER" "ac_cv_have_decl_IORING_OP_REMOVE_BUFFER" "#include <linux/io_uring.h> 18707 " 18708 if test "x$ac_cv_have_decl_IORING_OP_REMOVE_BUFFER" = xyes; then : 18709 18710 if test "$cross_compiling" = yes; then : 18711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18713 as_fn_error $? "cannot run test program while cross compiling 18714 See \`config.log' for more details" "$LINENO" 5; } 18715 else 18716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18717 /* end confdefs.h. */ 18718 18719 #include <liburing.h> 18720 int 18721 main () 18722 { 18723 int main() { 18724 struct io_uring_probe *probe = io_uring_get_probe(); 18725 if(io_uring_opcode_supported(probe, IORING_OP_REMOVE_BUFFER)) 18726 return 0; 18727 else 18728 return 1; 18729 } 18730 18731 ; 18732 return 0; 18733 } 18734 18735 _ACEOF 18736 if ac_fn_c_try_run "$LINENO"; then : 18737 18738 $as_echo "#define CFA_HAVE_IORING_OP_REMOVE_BUFFER 1" >>confdefs.h 18739 18740 18741 else 18742 18743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18745 as_fn_error $? "Check support for IORING_OP_REMOVE_BUFFER with liburing failed 18746 See \`config.log' for more details" "$LINENO" 5; } 18747 18748 fi 18749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18750 conftest.$ac_objext conftest.beam conftest.$ac_ext 18751 fi 18752 18753 18754 fi 18755 18756 18757 18758 else 18759 18760 17032 18761 17033 18762 ac_fn_c_check_decl "$LINENO" "IORING_OP_NOP" "ac_cv_have_decl_IORING_OP_NOP" "#include <linux/io_uring.h> … … 17291 19020 if test "x$ac_cv_have_decl_IORING_OP_REMOVE_BUFFER" = xyes; then : 17292 19021 $as_echo "#define CFA_HAVE_IORING_OP_REMOVE_BUFFER 1" >>confdefs.h 19022 19023 fi 19024 19025 19026 19027 19028 fi 19029 19030 19031 else 19032 19033 19034 19035 ac_fn_c_check_decl "$LINENO" "IORING_OP_NOP" "ac_cv_have_decl_IORING_OP_NOP" "#include <linux/io_uring.h> 19036 " 19037 if test "x$ac_cv_have_decl_IORING_OP_NOP" = xyes; then : 19038 $as_echo "#define CFA_HAVE_IORING_OP_NOP 1" >>confdefs.h 19039 19040 fi 19041 19042 19043 ac_fn_c_check_decl "$LINENO" "IORING_OP_READV" "ac_cv_have_decl_IORING_OP_READV" "#include <linux/io_uring.h> 19044 " 19045 if test "x$ac_cv_have_decl_IORING_OP_READV" = xyes; then : 19046 $as_echo "#define CFA_HAVE_IORING_OP_READV 1" >>confdefs.h 19047 19048 fi 19049 19050 19051 ac_fn_c_check_decl "$LINENO" "IORING_OP_WRITEV" "ac_cv_have_decl_IORING_OP_WRITEV" "#include <linux/io_uring.h> 19052 " 19053 if test "x$ac_cv_have_decl_IORING_OP_WRITEV" = xyes; then : 19054 $as_echo "#define CFA_HAVE_IORING_OP_WRITEV 1" >>confdefs.h 19055 19056 fi 19057 19058 19059 ac_fn_c_check_decl "$LINENO" "IORING_OP_FSYNC" "ac_cv_have_decl_IORING_OP_FSYNC" "#include <linux/io_uring.h> 19060 " 19061 if test "x$ac_cv_have_decl_IORING_OP_FSYNC" = xyes; then : 19062 $as_echo "#define CFA_HAVE_IORING_OP_FSYNC 1" >>confdefs.h 19063 19064 fi 19065 19066 19067 ac_fn_c_check_decl "$LINENO" "IORING_OP_READ_FIXED" "ac_cv_have_decl_IORING_OP_READ_FIXED" "#include <linux/io_uring.h> 19068 " 19069 if test "x$ac_cv_have_decl_IORING_OP_READ_FIXED" = xyes; then : 19070 $as_echo "#define CFA_HAVE_IORING_OP_READ_FIXED 1" >>confdefs.h 19071 19072 fi 19073 19074 19075 ac_fn_c_check_decl "$LINENO" "IORING_OP_WRITE_FIXED" "ac_cv_have_decl_IORING_OP_WRITE_FIXED" "#include <linux/io_uring.h> 19076 " 19077 if test "x$ac_cv_have_decl_IORING_OP_WRITE_FIXED" = xyes; then : 19078 $as_echo "#define CFA_HAVE_IORING_OP_WRITE_FIXED 1" >>confdefs.h 19079 19080 fi 19081 19082 19083 ac_fn_c_check_decl "$LINENO" "IORING_OP_POLL_ADD" "ac_cv_have_decl_IORING_OP_POLL_ADD" "#include <linux/io_uring.h> 19084 " 19085 if test "x$ac_cv_have_decl_IORING_OP_POLL_ADD" = xyes; then : 19086 $as_echo "#define CFA_HAVE_IORING_OP_POLL_ADD 1" >>confdefs.h 19087 19088 fi 19089 19090 19091 ac_fn_c_check_decl "$LINENO" "IORING_OP_POLL_REMOVE" "ac_cv_have_decl_IORING_OP_POLL_REMOVE" "#include <linux/io_uring.h> 19092 " 19093 if test "x$ac_cv_have_decl_IORING_OP_POLL_REMOVE" = xyes; then : 19094 $as_echo "#define CFA_HAVE_IORING_OP_POLL_REMOVE 1" >>confdefs.h 19095 19096 fi 19097 19098 19099 ac_fn_c_check_decl "$LINENO" "IORING_OP_SYNC_FILE_RANGE" "ac_cv_have_decl_IORING_OP_SYNC_FILE_RANGE" "#include <linux/io_uring.h> 19100 " 19101 if test "x$ac_cv_have_decl_IORING_OP_SYNC_FILE_RANGE" = xyes; then : 19102 $as_echo "#define CFA_HAVE_IORING_OP_SYNC_FILE_RANGE 1" >>confdefs.h 19103 19104 fi 19105 19106 19107 ac_fn_c_check_decl "$LINENO" "IORING_OP_SENDMSG" "ac_cv_have_decl_IORING_OP_SENDMSG" "#include <linux/io_uring.h> 19108 " 19109 if test "x$ac_cv_have_decl_IORING_OP_SENDMSG" = xyes; then : 19110 $as_echo "#define CFA_HAVE_IORING_OP_SENDMSG 1" >>confdefs.h 19111 19112 fi 19113 19114 19115 ac_fn_c_check_decl "$LINENO" "IORING_OP_RECVMSG" "ac_cv_have_decl_IORING_OP_RECVMSG" "#include <linux/io_uring.h> 19116 " 19117 if test "x$ac_cv_have_decl_IORING_OP_RECVMSG" = xyes; then : 19118 $as_echo "#define CFA_HAVE_IORING_OP_RECVMSG 1" >>confdefs.h 19119 19120 fi 19121 19122 19123 ac_fn_c_check_decl "$LINENO" "IORING_OP_TIMEOUT" "ac_cv_have_decl_IORING_OP_TIMEOUT" "#include <linux/io_uring.h> 19124 " 19125 if test "x$ac_cv_have_decl_IORING_OP_TIMEOUT" = xyes; then : 19126 $as_echo "#define CFA_HAVE_IORING_OP_TIMEOUT 1" >>confdefs.h 19127 19128 fi 19129 19130 19131 ac_fn_c_check_decl "$LINENO" "IORING_OP_TIMEOUT_REMOVE" "ac_cv_have_decl_IORING_OP_TIMEOUT_REMOVE" "#include <linux/io_uring.h> 19132 " 19133 if test "x$ac_cv_have_decl_IORING_OP_TIMEOUT_REMOVE" = xyes; then : 19134 $as_echo "#define CFA_HAVE_IORING_OP_TIMEOUT_REMOVE 1" >>confdefs.h 19135 19136 fi 19137 19138 19139 ac_fn_c_check_decl "$LINENO" "IORING_OP_ACCEPT" "ac_cv_have_decl_IORING_OP_ACCEPT" "#include <linux/io_uring.h> 19140 " 19141 if test "x$ac_cv_have_decl_IORING_OP_ACCEPT" = xyes; then : 19142 $as_echo "#define CFA_HAVE_IORING_OP_ACCEPT 1" >>confdefs.h 19143 19144 fi 19145 19146 19147 ac_fn_c_check_decl "$LINENO" "IORING_OP_ASYNC_CANCEL" "ac_cv_have_decl_IORING_OP_ASYNC_CANCEL" "#include <linux/io_uring.h> 19148 " 19149 if test "x$ac_cv_have_decl_IORING_OP_ASYNC_CANCEL" = xyes; then : 19150 $as_echo "#define CFA_HAVE_IORING_OP_ASYNC_CANCEL 1" >>confdefs.h 19151 19152 fi 19153 19154 19155 ac_fn_c_check_decl "$LINENO" "IORING_OP_LINK_TIMEOUT" "ac_cv_have_decl_IORING_OP_LINK_TIMEOUT" "#include <linux/io_uring.h> 19156 " 19157 if test "x$ac_cv_have_decl_IORING_OP_LINK_TIMEOUT" = xyes; then : 19158 $as_echo "#define CFA_HAVE_IORING_OP_LINK_TIMEOUT 1" >>confdefs.h 19159 19160 fi 19161 19162 19163 ac_fn_c_check_decl "$LINENO" "IORING_OP_CONNECT" "ac_cv_have_decl_IORING_OP_CONNECT" "#include <linux/io_uring.h> 19164 " 19165 if test "x$ac_cv_have_decl_IORING_OP_CONNECT" = xyes; then : 19166 $as_echo "#define CFA_HAVE_IORING_OP_CONNECT 1" >>confdefs.h 19167 19168 fi 19169 19170 19171 ac_fn_c_check_decl "$LINENO" "IORING_OP_FALLOCATE" "ac_cv_have_decl_IORING_OP_FALLOCATE" "#include <linux/io_uring.h> 19172 " 19173 if test "x$ac_cv_have_decl_IORING_OP_FALLOCATE" = xyes; then : 19174 $as_echo "#define CFA_HAVE_IORING_OP_FALLOCATE 1" >>confdefs.h 19175 19176 fi 19177 19178 19179 ac_fn_c_check_decl "$LINENO" "IORING_OP_OPENAT" "ac_cv_have_decl_IORING_OP_OPENAT" "#include <linux/io_uring.h> 19180 " 19181 if test "x$ac_cv_have_decl_IORING_OP_OPENAT" = xyes; then : 19182 $as_echo "#define CFA_HAVE_IORING_OP_OPENAT 1" >>confdefs.h 19183 19184 fi 19185 19186 19187 ac_fn_c_check_decl "$LINENO" "IORING_OP_CLOSE" "ac_cv_have_decl_IORING_OP_CLOSE" "#include <linux/io_uring.h> 19188 " 19189 if test "x$ac_cv_have_decl_IORING_OP_CLOSE" = xyes; then : 19190 $as_echo "#define CFA_HAVE_IORING_OP_CLOSE 1" >>confdefs.h 19191 19192 fi 19193 19194 19195 ac_fn_c_check_decl "$LINENO" "IORING_OP_FILES_UPDATE" "ac_cv_have_decl_IORING_OP_FILES_UPDATE" "#include <linux/io_uring.h> 19196 " 19197 if test "x$ac_cv_have_decl_IORING_OP_FILES_UPDATE" = xyes; then : 19198 $as_echo "#define CFA_HAVE_IORING_OP_FILES_UPDATE 1" >>confdefs.h 19199 19200 fi 19201 19202 19203 ac_fn_c_check_decl "$LINENO" "IORING_OP_STATX" "ac_cv_have_decl_IORING_OP_STATX" "#include <linux/io_uring.h> 19204 " 19205 if test "x$ac_cv_have_decl_IORING_OP_STATX" = xyes; then : 19206 $as_echo "#define CFA_HAVE_IORING_OP_STATX 1" >>confdefs.h 19207 19208 fi 19209 19210 19211 ac_fn_c_check_decl "$LINENO" "IORING_OP_READ" "ac_cv_have_decl_IORING_OP_READ" "#include <linux/io_uring.h> 19212 " 19213 if test "x$ac_cv_have_decl_IORING_OP_READ" = xyes; then : 19214 $as_echo "#define CFA_HAVE_IORING_OP_READ 1" >>confdefs.h 19215 19216 fi 19217 19218 19219 ac_fn_c_check_decl "$LINENO" "IORING_OP_WRITE" "ac_cv_have_decl_IORING_OP_WRITE" "#include <linux/io_uring.h> 19220 " 19221 if test "x$ac_cv_have_decl_IORING_OP_WRITE" = xyes; then : 19222 $as_echo "#define CFA_HAVE_IORING_OP_WRITE 1" >>confdefs.h 19223 19224 fi 19225 19226 19227 ac_fn_c_check_decl "$LINENO" "IORING_OP_FADVISE" "ac_cv_have_decl_IORING_OP_FADVISE" "#include <linux/io_uring.h> 19228 " 19229 if test "x$ac_cv_have_decl_IORING_OP_FADVISE" = xyes; then : 19230 $as_echo "#define CFA_HAVE_IORING_OP_FADVISE 1" >>confdefs.h 19231 19232 fi 19233 19234 19235 ac_fn_c_check_decl "$LINENO" "IORING_OP_MADVISE" "ac_cv_have_decl_IORING_OP_MADVISE" "#include <linux/io_uring.h> 19236 " 19237 if test "x$ac_cv_have_decl_IORING_OP_MADVISE" = xyes; then : 19238 $as_echo "#define CFA_HAVE_IORING_OP_MADVISE 1" >>confdefs.h 19239 19240 fi 19241 19242 19243 ac_fn_c_check_decl "$LINENO" "IORING_OP_SEND" "ac_cv_have_decl_IORING_OP_SEND" "#include <linux/io_uring.h> 19244 " 19245 if test "x$ac_cv_have_decl_IORING_OP_SEND" = xyes; then : 19246 $as_echo "#define CFA_HAVE_IORING_OP_SEND 1" >>confdefs.h 19247 19248 fi 19249 19250 19251 ac_fn_c_check_decl "$LINENO" "IORING_OP_RECV" "ac_cv_have_decl_IORING_OP_RECV" "#include <linux/io_uring.h> 19252 " 19253 if test "x$ac_cv_have_decl_IORING_OP_RECV" = xyes; then : 19254 $as_echo "#define CFA_HAVE_IORING_OP_RECV 1" >>confdefs.h 19255 19256 fi 19257 19258 19259 ac_fn_c_check_decl "$LINENO" "IORING_OP_OPENAT2" "ac_cv_have_decl_IORING_OP_OPENAT2" "#include <linux/io_uring.h> 19260 " 19261 if test "x$ac_cv_have_decl_IORING_OP_OPENAT2" = xyes; then : 19262 $as_echo "#define CFA_HAVE_IORING_OP_OPENAT2 1" >>confdefs.h 19263 19264 fi 19265 19266 19267 ac_fn_c_check_decl "$LINENO" "IORING_OP_EPOLL_CTL" "ac_cv_have_decl_IORING_OP_EPOLL_CTL" "#include <linux/io_uring.h> 19268 " 19269 if test "x$ac_cv_have_decl_IORING_OP_EPOLL_CTL" = xyes; then : 19270 $as_echo "#define CFA_HAVE_IORING_OP_EPOLL_CTL 1" >>confdefs.h 19271 19272 fi 19273 19274 19275 ac_fn_c_check_decl "$LINENO" "IORING_OP_SPLICE" "ac_cv_have_decl_IORING_OP_SPLICE" "#include <linux/io_uring.h> 19276 " 19277 if test "x$ac_cv_have_decl_IORING_OP_SPLICE" = xyes; then : 19278 $as_echo "#define CFA_HAVE_IORING_OP_SPLICE 1" >>confdefs.h 19279 19280 fi 19281 19282 19283 ac_fn_c_check_decl "$LINENO" "IORING_OP_PROVIDE_BUFFERS" "ac_cv_have_decl_IORING_OP_PROVIDE_BUFFERS" "#include <linux/io_uring.h> 19284 " 19285 if test "x$ac_cv_have_decl_IORING_OP_PROVIDE_BUFFERS" = xyes; then : 19286 $as_echo "#define CFA_HAVE_IORING_OP_PROVIDE_BUFFERS 1" >>confdefs.h 19287 19288 fi 19289 19290 19291 ac_fn_c_check_decl "$LINENO" "IORING_OP_REMOVE_BUFFER" "ac_cv_have_decl_IORING_OP_REMOVE_BUFFER" "#include <linux/io_uring.h> 19292 " 19293 if test "x$ac_cv_have_decl_IORING_OP_REMOVE_BUFFER" = xyes; then : 19294 $as_echo "#define CFA_HAVE_IORING_OP_REMOVE_BUFFER 1" >>confdefs.h 19295 19296 fi 19297 19298 19299 17293 19300 17294 19301 fi
Note: See TracChangeset
for help on using the changeset viewer.