From: Vincent Bernat Date: Sat, 5 Jan 2013 15:39:04 +0000 (+0100) Subject: build: no need to save CFLAGS LDFLAGS when testing libevent X-Git-Tag: 0.7.0~14^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40d50aa35cbba7b50f3221495e43822eb8cb0631;p=thirdparty%2Flldpd.git build: no need to save CFLAGS LDFLAGS when testing libevent --- 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