Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cov_docker_script/build_native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,16 @@ build_component_autotools() {
fi
ok "autogen.sh completed"
echo ""
elif [[ ! -f "./configure" ]] && [[ -f "./configure.ac" ]]; then
# No autogen.sh and no configure, but configure.ac exists
# Run autoreconf to generate configure script
step "Running autoreconf to generate configure script"
Comment on lines +243 to +246
Copy link

Copilot AI Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The autoreconf fallback only checks for configure.ac. Some autotools projects use configure.in instead; in that case this branch is skipped and the next step tries to run ./configure even though it was never generated, causing an immediate build failure. Consider treating configure.in the same as configure.ac (or failing early with a clear error if neither is present and ./configure is missing).

Copilot uses AI. Check for mistakes.
if ! autoreconf -fi; then
err "autoreconf failed"
return 1
fi
ok "autoreconf completed"
echo ""
fi

# Configure
Expand Down
Loading