2 # Process this file with autoconf to produce a configure script.
5 AM_INIT_AUTOMAKE(guacd, 0.0.1)
10 # Checks for libraries.
11 AC_CHECK_LIB([guac], [guac_get_client],, AC_MSG_ERROR("libguac must be installed first"))
12 AC_CHECK_LIB([pthread], [pthread_create],, AC_MSG_ERROR("POSIX threads (libpthread) must be installed"))
14 # Checks for header files.
15 AC_CHECK_HEADERS([netinet/in.h stdlib.h string.h sys/socket.h syslog.h unistd.h guacamole/client.h])
17 # Checks for library functions.
19 AC_CHECK_FUNCS([memset socket strerror])
21 AC_CONFIG_FILES([Makefile])