Switch to unified view

a/configure.ac b/configure.ac
...
...
71
dnl     AC_MSG_ERROR([libthreadutil (part of libupnp) not found]))
71
dnl     AC_MSG_ERROR([libthreadutil (part of libupnp) not found]))
72
72
73
PKG_CHECK_MODULES([upnp], [libupnp], [], AC_MSG_ERROR([libupnp not found]))
73
PKG_CHECK_MODULES([upnp], [libupnp], [], AC_MSG_ERROR([libupnp not found]))
74
PKG_CHECK_MODULES([curl], [libcurl], [], AC_MSG_ERROR([libcurl not found]))
74
PKG_CHECK_MODULES([curl], [libcurl], [], AC_MSG_ERROR([libcurl not found]))
75
PKG_CHECK_MODULES([expat], [expat], [],AC_MSG_ERROR([expat not found]))
75
PKG_CHECK_MODULES([expat], [expat], [],AC_MSG_ERROR([expat not found]))
76
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
77
76
78
LIBUPNPP_LIBS="$LIBS $upnp_LIBS $curl_LIBS $expat_LIBS"
77
LIBUPNPP_LIBS="$LIBS $upnp_LIBS $curl_LIBS $expat_LIBS"
79
echo "LIBUPNPP_LIBS $LIBUPNPP_LIBS"
78
echo "LIBUPNPP_LIBS $LIBUPNPP_LIBS"
79
80
LIBS="$upnp_LIBS"
81
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
80
82
81
LIBS=""
83
LIBS=""
82
                     
84
                     
83
AC_SUBST(LIBUPNPP_LIBS)
85
AC_SUBST(LIBUPNPP_LIBS)
84
AC_SUBST(VERSION_INFO)
86
AC_SUBST(VERSION_INFO)