|
a/configure.ac |
|
b/configure.ac |
|
... |
|
... |
62 |
]
|
62 |
]
|
63 |
)
|
63 |
)
|
64 |
AC_MSG_RESULT([$have_std_future])
|
64 |
AC_MSG_RESULT([$have_std_future])
|
65 |
AC_LANG_POP
|
65 |
AC_LANG_POP
|
66 |
|
66 |
|
67 |
# The 2 following checks for libthreadutil and libixml are normally
|
67 |
dnl The following check for libthreadutil is normally unnecessary and even
|
68 |
# unnecessary and even problematic. libupnpp does not use them directly,
|
68 |
dnl problematic. libupnpp does not use it directly, Still you may need it to
|
69 |
# and they should be used automatically because libupnpp is linked with them.
|
69 |
dnl add it on some systems.
|
70 |
# Still you may need them to include them on some systems where the
|
|
|
71 |
# automatic link does not work.
|
|
|
72 |
dnl AC_CHECK_LIB([threadutil], [TimerThreadRemove], [],
|
70 |
dnl AC_CHECK_LIB([threadutil], [TimerThreadRemove], [],
|
73 |
dnl AC_MSG_ERROR([libthreadutil (part of libupnp) not found]))
|
71 |
dnl AC_MSG_ERROR([libthreadutil (part of libupnp) not found]))
|
74 |
dnl AC_CHECK_LIB([ixml], [ixmlDocument_getElementsByTagName], [],
|
|
|
75 |
dnl AC_MSG_ERROR([libixml (part of libupnp) not found]))
|
|
|
76 |
|
72 |
|
77 |
AC_CHECK_LIB([upnp], [UpnpInit], [], AC_MSG_ERROR([libupnp not found]))
|
73 |
AC_CHECK_LIB([upnp], [UpnpInit], [], AC_MSG_ERROR([libupnp not found]))
|
|
|
74 |
AC_CHECK_LIB([ixml], [ixmlPrintDocument], [], AC_MSG_ERROR([libixml not found]))
|
78 |
AC_CHECK_LIB([curl], [curl_easy_init], [], AC_MSG_ERROR([libcurl not found]))
|
75 |
AC_CHECK_LIB([curl], [curl_easy_init], [], AC_MSG_ERROR([libcurl not found]))
|
79 |
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
|
76 |
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
|
80 |
AC_CHECK_LIB([expat], [XML_ParserCreate], [],
|
77 |
AC_CHECK_LIB([expat], [XML_ParserCreate], [],AC_MSG_ERROR([libexpat not found]))
|
81 |
AC_MSG_ERROR([libexpat not found]))
|
78 |
|
82 |
LIBUPNPP_LIBS="$LIBS"
|
79 |
LIBUPNPP_LIBS="$LIBS"
|
83 |
|
|
|
84 |
echo "LIBUPNPP_LIBS $LIBUPNPP_LIBS"
|
80 |
echo "LIBUPNPP_LIBS $LIBUPNPP_LIBS"
|
85 |
|
81 |
|
86 |
LIBS=""
|
82 |
LIBS=""
|
87 |
|
83 |
|
88 |
AC_SUBST(LIBUPNPP_LIBS)
|
84 |
AC_SUBST(LIBUPNPP_LIBS)
|