mirror of
https://github.com/transmission/transmission
synced 2025-02-13 18:04:43 +00:00
(trunk) add a better libevent autoconf error message -- instead of "libevent not found", say "libevent 1.4.9 or higher not found"
This commit is contained in:
parent
acd0e77901
commit
1bd55f2b2f
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ AM_CONDITIONAL(TR_UNSTABLE, test "x$supported_build" = "xno")
|
||||||
##
|
##
|
||||||
CURL_MINIMUM=7.15.4
|
CURL_MINIMUM=7.15.4
|
||||||
AC_SUBST(CURL_MINIMUM)
|
AC_SUBST(CURL_MINIMUM)
|
||||||
LIBEVENT_MINIMUM=1.4.5
|
LIBEVENT_MINIMUM=1.4.9
|
||||||
AC_SUBST(LIBEVENT_MINIUM)
|
AC_SUBST(LIBEVENT_MINIUM)
|
||||||
OPENSSL_MINIMUM=0.9.4
|
OPENSSL_MINIMUM=0.9.4
|
||||||
AC_SUBST(OPENSSL_MINIMUM)
|
AC_SUBST(OPENSSL_MINIMUM)
|
||||||
|
@ -211,7 +211,7 @@ if test "x$user_specified_libevent" == "xyes"; then
|
||||||
else
|
else
|
||||||
AC_CHECK_LIB([event],[evutil_vsnprintf],
|
AC_CHECK_LIB([event],[evutil_vsnprintf],
|
||||||
[],
|
[],
|
||||||
[AC_MSG_ERROR(libevent not found!)],
|
[AC_MSG_ERROR(libevent $LIBEVENT_MINIMUM or higher not found!)],
|
||||||
[$libevent_extra_libs])
|
[$libevent_extra_libs])
|
||||||
AC_CHECK_HEADER([event-config.h],[],
|
AC_CHECK_HEADER([event-config.h],[],
|
||||||
[AC_MSG_ERROR(event-config.h not found!)])
|
[AC_MSG_ERROR(event-config.h not found!)])
|
||||||
|
|
Loading…
Reference in a new issue