1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

(trunk) fix "make distcheck" issue raised by a libevent cleanup in 1.4.11

This commit is contained in:
Charles Kerr 2009-05-28 03:36:29 +00:00
parent 8504baf7aa
commit 89b37faa2a

View file

@ -170,10 +170,13 @@ AC_TRY_LINK([#include <stdarg.h>], [va_list ap1, ap2; va_copy(ap1, ap2);],
dnl ---------------------------------------------------------------------------- dnl ----------------------------------------------------------------------------
dnl dnl
dnl libevent fun dnl libevent fun
dnl
dnl we have to add the builddir into the include path because event-config.h
dnl is generated when libevent is build
AC_CONFIG_SUBDIRS([third-party/libevent]) AC_CONFIG_SUBDIRS([third-party/libevent])
AC_MSG_NOTICE([invoking libevent's configure script]) AC_MSG_NOTICE([invoking libevent's configure script])
LIBEVENT_CPPFLAGS="-I\$(top_srcdir)/third-party/libevent" LIBEVENT_CPPFLAGS="-I\$(top_srcdir)/third-party/libevent -I\$(top_builddir)/third-party/libevent"
AC_SUBST(LIBEVENT_CPPFLAGS) AC_SUBST(LIBEVENT_CPPFLAGS)