]> git.ipfire.org Git - thirdparty/util-linux.git/commit
autotools: use PKG_CHECK_MODULES for libudev
authorKarel Zak <kzak@redhat.com>
Thu, 16 Apr 2026 13:31:55 +0000 (15:31 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 28 Apr 2026 09:16:23 +0000 (11:16 +0200)
commit660a5ed7dff9c55cab6107ec24e6223da207d657
tree447332c12bf93142e6c842043d04fc6ef127e29b
parent5779d9562d46ff4793e929e6cdde723513beea3a
autotools: use PKG_CHECK_MODULES for libudev

Replace UL_CHECK_LIB(udev) with PKG_CHECK_MODULES to use the
pkg-config module shipped by libudev. This creates $(UDEV_LIBS)
variable, replacing hardcoded -ludev in Makemodule.am files.

Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
lsblk-cmd/Makemodule.am
misc-utils/Makemodule.am