diff --git a/configure b/configure index f117e9bcb1..3a785ce946 100755 --- a/configure +++ b/configure @@ -785,6 +785,11 @@ if [[ "${CONFIG[URING]}" = "y" ]]; then echo "${CONFIG[URING_PATH]}: directory not found" exit 1 fi + elif ! echo -e '#include \nint main(void) { return 0; }\n' \ + | "${BUILD_CMD[@]}" -luring - 2> /dev/null; then + echo "--with-uring requires liburing." + echo "Please build and install then re-run this script." + exit 1 fi fi