Flag the absence of libdaemon an error.

This commit is contained in:
Mike Brady
2014-05-19 11:35:02 +01:00
parent c08f94a47d
commit 64788fa5de
+1 -1
View File
@@ -12,7 +12,7 @@ AC_PROG_CC
AC_PROG_INSTALL
# Checks for libraries.
AC_CHECK_LIB([daemon],[daemon_log])
AC_CHECK_LIB([daemon],[daemon_log], , AC_MSG_ERROR(libdaemon needed by Shairport 2.0!))
# What follows is a bit messy, because if the relevant library is requested, a compiler flag is defined, a file is included in the compilation
# and the relevant link files are added.