From: Vincent Bernat Date: Wed, 9 Apr 2014 19:06:57 +0000 (+0200) Subject: configure: hide errors when systemd is not present X-Git-Tag: 0.7.8~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=29760896f54e4361632428d81ed1f68d2927ed83;p=thirdparty%2Flldpd.git configure: hide errors when systemd is not present --- 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 ])