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