]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
Match systemd version with nvme-cli
authorHannes Reinecke <hare@suse.de>
Fri, 30 Apr 2021 11:40:09 +0000 (13:40 +0200)
committerHannes Reinecke <hare@suse.de>
Fri, 11 Jun 2021 08:57:29 +0000 (10:57 +0200)
nvme-cli refers to systemd version 242, so we should be checking
for the same version here to avoid linking failures.

Signed-off-by: Hannes Reinecke <hare@suse.de>
configure

index 3fc24852f07cf53c6f72e70ccb09df73cf20abbb..2481163184a5f6fcd296c4ff8a43c96f307d90a8 100755 (executable)
--- a/configure
+++ b/configure
@@ -195,7 +195,7 @@ print_config "libuuid" "${libuuid}"
 # check for SystemD
 systemd="no"
 if [ -z "$disable_systemd" ] ; then
-    pkg-config --exists libsystemd --atleast-version=232
+    pkg-config --exists libsystemd --atleast-version=242
     if [ $? -eq 0 ]; then
        systemd="yes"
     fi