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

configure: correctly handle systemd versions before 245 #365

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Conversation

TvdW
Copy link
Contributor

@TvdW TvdW commented Jan 25, 2024

PKG_CHECK_MODULES macros need to have unique prefixes, or the latter ones are ignored. In configure.ac we were checking for SYSTEMD_JOURNAL twice, once for the presence of systemd in general, then again for namespace support. However, since the first call would already set the variables, the second check would re-use those.

This results in namespace support getting enabled in systemd versions that don't support it, and the build failing.

PKG_CHECK_MODULES macros need to have unique prefixes, or the latter
ones are ignored. In configure.ac we were checking for SYSTEMD_JOURNAL
twice, once for the presence of systemd in general, then again for
namespace support. However, since the first call would already set the
variables, the second check would re-use those.

This results in namespace support getting enabled in systemd versions
that don't support it, and the build failing.
@justin-stephenson
Copy link
Collaborator

Thank you for the PR !

@justin-stephenson justin-stephenson merged commit 46d3cdc into Scribery:main Jan 29, 2024
1 of 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