mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
(trunk) tweak configure.ac to fix a hiccup reported by geirha
This commit is contained in:
parent
ba3720f050
commit
f64ef6acde
1 changed files with 2 additions and 2 deletions
|
@ -169,13 +169,13 @@ AC_TRY_LINK([#include <stdarg.h>], [va_list ap1, ap2; va_copy(ap1, ap2);],
|
||||||
AC_CHECK_HEADER([event-config.h],
|
AC_CHECK_HEADER([event-config.h],
|
||||||
[libevent_source=system
|
[libevent_source=system
|
||||||
LIBEVENT_CPPFLAGS=""
|
LIBEVENT_CPPFLAGS=""
|
||||||
LIBEVENT_LIBS="-levent"],
|
LIBEVENT_LIBS="-levent -lrt"],
|
||||||
[libevent_source=bundled
|
[libevent_source=bundled
|
||||||
AC_MSG_NOTICE([couldn't find event-config.h, so using our own copy of libevent from third-party/libevent/.])
|
AC_MSG_NOTICE([couldn't find event-config.h, so using our own copy of libevent from third-party/libevent/.])
|
||||||
AC_MSG_NOTICE([if you are cross-compiling this is probably NOT what you want.])
|
AC_MSG_NOTICE([if you are cross-compiling this is probably NOT what you want.])
|
||||||
AC_CONFIG_SUBDIRS([third-party/libevent])
|
AC_CONFIG_SUBDIRS([third-party/libevent])
|
||||||
LIBEVENT_CPPFLAGS="-I\$(top_srcdir)/third-party/libevent -I\$(top_builddir)/third-party/libevent"
|
LIBEVENT_CPPFLAGS="-I\$(top_srcdir)/third-party/libevent -I\$(top_builddir)/third-party/libevent"
|
||||||
LIBEVENT_LIBS="\$(top_builddir)/third-party/libevent/.libs/libevent.a"])
|
LIBEVENT_LIBS="\$(top_builddir)/third-party/libevent/libevent.la"])
|
||||||
AM_CONDITIONAL([BUILD_LIBEVENT], [test x$libevent_source = xbundled])
|
AM_CONDITIONAL([BUILD_LIBEVENT], [test x$libevent_source = xbundled])
|
||||||
AC_SUBST(LIBEVENT_CPPFLAGS)
|
AC_SUBST(LIBEVENT_CPPFLAGS)
|
||||||
AC_SUBST(LIBEVENT_LIBS)
|
AC_SUBST(LIBEVENT_LIBS)
|
||||||
|
|
Loading…
Reference in a new issue