[config] Improve error message if no or old libwebsockets (issue #542)

This commit is contained in:
ejurgensen 2018-06-04 23:18:57 +02:00
parent 168fc26c69
commit db6bbd76bd
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ AM_CONDITIONAL([COND_RAOP_VERIFICATION], [[test "x$enable_verification" = "xyes"
dnl Include default webinterface
FORK_ARG_DISABLE([Include default web interface], [webinterface], [WEBINTERFACE],
[AS_IF([[test "x$with_libwebsockets" = "xno"]],
[AC_MSG_ERROR([[Default web interface requires libwebsockets]])])
[AC_MSG_ERROR([[Web interface requires libwebsockets >= 2.0.2 (or use --disable-webinterface)]])])
])
AM_CONDITIONAL([COND_WEBINTERFACE], [[test "x$enable_webinterface" = "xyes"]])