From: tomo Date: Thu, 23 Jun 2005 23:15:36 +0000 (+0000) Subject: - Update version to 0.4.0. X-Git-Tag: chise-base-0_23~17 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03e773ed614993f35b97878f9fa24d5820abca75;p=chise%2Flibchise.git - Update version to 0.4.0. - Don't link Berkeley DB. - Use `AC_CHECK_LIB' to link CONCORD. --- diff --git a/configure.in b/configure.in index d65f346..8312e4d 100644 --- a/configure.in +++ b/configure.in @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT(libchise, 0.3.0, chise-en@m17n.org) +AC_INIT(libchise, 0.4.0, chise-en@m17n.org) AC_CONFIG_SRCDIR(chise.c) AC_CONFIG_HEADER(config.h) @@ -17,13 +17,16 @@ AC_PROG_LIBTOOL # Checks for libraries. if test -f /sw/include/db3/db.h; then CFLAGS="-I/sw/include/db3 $CFLAGS" - LIBS="-L/sw/lib -ldb-3 $LIBS" +# LIBS="-L/sw/lib -ldb-3 $LIBS" elif test -f /sw/include/db4/db.h; then CFLAGS="-I/sw/include/db4 $CFLAGS" - LIBS="-L/sw/lib -ldb-4 $LIBS" -else - LIBS="-ldb $LIBS" +# LIBS="-L/sw/lib -ldb-4 $LIBS" +#else +# LIBS="-ldb $LIBS" fi +#LIBS="-lconcord $LIBS" +AC_CHECK_LIB(concord,concord_open_ds, + , AC_MSG_ERROR(libconcord is not found.)) # Checks for header files.