Add minimal autotools configuration for GitHub Actions workflow compatibility#2
Draft
Copilot wants to merge 2 commits into
Draft
Add minimal autotools configuration for GitHub Actions workflow compatibility#2Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
…kflow Co-authored-by: nanocoh <115838389+nanocoh@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add missing configure.ac file to repository root to fix CI
Add minimal autotools configuration for GitHub Actions workflow compatibility
Jul 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The GitHub Actions C/C++ CI workflow was failing because it expected an autotools-based build system (using
autoreconf,configure,make) but the repository only contained CMake configuration files. The workflow was failing at theautoreconf -istep due to the missingconfigure.acfile.Solution
Added minimal autotools configuration files to make the existing GitHub Actions workflow pass while preserving the project's CMake-based build system:
Files Added
configure.ac- Minimal autoconf configuration as specified in the issue:foreignmode to avoid requiring standard GNU files (AUTHORS, ChangeLog, NEWS)Makefile.am- Minimal automake template that provides informational output:.gitignore- Excludes autotools-generated files from version control:Testing
Verified that all GitHub Actions workflow steps now complete successfully:
autoreconf -i- Generates configure script and supporting files./configure- Runs configuration checksmake- Executes (with informational output)make check- Runs tests (no-op)make distcheck- Creates distribution archiveImpact
This is a compatibility layer that allows the CI to pass while the project continues to use CMake for actual development and building.
This pull request was created as a result of the following prompt from Copilot chat.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.