guacamole-spice-protocol/guacd/configure.in

31 lines
886 B
Plaintext
Raw Normal View History

2010-12-08 21:14:04 +00:00
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT(src/daemon.c)
2011-02-22 06:36:54 +00:00
AM_INIT_AUTOMAKE(guacd, 0.3.0)
2010-12-08 21:14:04 +00:00
# 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])
2010-12-08 21:14:04 +00:00
# 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
2011-02-11 07:57:38 +00:00
AC_CHECK_FUNCS([memset socket strerror fork])
2010-12-08 21:14:04 +00:00
2011-02-28 04:27:12 +00:00
# Options
AC_ARG_WITH(init_dir,
[AS_HELP_STRING([--with-init-dir=<path>],
[install an init script to the given directory])
],init_dir=$withval)
AC_SUBST(init_dir)
2010-12-08 21:14:04 +00:00
AC_CONFIG_FILES([Makefile])
AC_OUTPUT