• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.65])
5AC_INIT([marisa], [0.1.4], [syata@acm.org])
6AC_CONFIG_SRCDIR([lib/marisa.h])
7AM_INIT_AUTOMAKE
8
9# Checks for programs.
10AC_PROG_CXX
11AC_PROG_CC
12AC_PROG_RANLIB
13AC_PROG_INSTALL
14
15# Checks for libraries.
16
17# Checks for header files.
18AC_CHECK_HEADERS([fcntl.h limits.h stddef.h stdint.h unistd.h])
19
20# Checks for typedefs, structures, and compiler characteristics.
21AC_HEADER_STDBOOL
22AC_C_INLINE
23AC_TYPE_SIZE_T
24AC_TYPE_SSIZE_T
25AC_TYPE_UINT16_T
26AC_TYPE_UINT32_T
27AC_TYPE_UINT64_T
28AC_TYPE_UINT8_T
29
30# Checks for library functions.
31AC_FUNC_MALLOC
32AC_FUNC_MMAP
33AC_FUNC_REALLOC
34AC_FUNC_STRTOD
35AC_CHECK_FUNCS([munmap strtol])
36
37AC_CONFIG_FILES([Makefile
38                 lib/Makefile
39                 tests/Makefile
40                 tools/Makefile])
41AC_OUTPUT
42