mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 05:18:47 +00:00
Build was broken if systemd was not installed
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
858aa29c68
commit
f87adf0a5f
@ -326,7 +326,7 @@ if test x"${enable_time_check}" != x"no" ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x"${enable_systemd}" != x"no" ; then
|
if test "${enable_systemd}" = "yes" ; then
|
||||||
AC_DEFINE(HAVE_SYSTEMD,,Compile systemd support in)
|
AC_DEFINE(HAVE_SYSTEMD,,Compile systemd support in)
|
||||||
LIBS="$LIBS -lsystemd "
|
LIBS="$LIBS -lsystemd "
|
||||||
fi
|
fi
|
||||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -66,7 +66,7 @@ override_dh_auto_configure:
|
|||||||
--enable-werror \
|
--enable-werror \
|
||||||
--enable-gcc-rdynamic \
|
--enable-gcc-rdynamic \
|
||||||
--with-libpam \
|
--with-libpam \
|
||||||
--enable-systemd \
|
--enable-systemd=yes \
|
||||||
--enable-dependency-tracking; \
|
--enable-dependency-tracking; \
|
||||||
fi
|
fi
|
||||||
if ! diff -b -IHAVE_SNMP -IHAVE_NETSNMP -IUCD_COMPAT -IGETIFADDR debian/my/config.h.reference config.h; then \
|
if ! diff -b -IHAVE_SNMP -IHAVE_NETSNMP -IUCD_COMPAT -IGETIFADDR debian/my/config.h.reference config.h; then \
|
||||||
|
Loading…
Reference in New Issue
Block a user