--- /tmp/build/tmp-vlc/vlc-0.8.6h/configure.ac.orig 2008-06-17 11:34:12.000000000 +0200 +++ /tmp/build/tmp-vlc/vlc-0.8.6h/configure.ac 2008-06-17 12:17:33.000000000 +0200 @@ -4362,12 +4362,12 @@ VLC_ADD_CXXFLAGS([upnp_intel], [ ]) AS_IF([test "x${enable_upnp}" != "xno"], [ - AC_CHECK_LIB([upnp], [UpnpInit], [has_upnp="yes"], [has_upnp="no"], [-lpthread]) + AC_CHECK_LIB([upnp], [UpnpInit], [has_upnp="yes"], [has_upnp="no"], [-lthreadutil -lixml -lpthread]) AS_IF([test "x${enable_upnp}" != "x" && test "${has_upnp}" = "no"], [ AC_MSG_ERROR([cannot find Intel UPnP SDK (libupnp)]) ]) AS_IF([test "${has_upnp}" = "yes"], [ - VLC_ADD_LDFLAGS([upnp_intel], [-lupnp]) + VLC_ADD_LDFLAGS([upnp_intel], [-lupnp -lthreadutil -lixml]) ]) ], [ has_upnp="no"