2 # Process this file with autoconf to produce a configure script.
5 AC_INIT(libchise, 0.2.0, chise-en@m17n.org)
6 AC_CONFIG_SRCDIR(chise.c)
7 AC_CONFIG_HEADER(config.h)
11 # Checks for programs.
14 # AC_CHECK_PROGS(LIBTOOL, glibtool libtool, libtool, \
15 # /usr/local/bin:/opt/bin:/sw/bin:/usr/bin:/bin)
17 # Checks for libraries.
18 if test -f /sw/include/db3/db.h; then
19 CFLAGS="-I/sw/include/db3 $CFLAGS"
20 LIBS="-L/sw/lib -ldb-3 $LIBS"
21 elif test -f /sw/include/db4/db.h; then
22 CFLAGS="-I/sw/include/db4 $CFLAGS"
23 LIBS="-L/sw/lib -ldb-4 $LIBS"
28 # Checks for header files.
30 # Checks for typedefs, structures, and compiler characteristics.
34 # Checks for library functions.
38 AC_CHECK_FUNCS(strnlen)
40 AC_CONFIG_FILES([Makefile])