From c7b65343d3c250a788e678af75aecd07edfad363 Mon Sep 17 00:00:00 2001 From: guruchandru Date: Mon, 2 Mar 2026 13:42:13 -0800 Subject: [PATCH] RDKB-63015: Fix to support repo without autogen script Updating the build_native.sh to use autoreconf when autogen.sh is not available but configure.ac is available --- cov_docker_script/build_native.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cov_docker_script/build_native.sh b/cov_docker_script/build_native.sh index 05a7d7f..c4c66ea 100755 --- a/cov_docker_script/build_native.sh +++ b/cov_docker_script/build_native.sh @@ -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" + if ! autoreconf -fi; then + err "autoreconf failed" + return 1 + fi + ok "autoreconf completed" + echo "" fi # Configure