Switch to unified view

a/configure.ac b/configure.ac
...
...
22
AC_CHECK_LIB([rt], [clock_gettime], [], [])
22
AC_CHECK_LIB([rt], [clock_gettime], [], [])
23
AC_CHECK_LIB([pthread], [pthread_create], [], [])
23
AC_CHECK_LIB([pthread], [pthread_create], [], [])
24
AC_CHECK_LIB([upnp], [UpnpInit], [], AC_MSG_ERROR([libupnp not found]))
24
AC_CHECK_LIB([upnp], [UpnpInit], [], AC_MSG_ERROR([libupnp not found]))
25
AC_CHECK_LIB([ixml], [ixmlDocument_getElementsByTagName], [], 
25
AC_CHECK_LIB([ixml], [ixmlDocument_getElementsByTagName], [], 
26
             AC_MSG_ERROR([libixml (usually installed as part of libupnp) not found]))
26
             AC_MSG_ERROR([libixml (usually installed as part of libupnp) not found]))
27
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
27
AC_CHECK_LIB([expat], [XML_ParserCreate], [], 
28
AC_CHECK_LIB([expat], [XML_ParserCreate], [], 
28
              AC_MSG_ERROR([libexpat not found]))
29
              AC_MSG_ERROR([libexpat not found]))
29
LIBUPNPP_LIBS="$LIBS"
30
LIBUPNPP_LIBS="$LIBS"
30
31
31
AC_CHECK_LIB([mpdclient], [mpd_connection_new], [],
32
AC_CHECK_LIB([mpdclient], [mpd_connection_new], [],
32
                     AC_MSG_ERROR([libmpdclient not found]))
33
                     AC_MSG_ERROR([libmpdclient not found]))
33
34
34
LIBS=""
35
LIBS=""
35
                     
36
                     
36
AC_CHECK_FUNCS([getifaddrs] [UpnpSetLogLevel])
37
38
AC_SUBST(LIBUPNPP_LIBS)
37
AC_SUBST(LIBUPNPP_LIBS)
39
38
40
AC_CONFIG_FILES([Makefile])
39
AC_CONFIG_FILES([Makefile])
41
AC_OUTPUT
40
AC_OUTPUT