(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
1 changed files with 4 additions and 1 deletions

View File

@ -170,10 +170,13 @@ AC_TRY_LINK([#include <stdarg.h>], [va_list ap1, ap2; va_copy(ap1, ap2);],
dnl ----------------------------------------------------------------------------
dnl
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_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)