2 # Process this file with autoconf to produce a configure script.
5 AC_INIT(libchise, 0.4.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"
27 #LIBS="-lconcord $LIBS"
28 AC_CHECK_LIB(concord,concord_open_ds,
29 , AC_MSG_ERROR(libconcord is not found.))
31 # Checks for header files.
33 # Checks for typedefs, structures, and compiler characteristics.
37 # Checks for library functions.
41 AC_CHECK_FUNCS(strnlen)
43 AC_CONFIG_FILES([Makefile])