update.
[chise/libchise.git] / configure.in
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ(2.57)
5 AC_INIT(libchise, 0.2.0, chise-en@m17n.org)
6 AC_CONFIG_SRCDIR(chise.c)
7 AC_CONFIG_HEADER(config.h)
8
9 AC_CANONICAL_TARGET
10
11 # Checks for programs.
12 AC_PROG_CC
13 AC_PROG_LIBTOOL
14 #  AC_CHECK_PROGS(LIBTOOL, glibtool libtool, libtool, \
15 #       /usr/local/bin:/opt/bin:/sw/bin:/usr/bin:/bin)
16
17 # Checks for libraries.
18 if test -f /sw/include/db3/db.h; then
19         CFLAGS="-I/sw/include/db3 $CFLAGS"
20 fi
21
22 # Checks for header files.
23
24 # Checks for typedefs, structures, and compiler characteristics.
25 AC_C_CONST
26 AC_C_INLINE
27
28 # Checks for library functions.
29 AC_FUNC_ALLOCA
30 AC_FUNC_STRNLEN
31
32 AC_CHECK_FUNCS(strnlen)
33
34 AC_CONFIG_FILES([Makefile])
35 AC_OUTPUT