Files
Fabio Berton 0289eac721 lldpd: Add recipe
lldpd is a 802.1AB implementation, a L2 network discovery protocol.
It also supports CDP, EDP and various other protocols.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-10-21 15:57:26 -04:00

40 lines
1.2 KiB
Diff

Upstream-Status: Submitted [https://github.com/vincentbernat/lldpd/issues/133]
Subject: [PATCH] fix libevent configure
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
---
m4/libevent.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/m4/libevent.m4 b/m4/libevent.m4
index 275e5a5..dcd3309 100644
--- a/m4/libevent.m4
+++ b/m4/libevent.m4
@@ -45,13 +45,11 @@ AC_DEFUN([lldp_CHECK_LIBEVENT], [
AC_MSG_ERROR([*** libevent not found])
fi
])
- fi
if test x"$LIBEVENT_EMBEDDED" != x; then
unset LIBEVENT_LIBS
LIBEVENT_CFLAGS="-I\$(top_srcdir)/libevent/include -I\$(top_builddir)/libevent/include"
LIBEVENT_LDFLAGS="\$(top_builddir)/libevent/libevent.la"
- fi
# Call ./configure in libevent. Need it for make dist...
libevent_configure_args="$libevent_configure_args --disable-libevent-regress"
@@ -64,6 +62,8 @@ AC_DEFUN([lldp_CHECK_LIBEVENT], [
libevent_configure_args="$libevent_configure_args --with-pic"
libevent_configure_args="$libevent_configure_args --enable-static"
lldp_CONFIG_SUBDIRS([libevent], [$libevent_configure_args])
+ fi
+ fi
AM_CONDITIONAL([LIBEVENT_EMBEDDED], [test x"$LIBEVENT_EMBEDDED" != x])
AC_SUBST([LIBEVENT_LIBS])
--
2.1.4