Mercurial > audlegacy-plugins
changeset 2670:53ed12578b57
Don't check for neon 0.27, but for ne_set_connect_timeout.
author | Jonathan Schleifer <js-audacious@webkeks.org> |
---|---|
date | Sat, 31 May 2008 23:45:02 +0200 |
parents | ed0ad7b373d3 |
children | 1ec45417a16d |
files | configure.ac src/neon/neon.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Sat May 31 14:17:37 2008 +0200 +++ b/configure.ac Sat May 31 23:45:02 2008 +0200 @@ -1328,7 +1328,7 @@ if test "x$have_neon" = "xyes"; then PKG_CHECK_MODULES(NEON, [neon >= 0.26], [TRANSPORT_PLUGINS="$TRANSPORT_PLUGINS neon" ], [have_neon="no"]) - PKG_CHECK_MODULES(NEON, [neon >= 0.27], [AC_DEFINE([HAVE_NEON_027], 1, [Define if you have libneon 0.27 or newer.])]) + AC_CHECK_LIB(neon, ne_set_connect_timeout, [AC_DEFINE(HAVE_NE_SET_CONNECT_TIMEOUT, 1, [Whether we have ne_set_connect_timeout])]) NEON_LIBS=`pkg-config --libs neon` NEON_CFLAGS=`pkg-config --cflags neon` else
--- a/src/neon/neon.c Sat May 31 14:17:37 2008 +0200 +++ b/src/neon/neon.c Sat May 31 23:45:02 2008 +0200 @@ -670,7 +670,7 @@ ne_set_session_flag(handle->session, NE_SESSFLAG_ICYPROTO, 1); ne_set_session_flag(handle->session, NE_SESSFLAG_PERSIST, 0); -#ifdef HAVE_NEON_027 +#ifdef HAVE_NE_SET_CONNECT_TIMEOUT ne_set_connect_timeout(handle->session, 10); #endif