2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([polyglot], [1.4.30b], [michel.vandenbergh@uhasselt.be])
7 AC_CONFIG_SRCDIR([mainloop.c])
8 AC_CONFIG_HEADER([config.h])
10 # Checks for programs.
13 # Checks for libraries.
15 AC_CHECK_LIB([m], [main])
17 # Checks for header files.
19 AC_CHECK_HEADERS([stdlib.h string.h sys/time.h unistd.h])
21 # Checks for typedefs, structures, and compiler characteristics.
29 # Checks for library functions.
33 AC_FUNC_SELECT_ARGTYPES
34 AC_FUNC_SETVBUF_REVERSED
37 AC_CHECK_FUNCS([dup2 floor gettimeofday memchr memmove select strchr strdup strerror strstr])
40 AC_CONFIG_FILES([Makefile])