changeset 2671:1ec45417a16d

Include NEON_LIBS when checking for ne_set_connect_timeout.
author Jonathan Schleifer <js-audacious@webkeks.org>
date Sat, 31 May 2008 23:50:56 +0200
parents 53ed12578b57
children 00d709bf0571
files configure.ac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Sat May 31 23:45:02 2008 +0200
+++ b/configure.ac	Sat May 31 23:50:56 2008 +0200
@@ -1328,9 +1328,9 @@
 
 if test "x$have_neon" = "xyes"; then
     PKG_CHECK_MODULES(NEON, [neon >= 0.26], [TRANSPORT_PLUGINS="$TRANSPORT_PLUGINS neon" ], [have_neon="no"])
-    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`
+    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)])
 else
     have_neon=no
 fi