From e4023e42a8cb0d267870db82f75e23d4efb9fbd9 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 31 Mar 2016 14:50:16 -0700 Subject: Only build devname2devid when libudev headers are available Accidentally introduced by commit 39fc0cb. The devname2devid utility which depends on libudev must only be built when libudev headers are available. This is accomplished through an AM_CONDITIONAL. Signed-off-by: Brian Behlendorf Issue #4416 --- tests/zfs-tests/cmd/devname2devid/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/zfs-tests/cmd/devname2devid/Makefile.am b/tests/zfs-tests/cmd/devname2devid/Makefile.am index 55811b7a7..a8991bb78 100644 --- a/tests/zfs-tests/cmd/devname2devid/Makefile.am +++ b/tests/zfs-tests/cmd/devname2devid/Makefile.am @@ -2,6 +2,8 @@ include $(top_srcdir)/config/Rules.am pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin +if WANT_DEVNAME2DEVID pkgexec_PROGRAMS = devname2devid devname2devid_SOURCES = devname2devid.c devname2devid_LDADD = -ludev +endif -- cgit v1.2.3