|
a/configure.ac |
|
b/configure.ac |
|
... |
|
... |
37 |
|
37 |
|
38 |
|
38 |
|
39 |
AC_CHECK_LIB([upnpp], [getsyshwaddr], [], [AC_MSG_ERROR([libupnpp])])
|
39 |
AC_CHECK_LIB([upnpp], [getsyshwaddr], [], [AC_MSG_ERROR([libupnpp])])
|
40 |
AC_CHECK_LIB([mpdclient], [mpd_connection_new], [],
|
40 |
AC_CHECK_LIB([mpdclient], [mpd_connection_new], [],
|
41 |
AC_MSG_ERROR([libmpdclient not found]))
|
41 |
AC_MSG_ERROR([libmpdclient not found]))
|
|
|
42 |
SCCTL_LIBS=$LIBS
|
42 |
|
43 |
|
|
|
44 |
AC_CHECK_LIB([rtmp], [RTMP_Alloc], [], [])
|
43 |
UPMPDCLI_LIBS=$LIBS
|
45 |
UPMPDCLI_LIBS=$LIBS
|
44 |
echo "UPMPDCLI_LIBS=$LIBS"
|
46 |
echo "UPMPDCLI_LIBS=$LIBS"
|
45 |
|
47 |
|
46 |
LIBS=""
|
48 |
LIBS=""
|
47 |
|
49 |
|
48 |
AC_SUBST(UPMPDCLI_LIBS)
|
50 |
AC_SUBST(UPMPDCLI_LIBS)
|
|
|
51 |
AC_SUBST(SCCTL_LIBS)
|
49 |
|
52 |
|
50 |
AC_CONFIG_FILES([Makefile])
|
53 |
AC_CONFIG_FILES([Makefile])
|
51 |
AC_OUTPUT
|
54 |
AC_OUTPUT
|