--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Software version. There is no direct link with the library version_info
# except that we sort or promise that no api and abi incompatibilities
# occur with revision (3rd number) changes.
-AC_INIT([libupnpp], [0.11.0], [jfd@lesbonscomptes.com],
+AC_INIT([libupnpp], [0.12.1], [jfd@lesbonscomptes.com],
[libupnpp], [http://www.lesbonscomptes.com/upmpdcli])
# Lib version info. See:
@@ -21,7 +21,7 @@
# release, then set age to 0 AND CHANGE PACKAGE NAME.
# libupnpp packages are named libupnppX where X is the c number above. This
# allows packages for multiple incompatible ABIs to be installed
-VERSION_INFO=2:0:0
+VERSION_INFO=3:0:1
AC_PREREQ([2.53])
AC_CONFIG_SRCDIR([libupnpp/upnpplib.hxx])
@@ -59,14 +59,25 @@
AC_CHECK_LIB([rt], [clock_gettime], [], [])
AC_CHECK_LIB([pthread], [pthread_create], [], [])
+
+# The 2 following checks for libthreadutil and libixml are normally
+# unnecessary and even problematic. libupnpp does not use them directly,
+# and they should be used automatically because libupnpp is linked with them.
+# Still you may need them to include them on some systems where the
+# automatic link does not work.
+dnl AC_CHECK_LIB([threadutil], [TimerThreadRemove], [],
+dnl AC_MSG_ERROR([libthreadutil (part of libupnp) not found]))
+dnl AC_CHECK_LIB([ixml], [ixmlDocument_getElementsByTagName], [],
+dnl AC_MSG_ERROR([libixml (part of libupnp) not found]))
+
AC_CHECK_LIB([upnp], [UpnpInit], [], AC_MSG_ERROR([libupnp not found]))
AC_CHECK_LIB([curl], [curl_easy_init], [], AC_MSG_ERROR([libcurl not found]))
-AC_CHECK_LIB([ixml], [ixmlDocument_getElementsByTagName], [],
- AC_MSG_ERROR([libixml (usually installed as part of libupnp) not found]))
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
AC_CHECK_LIB([expat], [XML_ParserCreate], [],
AC_MSG_ERROR([libexpat not found]))
LIBUPNPP_LIBS="$LIBS"
+
+echo "LIBUPNPP_LIBS $LIBUPNPP_LIBS"
LIBS=""