2 # Process this file with autoconf to produce a configure script.
5 AM_INIT_AUTOMAKE(libguac, 0.0.1)
6 AC_CONFIG_MACRO_DIR([m4])
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])
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])
19 # Checks for typedefs, structures, and compiler characteristics.
23 # Checks for library functions.
26 AC_CHECK_FUNCS([gettimeofday memmove memset select strdup])
28 AC_CONFIG_FILES([Makefile])