Add flex-based tokenizer.
[vspell.git] / configure.in
bloba4c77c1fe9de56695437bad54d4a899c33a17937
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
4 AC_PREREQ(2.57)
5 AC_INIT(vspell,1.0)
6 AM_INIT_AUTOMAKE
7 AC_CONFIG_SRCDIR([compose.cpp])
8 AC_CONFIG_HEADER([config.h])
10 # Checks for programs.
11 AC_PROG_CXX
12 AC_PROG_CC
13 AC_PROG_CPP
14 AC_PROG_INSTALL
15 AC_PROG_LN_S
16 AC_PROG_MAKE_SET
17 AC_PROG_RANLIB
18 AM_PROG_LEX
20 # Checks for libraries.
22 VSPELL_PACKAGES=gtk+-2.0
23 PKG_CHECK_MODULES(VSPELL, $VSPELL_PACKAGES)
24 AC_SUBST(VSPELL_CFLAGS)
25 AC_SUBST(VSPELL_LIBS)
27 # Checks for header files.
28 AC_HEADER_STDC
29 AC_CHECK_HEADERS([fcntl.h locale.h stddef.h stdlib.h string.h sys/param.h unistd.h values.h])
31 # Checks for typedefs, structures, and compiler characteristics.
32 AC_HEADER_STDBOOL
33 AC_C_CONST
34 AC_C_INLINE
35 AC_TYPE_SIZE_T
36 AC_STRUCT_TM
38 # Checks for library functions.
39 AC_FUNC_ERROR_AT_LINE
40 AC_FUNC_MALLOC
41 AC_FUNC_MKTIME
42 AC_FUNC_REALLOC
43 AC_FUNC_STRTOD
44 AC_CHECK_FUNCS([memmove memset rint setlocale sqrt strchr strdup strrchr strtol])
46 AC_CONFIG_FILES([Makefile
47                  libsrilm/Makefile
48                  libvspell/Makefile
49                  tests/Makefile
50                  vspell/Makefile])
51 AC_OUTPUT