Switch to unified view

a/configure.ac b/configure.ac
1
AC_INIT([upmpdcli], [0.4], [jfd@lesbonscomptes.com],
1
AC_INIT([upmpdcli], [0.5], [jfd@lesbonscomptes.com],
2
             [upmpdcli], [http://www.lesbonscomptes.com/upnpp])
2
             [upmpdcli], [http://www.lesbonscomptes.com/upnpp])
3
AC_PREREQ([2.53])
3
AC_PREREQ([2.53])
4
AC_CONFIG_SRCDIR([libupnpp/upnpplib.hxx])
4
AC_CONFIG_SRCDIR([libupnpp/upnpplib.hxx])
5
AC_CONFIG_HEADERS([libupnpp/config.h])
5
AC_CONFIG_HEADERS([libupnpp/config.h])
6
6
...
...
16
AC_TYPE_SIZE_T
16
AC_TYPE_SIZE_T
17
AC_TYPE_OFF_T
17
AC_TYPE_OFF_T
18
AC_DEFINE([_LARGE_FILE_SOURCE], [], [Large files support])
18
AC_DEFINE([_LARGE_FILE_SOURCE], [], [Large files support])
19
AC_DEFINE([_FILE_OFFSET_BITS], [64], [File Offset size])
19
AC_DEFINE([_FILE_OFFSET_BITS], [64], [File Offset size])
20
20
21
AC_CHECK_LIB([rt], [clock_gettime], [], [])
22
AC_CHECK_LIB([pthread], [pthread_create], [], [])
23
AC_CHECK_LIB([ixml], [ixmlDocument_getElementsByTagName], [], 
24
           AC_MSG_ERROR([libixml not found]))
21
AC_CHECK_LIB([upnp], [UpnpInit], [true], AC_MSG_ERROR([libupnp not found]))
25
AC_CHECK_LIB([upnp], [UpnpInit], [], AC_MSG_ERROR([libupnp not found]))
26
AC_CHECK_LIB([expat], [XML_ParserCreate], [], 
27
            AC_MSG_ERROR([libexpat not found]))
28
LIBUPNPP_LIBS="$LIBS"
29
22
AC_CHECK_LIB([mpdclient], [mpd_connection_new], [true],
30
AC_CHECK_LIB([mpdclient], [mpd_connection_new], [],
23
                          AC_MSG_ERROR([libmpdclient not found]))
31
                     AC_MSG_ERROR([libmpdclient not found]))
32
33
LIBS=""
24
                     
34
                     
25
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
35
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
26
36
37
AC_SUBST(LIBUPNPP_LIBS)
38
27
AC_CONFIG_FILES([Makefile])
39
AC_CONFIG_FILES([Makefile])
28
AC_OUTPUT
40
AC_OUTPUT