From e55280d3080e7e579481f1e4c32d61981027466c Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 15 Dec 2010 11:41:21 -0800 Subject: [PATCH] configure.in should specify errors for missing libs --- protocols/vnc/configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protocols/vnc/configure.in b/protocols/vnc/configure.in index 05ffff6c..35d8c3fa 100644 --- a/protocols/vnc/configure.in +++ b/protocols/vnc/configure.in @@ -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])