diff -uarN vlc-0.9.0-test2.orig/configure.ac vlc-0.9.0-test2/configure.ac --- vlc-0.9.0-test2.orig/configure.ac 2008-07-05 00:03:20.000000000 +0200 +++ vlc-0.9.0-test2/configure.ac 2008-07-05 21:52:01.000000000 +0200 @@ -4767,12 +4767,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_LIBS([upnp_intel], [-lupnp -lixml]) + VLC_ADD_LIBS([upnp_intel], [-lupnp -lthreadutil -lixml]) ]) ], [ has_upnp="no"