From 648a776493719d3027f3e74493709bacd9bae3e0 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 15 Jan 2008 12:45:53 +0000 Subject: [PATCH] late flags. git-svn-id: file:///svn/unbound/trunk@852 be551aaa-1e26-0410-a405-d3ace91eadb9 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 850162a7c..8a69bbdd6 100644 --- a/configure.ac +++ b/configure.ac @@ -511,7 +511,7 @@ if test x_$withval != x_no; then # libevent source directory AC_MSG_RESULT(found in $thedir) CPPFLAGS="$CPPFLAGS -I$thedir"; - LDFLAGS="$thedir/*.lo $LDFLAGS"; + LATE_LDFLAGS="$thedir/*.lo"; else AC_MSG_ERROR([Cannot find the libevent library in $withval You can restart ./configure --with-libevent=no to use a builtin alternative. @@ -627,6 +627,7 @@ AC_DEFINE(HAVE_STRLCPY) AC_DEFINE(HAVE_MEMMOVE) AC_DEFINE(HAVE_GETADDRINFO) ]) +LDFLAGS="$LATE_LDFLAGS $LDFLAGS"; AC_DEFINE_UNQUOTED([MAXSYSLOGMSGLEN], [5120], [Define to the maximum message length to pass to syslog.]) -- 2.47.2