Switch to unified view

a/configure.ac b/configure.ac
1
1
2
# Software version. There is no direct link with the library version_info
2
# Software version. There is no direct link with the library version_info
3
# except that we sort or promise that no api and abi incompatibilities
3
# except that we sort or promise that no api and abi incompatibilities
4
# occur with revision (3rd number) changes.
4
# occur with revision (3rd number) changes.
5
AC_INIT([libupnpp], [0.12.1], [jfd@lesbonscomptes.com],
5
AC_INIT([libupnpp], [0.13.0], [jfd@lesbonscomptes.com],
6
             [libupnpp], [http://www.lesbonscomptes.com/upmpdcli])
6
             [libupnpp], [http://www.lesbonscomptes.com/upmpdcli])
7
7
8
# Lib version info. See:
8
# Lib version info. See:
9
# https://www.sourceware.org/autobook/autobook/autobook_91.html#SEC91
9
# https://www.sourceware.org/autobook/autobook/autobook_91.html#SEC91
10
# https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
10
# https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
...
...
19
#   increment age.
19
#   increment age.
20
# - If any interfaces have been removed or changed since the last public
20
# - If any interfaces have been removed or changed since the last public
21
#   release, then set age to 0 AND CHANGE PACKAGE NAME. 
21
#   release, then set age to 0 AND CHANGE PACKAGE NAME. 
22
# libupnpp packages are named libupnppX where X is the c number above. This
22
# libupnpp packages are named libupnppX where X is the c number above. This
23
# allows packages for multiple incompatible ABIs to be installed
23
# allows packages for multiple incompatible ABIs to be installed
24
VERSION_INFO=3:0:1
24
VERSION_INFO=4:0:2
25
25
26
AC_PREREQ([2.53])
26
AC_PREREQ([2.53])
27
AC_CONFIG_SRCDIR([libupnpp/upnpplib.hxx])
27
AC_CONFIG_SRCDIR([libupnpp/upnpplib.hxx])
28
AC_CONFIG_HEADERS([libupnpp/config.h])
28
AC_CONFIG_HEADERS([libupnpp/config.h])
29
AH_BOTTOM([#include "libupnpp/conf_post.h"])
29
AH_BOTTOM([#include "libupnpp/conf_post.h"])
...
...
69
dnl     AC_MSG_ERROR([libthreadutil (part of libupnp) not found]))
69
dnl     AC_MSG_ERROR([libthreadutil (part of libupnp) not found]))
70
dnl AC_CHECK_LIB([ixml], [ixmlDocument_getElementsByTagName], [], 
70
dnl AC_CHECK_LIB([ixml], [ixmlDocument_getElementsByTagName], [], 
71
dnl     AC_MSG_ERROR([libixml (part of libupnp) not found]))
71
dnl     AC_MSG_ERROR([libixml (part of libupnp) not found]))
72
72
73
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]))
74
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]))
75
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
76
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
76
AC_CHECK_LIB([expat], [XML_ParserCreate], [], 
77
AC_CHECK_LIB([expat], [XML_ParserCreate], [], 
77
              AC_MSG_ERROR([libexpat not found]))
78
              AC_MSG_ERROR([libexpat not found]))
78
LIBUPNPP_LIBS="$LIBS"
79
LIBUPNPP_LIBS="$LIBS"