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.
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.
- 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