--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@
                           AC_MSG_ERROR([libmpdclient not found]))
 SCCTL_LIBS=$LIBS
 
-AC_CHECK_LIB([microhttpd], [MHD_queue_response], [], [])
+AC_CHECK_LIB([microhttpd], [MHD_queue_response], [], AC_MSG_ERROR([libmicrohttpd not found]))
 
 AC_LANG_PUSH([C++])