db02fca2501345803ecba34fdcfe18abfff071fa
[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.4w10UCIb16], [michel.vandenbergh@uhasselt.be])
6 AM_INIT_AUTOMAKE
7 AC_CONFIG_SRCDIR([adapter.cpp])
8 AC_CONFIG_HEADER([config.h])
9
10 # Checks for programs.
11 AC_PROG_CXX
12 AC_PROG_CC
13
14 # Checks for libraries.
15 # FIXME: Replace `main' with a function in `-lm':
16 AC_CHECK_LIB([m], [sin])
17
18 # Checks for header files.
19 AC_HEADER_STDC
20 AC_CHECK_HEADERS([stdlib.h string.h sys/time.h unistd.h])
21
22 # Checks for typedefs, structures, and compiler characteristics.
23 AC_HEADER_STDBOOL
24 AC_C_CONST
25 AC_C_INLINE
26 AC_TYPE_PID_T
27 AC_TYPE_SIZE_T
28 AC_HEADER_TIME
29
30 # Checks for library functions.
31 AC_FUNC_FORK
32 AC_FUNC_MALLOC
33 AC_FUNC_REALLOC
34 AC_FUNC_SELECT_ARGTYPES
35 AC_FUNC_SETVBUF_REVERSED
36 AC_TYPE_SIGNAL
37 AC_FUNC_VPRINTF
38 AC_CHECK_FUNCS([dup2 floor gettimeofday memchr memmove select strchr strdup strerror strstr])
39
40
41 AC_CONFIG_FILES([Makefile])
42 AC_OUTPUT