Kouhei Sutou
kous****@users*****
2006年 11月 28日 (火) 17:11:31 JST
Index: tomoe/ChangeLog diff -u tomoe/ChangeLog:1.318 tomoe/ChangeLog:1.319 --- tomoe/ChangeLog:1.318 Tue Nov 28 16:14:40 2006 +++ tomoe/ChangeLog Tue Nov 28 17:11:30 2006 @@ -1,5 +1,11 @@ 2006-11-28 Kouhei Sutou <kou****@cozmi*****> + * configure.in, Makefile.am, dict/, lib/tomoe-dict.[ch]: supported + dynamically dictionary backend loading. + * lib/tomoe-module.[ch], test/dict_spec.rb, + test/tomoe-spec-utils.rb, lib/tomoe-config.c, + ext/ruby/tomoe-rb-dict.c: followed the changes. + * lib/tomoe-recognizer-impl.h, recognizer/tomoe-recognizer-simple.c: used gpointer instead of void *. Index: tomoe/Makefile.am diff -u tomoe/Makefile.am:1.16 tomoe/Makefile.am:1.17 --- tomoe/Makefile.am:1.16 Tue Nov 28 14:50:18 2006 +++ tomoe/Makefile.am Tue Nov 28 17:11:30 2006 @@ -18,7 +18,7 @@ ## Free Software Foundation, Inc., 59 Temple Place, Suite 330, ## Boston, MA 02111-1307 USA -SUBDIRS = lib recognizer data ext test benchmark doc +SUBDIRS = lib recognizer dict data ext test benchmark doc EXTRA_DIST = autogen.sh tomoe.pc Index: tomoe/configure.in diff -u tomoe/configure.in:1.30 tomoe/configure.in:1.31 --- tomoe/configure.in:1.30 Tue Nov 28 14:50:18 2006 +++ tomoe/configure.in Tue Nov 28 17:11:30 2006 @@ -139,6 +139,12 @@ AC_SUBST(recognizerdir) dnl ************************************************************** +dnl Configure for dictionaries. +dnl ************************************************************** +dictdir="${libdir}/\$(PACKAGE)/dict" +AC_SUBST(dictdir) + +dnl ************************************************************** dnl Bindings: Check for Ruby. dnl ************************************************************** ruby_available="no" @@ -237,6 +243,7 @@ AC_CONFIG_FILES([ Makefile lib/Makefile +dict/Makefile recognizer/Makefile data/Makefile ext/Makefile