622be0eff440d85f35e4700d496f8e03ed79474f
[guacamole.git] / server / libguac / configure.in
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_INIT(src/client.c)
5 AM_INIT_AUTOMAKE(libguac, 0.0.1)
6 AC_CONFIG_MACRO_DIR([m4])
7
8 # Checks for programs.
9 AC_PROG_CC
10 AC_PROG_LIBTOOL
11
12 # Checks for libraries.
13 AC_CHECK_LIB([dl], [dlopen],, AC_MSG_ERROR("libdl is required for loading client plugins"))
14 AC_CHECK_LIB([png], [png_write_png])
15
16 # Checks for header files.
17 AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/socket.h sys/time.h syslog.h unistd.h])
18
19 # Checks for typedefs, structures, and compiler characteristics.
20 AC_TYPE_SIZE_T
21 AC_TYPE_SSIZE_T
22
23 # Checks for library functions.
24 AC_FUNC_MALLOC
25 AC_FUNC_REALLOC
26 AC_CHECK_FUNCS([gettimeofday memmove memset select strdup])
27
28 AC_CONFIG_FILES([Makefile])
29 AC_OUTPUT