1d282cb3dff4fc9bb994c4f264777ba7ccb44862
[ACL.git] / configure.ac
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.69])
5 AC_INIT([libACL], [0.2], [arjen@androemda.nl])
6 AC_CONFIG_SRCDIR([src/date.cpp])
7 AM_INIT_AUTOMAKE
8 AC_CONFIG_MACRO_DIRS([m4])
9 AC_CONFIG_FILES([Makefile src/Makefile test/Makefile doc/Makefile])
10 AC_CONFIG_HEADERS([config.h])
11
12 # Checks for programs.
13 AC_PROG_CXX
14 AC_PROG_CC
15 AC_PROG_YACC
16 AM_PROG_AR
17
18 # Checks for libraries.
19
20 # Checks for header files.
21 AC_FUNC_ALLOCA
22 AC_CHECK_HEADERS([libintl.h malloc.h stddef.h stdlib.h string.h])
23
24 # Checks for typedefs, structures, and compiler characteristics.
25 AC_CHECK_HEADER_STDBOOL
26 AC_TYPE_SIZE_T
27
28 LT_INIT
29
30 # Checks for library functions.
31 AC_FUNC_MALLOC
32 AC_FUNC_STRTOD
33 AC_CHECK_FUNCS([regcomp strchr strrchr strstr strtol strtoul])
34
35 AC_OUTPUT