Switch to unified view

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