guacamole-spice-protocol/guacd/configure.in
2011-02-21 22:36:54 -08:00

24 lines
670 B
Plaintext

# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT(src/daemon.c)
AM_INIT_AUTOMAKE(guacd, 0.3.0)
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
AC_CHECK_LIB([guac], [guac_get_client],, AC_MSG_ERROR("libguac must be installed first"))
AC_CHECK_LIB([pthread], [pthread_create])
AC_CHECK_LIB([wsock32], [main])
# Checks for header files.
AC_CHECK_HEADERS([netinet/in.h stdlib.h string.h sys/socket.h syslog.h unistd.h guacamole/client.h])
# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset socket strerror fork])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT