From 29760896f54e4361632428d81ed1f68d2927ed83 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 9 Apr 2014 21:06:57 +0200 Subject: [PATCH] configure: hide errors when systemd is not present --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f6a575e5..968c3c84 100644 --- a/configure.ac +++ b/configure.ac @@ -219,7 +219,7 @@ AM_CONDITIONAL(HAVE_LAUNCHDDAEMONSDIR, # Systemd lldp_ARG_WITH([systemdsystemunitdir], [Directory for systemd service files], - [$($PKG_CONFIG --variable=systemdsystemunitdir systemd)]) + [$($PKG_CONFIG --variable=systemdsystemunitdir systemd 2> /dev/null)]) AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir]) AM_CONDITIONAL(HAVE_SYSTEMDSYSTEMUNITDIR, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ]) -- 2.39.5