|
a/configure.ac |
|
b/configure.ac |
|
... |
|
... |
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], [], [])
|
21 |
AC_CHECK_LIB([rt], [clock_gettime], [], [])
|
22 |
AC_CHECK_LIB([pthread], [pthread_create], [], [])
|
22 |
AC_CHECK_LIB([pthread], [pthread_create], [], [])
|
23 |
AC_CHECK_LIB([upnp], [UpnpInit], [], AC_MSG_ERROR([libupnp not found]))
|
|
|
24 |
AC_CHECK_LIB([ixml], [ixmlDocument_getElementsByTagName], [],
|
23 |
AC_CHECK_LIB([ixml], [ixmlDocument_getElementsByTagName], [],
|
25 |
AC_MSG_ERROR([libixml not found]))
|
24 |
AC_MSG_ERROR([libixml 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]))
|
26 |
LIBUPNPP_LIBS="$LIBS"
|
28 |
LIBUPNPP_LIBS="$LIBS"
|
27 |
|
29 |
|
28 |
AC_CHECK_LIB([mpdclient], [mpd_connection_new], [],
|
30 |
AC_CHECK_LIB([mpdclient], [mpd_connection_new], [],
|
29 |
AC_MSG_ERROR([libmpdclient not found]))
|
31 |
AC_MSG_ERROR([libmpdclient not found]))
|
|
|
32 |
|
|
|
33 |
LIBS=""
|
30 |
|
34 |
|
31 |
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
|
35 |
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
|
32 |
|
36 |
|
33 |
AC_SUBST(LIBUPNPP_LIBS)
|
37 |
AC_SUBST(LIBUPNPP_LIBS)
|
34 |
|
38 |
|