configure.in should specify errors for missing libs

This commit is contained in:
Michael Jumper 2010-12-15 11:41:21 -08:00
parent d1f20b04d2
commit e55280d308

View File

@ -10,9 +10,9 @@ AC_PROG_CC
AC_PROG_LIBTOOL
# Checks for libraries.
AC_CHECK_LIB([guac], [guac_get_client])
AC_CHECK_LIB([png], [png_write_png])
AC_CHECK_LIB([vncclient], [rfbInitClient])
AC_CHECK_LIB([guac], [guac_get_client],, AC_MSG_ERROR("libguac is required for communication via the guacamole protocol"))
AC_CHECK_LIB([png], [png_write_png],, AC_MSG_ERROR("libpng is required for writing png messages"))
AC_CHECK_LIB([vncclient], [rfbInitClient],, AC_MSG_ERROR("libvncclient is required"))
# Checks for header files.
AC_CHECK_HEADERS([stdlib.h string.h syslog.h guacamole/client.h guacamole/guacio.h guacamole/protocol.h])