Skip to content

configure: don't require corosync libs when --disable-qdevices is used#41

Open
skirmess wants to merge 1 commit into
corosync:mainfrom
skirmess:configure-disable-qdevices
Open

configure: don't require corosync libs when --disable-qdevices is used#41
skirmess wants to merge 1 commit into
corosync:mainfrom
skirmess:configure-disable-qdevices

Conversation

@skirmess

@skirmess skirmess commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Problem

libcorosync_common, libcmap and libvotequorum are only needed by
corosync-qdevice, not by corosync-qnetd. However, configure always
checked for these libraries unconditionally, even when --disable-qdevices
was passed. This made it impossible to build corosync-qnetd on systems
without corosync installed (e.g. a dedicated qnetd host running a non-Linux OS).

Fix

Move the three PKG_CHECK_MODULES calls for the corosync libraries inside
the enable_qdevices conditional, which is already used to guard the
AM_CONDITIONAL(BUILD_QDEVICES, ...) call.

Testing

Tested on Fedora with --disable-qdevices (builds successfully without
corosync headers) and without the flag (configure correctly errors out when
corosync libraries are missing).

🤖 Generated with Claude Code

libcorosync_common, libcmap and libvotequorum are only needed by
corosync-qdevice, not by corosync-qnetd. Move the PKG_CHECK_MODULES
calls for these libraries inside the enable_qdevices conditional so
that systems without corosync installed can still build corosync-qnetd
with --disable-qdevices.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@knet-jenkins

knet-jenkins Bot commented Jun 6, 2026

Copy link
Copy Markdown

Can one of the project admins check and authorise this run please: https://haci.fast.eng.rdu2.dc.redhat.com/job/corosync-qdevice/job/corosync-qdevice-pipeline/job/PR-41/1/input

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.

1 participant