921e3fb0e4e93050d6aae3c35af71c0804e4b469
[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.1], [arjen@androemda.nl])
6 AM_INIT_AUTOMAKE([-Wall foreign])
7 AC_CONFIG_MACRO_DIRS([m4])
8 AC_CONFIG_FILES([Makefile src/Makefile test/Makefile doc/Makefile])
9 AC_CONFIG_SRCDIR([src/date.cpp])
10 AC_CONFIG_HEADERS([config.h])
11
12 # Checks for programs.
13 AC_PROG_CXX
14 AC_PROG_CC
15 AM_PROG_AR
16
17 # Checks for libraries.
18
19 # Checks for header files.
20 AC_FUNC_ALLOCA
21 AC_CHECK_HEADERS([libintl.h malloc.h stddef.h stdlib.h string.h])
22
23 # Checks for typedefs, structures, and compiler characteristics.
24 AC_CHECK_HEADER_STDBOOL
25 AC_TYPE_SIZE_T
26
27 LT_INIT
28
29 # Checks for library functions.
30 AC_FUNC_MALLOC
31 AC_FUNC_STRTOD
32 AC_CHECK_FUNCS([regcomp strchr strrchr strstr strtol strtoul])
33
34 AC_OUTPUT