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