1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ(2.61)
5AC_INIT([polyglot], [1.4.70b], [michel.vandenbergh@uhasselt.be])
6AM_INIT_AUTOMAKE
7AC_CONFIG_SRCDIR([mainloop.c])
8AC_CONFIG_HEADER([config.h])
9
10# Checks for programs.
11AC_PROG_CC
12
13# Checks for libraries.
14
15AC_CHECK_LIB([m], [main])
16
17# Checks for header files.
18AC_HEADER_STDC
19AC_CHECK_HEADERS([stdlib.h string.h sys/time.h unistd.h])
20
21# Checks for typedefs, structures, and compiler characteristics.
22AC_HEADER_STDBOOL
23AC_C_CONST
24AC_C_INLINE
25AC_TYPE_PID_T
26AC_TYPE_SIZE_T
27AC_HEADER_TIME
28
29# Checks for library functions.
30AC_FUNC_FORK
31AC_FUNC_MALLOC
32AC_FUNC_REALLOC
33AC_FUNC_SELECT_ARGTYPES
34AC_FUNC_SETVBUF_REVERSED
35AC_TYPE_SIGNAL
36AC_FUNC_VPRINTF
37AC_CHECK_FUNCS([dup2 floor gettimeofday memchr memmove select strchr strdup strerror strstr])
38
39
40AC_CONFIG_FILES([Makefile])
41AC_OUTPUT
42