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])
13 AC_CHECK_LIB([wsock32], [main])
15 # Checks for header files.
16 AC_CHECK_HEADERS([netinet/in.h stdlib.h string.h sys/socket.h syslog.h unistd.h guacamole/client.h])
18 # Checks for library functions.
20 AC_CHECK_FUNCS([memset socket strerror])
22 AC_CONFIG_FILES([Makefile])