From 40d50aa35cbba7b50f3221495e43822eb8cb0631 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 5 Jan 2013 16:39:04 +0100 Subject: [PATCH] build: no need to save CFLAGS LDFLAGS when testing libevent --- m4/libevent.m4 | 3 --- 1 file changed, 3 deletions(-) diff --git a/m4/libevent.m4 b/m4/libevent.m4 index 03ed8367..5b7d4fda 100644 --- a/m4/libevent.m4 +++ b/m4/libevent.m4 @@ -3,9 +3,6 @@ # AC_DEFUN([lldp_CHECK_LIBEVENT], [ - _save_LIBS="$LIBS" - _save_CFLAGS="$CFLAGS" - # First, try with pkg-config PKG_CHECK_MODULES([LIBEVENT], [libevent >= 2.0.5], [], [ # No appropriate version, let's use the shipped copy -- 2.39.5