Add configure.ac file to fix CI workflow autoreconf failure#3
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
Co-authored-by: nanocoh <115838389+nanocoh@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add configure.ac to repository root to fix CI failure
Add configure.ac file to fix CI workflow autoreconf failure
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.
Fixes the CI workflow failure by adding the missing
configure.acfile required by the autotools build system.Problem
The CI workflow in
.github/workflows/c-cpp.ymlwas failing at theautoreconf -istep because the repository was missing the requiredconfigure.acfile. The workflow expects to use autotools commands (autoreconf,./configure,make,make check,make distcheck) but the project only had CMake configuration.Solution
Added minimal autotools support alongside the existing CMake build system:
configure.ac - Added with the exact content specified in the issue:
Makefile.am - Added minimal configuration to support the autotools build targets expected by CI
.gitignore - Added to exclude autotools-generated files from version control
Testing
Verified that all CI workflow commands now work successfully:
autoreconf -i- Generates configure script./configure- Configures the buildmake- Builds successfullymake check- Runs checksmake distcheck- Creates and validates distributionThe existing CMake build system remains unaffected and can still be used for development.
Impact
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.