|
a/configure.ac |
|
b/configure.ac |
|
... |
|
... |
38 |
AC_CHECK_LIB([upnpp], [getsyshwaddr], [], [AC_MSG_ERROR([libupnpp])])
|
38 |
AC_CHECK_LIB([upnpp], [getsyshwaddr], [], [AC_MSG_ERROR([libupnpp])])
|
39 |
AC_CHECK_LIB([mpdclient], [mpd_connection_new], [],
|
39 |
AC_CHECK_LIB([mpdclient], [mpd_connection_new], [],
|
40 |
AC_MSG_ERROR([libmpdclient not found]))
|
40 |
AC_MSG_ERROR([libmpdclient not found]))
|
41 |
SCCTL_LIBS=$LIBS
|
41 |
SCCTL_LIBS=$LIBS
|
42 |
|
42 |
|
43 |
AC_CHECK_LIB([microhttpd], [MHD_queue_response], [], [])
|
43 |
AC_CHECK_LIB([microhttpd], [MHD_queue_response], [], AC_MSG_ERROR([libmicrohttpd not found]))
|
44 |
|
44 |
|
45 |
AC_LANG_PUSH([C++])
|
45 |
AC_LANG_PUSH([C++])
|
46 |
|
46 |
|
47 |
AC_CHECK_HEADERS(json/json.h jsoncpp/json/json.h)
|
47 |
AC_CHECK_HEADERS(json/json.h jsoncpp/json/json.h)
|
48 |
LIBS="$LIBS -ljsoncpp"
|
48 |
LIBS="$LIBS -ljsoncpp"
|