libevent .lo file linking.

git-svn-id: file:///svn/unbound/trunk@837 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2008-01-10 14:00:07 +00:00
parent 1e4dc049eb
commit fe6f28ddc5
3 changed files with 5 additions and 4 deletions

4
configure vendored
View file

@ -21684,12 +21684,12 @@ echo $ECHO_N "checking for libevent... $ECHO_C" >&6; }
fi
done
if test x_$found_libevent != x_yes; then
if test -f "$dir/event.h" -a -f "$dir/.libs/libevent.a"; then
if test -f "$dir/event.h" -a -f "$dir/libevent.la"; then
# libevent source directory
{ echo "$as_me:$LINENO: result: found in $thedir" >&5
echo "${ECHO_T}found in $thedir" >&6; }
CPPFLAGS="$CPPFLAGS -I$thedir";
LDFLAGS="$thedir/.libs/*.o $LDFLAGS";
LDFLAGS="$thedir/*.lo $LDFLAGS";
else
{ { echo "$as_me:$LINENO: error: Cannot find the libevent library in $withval
You can restart ./configure --with-libevent=no to use a builtin alternative.

View file

@ -496,11 +496,11 @@ if test x_$withval != x_no; then
fi
done
if test x_$found_libevent != x_yes; then
if test -f "$dir/event.h" -a -f "$dir/.libs/libevent.a"; then
if test -f "$dir/event.h" -a -f "$dir/libevent.la"; then
# libevent source directory
AC_MSG_RESULT(found in $thedir)
CPPFLAGS="$CPPFLAGS -I$thedir";
LDFLAGS="$thedir/.libs/*.o $LDFLAGS";
LDFLAGS="$thedir/*.lo $LDFLAGS";
else
AC_MSG_ERROR([Cannot find the libevent library in $withval
You can restart ./configure --with-libevent=no to use a builtin alternative.

View file

@ -3,6 +3,7 @@
- made using ldns-src that is included the package more portable
by linking with .lo instead of .o files in the ldns package.
- nicer do-ip6: yes/no documentation.
- nicer linking of libevent .o files.
9 January 2008: Wouter
- fixup openssl RAND problem, when the system is not configured to