Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ./configure --disable-xxxx handling. #477

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

chadf
Copy link
Contributor

@chadf chadf commented Oct 16, 2023

The configure script assumes AC_ARG_ENABLE set is only triggered with --enable-xxxx. This breaks when --disable-xxxx is used. Removing handling from AC_ARG_ENABLE and checking $enable_xxxx directly fixes this issue.

There are some other cases where AC_ARG_ENABLE is setting a custom variable. These were left unchanged and may have the same issue if using hard-coded yes values instead of $enableval.

@chadf
Copy link
Contributor Author

chadf commented Oct 17, 2023

Additional note: I was unable to test with --enable-ftconv due to not having the required "flow-tools" dependencies.

Corrected use of $enabled_xxxx vs $build_xxxx where appropriete.
Copy link
Owner

@phaag phaag left a comment

Choose a reason for hiding this comment

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

Thanks for the patch. Even after years, autotools are still a mystery :)

@phaag
Copy link
Owner

phaag commented Oct 18, 2023

Thanks!

@phaag phaag closed this Oct 18, 2023
@chadf
Copy link
Contributor Author

chadf commented Oct 18, 2023

I also pushed another commit [to the same branch] to attempt to fix the remaining issues, if you're interested.

Copy link
Owner

@phaag phaag left a comment

Choose a reason for hiding this comment

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

Thanks

@phaag phaag reopened this Oct 19, 2023
@phaag phaag merged commit fded574 into phaag:master Oct 19, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants