2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([polyglot], [1.4b26], [michel.vandenbergh@uhasselt.be])
7 AC_CONFIG_SRCDIR([mainloop.cpp])
8 AC_CONFIG_HEADER([config.h])
10 # Checks for programs.
14 # Checks for libraries.
15 # FIXME: Replace `main' with a function in `-lm':
16 AC_CHECK_LIB([m], [sin])
18 # Checks for header files.
20 AC_CHECK_HEADERS([stdlib.h string.h sys/time.h unistd.h])
22 # Checks for typedefs, structures, and compiler characteristics.
30 # Checks for library functions.
34 AC_FUNC_SELECT_ARGTYPES
35 AC_FUNC_SETVBUF_REVERSED
38 AC_CHECK_FUNCS([dup2 floor gettimeofday memchr memmove select strchr strdup strerror strstr])
41 AC_CONFIG_FILES([Makefile])