From: Kenichi H. <ha...@m1...> - 2004-12-28 08:32:33
|
We have just released the version 1.2.0 of m17n-lib and m17n-db. I tried them with the latest CVS mlterm and found one problem. The attached patch is necessary for configuire.in to find m17n-lib installed only in /usr/local/lib. --- Ken'ichi HANDA ha...@m1... *** configure.in 28 Dec 2004 14:33:59 +0900 1.72 --- configure.in 28 Dec 2004 16:54:50 +0900 *************** *** 423,437 **** [ --enable-m17nlib m17n library (Experimental) [default=disabled]], m17nlib=$enable_m17nlib) if test "x$m17nlib" = xyes ; then AC_CHECK_LIB(m17n, minput_open_im, [ IM_CFLAGS="$IM_CFLAGS -DUSE_M17NLIB" M17NLIB_CFLAGS="`m17n-config --cflags`" - M17NLIB_LIBS=`m17n-config --libs` MAKE_DIRS="inputmethod/m17nlib ${MAKE_DIRS}" OUTPUT_FILES="inputmethod/m17nlib/Makefile ${OUTPUT_FILES}" input_methods_result="$input_methods_result m17nlib" ]) fi AC_SUBST(M17NLIB_CFLAGS) AC_SUBST(M17NLIB_LIBS) --- 423,443 ---- [ --enable-m17nlib m17n library (Experimental) [default=disabled]], m17nlib=$enable_m17nlib) if test "x$m17nlib" = xyes ; then + AC_CHECK_PROG(m17nlib, m17n-config, yes, no) + fi + if test "x$m17nlib" = xyes ; then + m17n_saved_libs="$LIBS" + M17NLIB_LIBS=`m17n-config --libs` + LIBS="$LIBS $M17NLIB_LIBS" AC_CHECK_LIB(m17n, minput_open_im, [ IM_CFLAGS="$IM_CFLAGS -DUSE_M17NLIB" M17NLIB_CFLAGS="`m17n-config --cflags`" MAKE_DIRS="inputmethod/m17nlib ${MAKE_DIRS}" OUTPUT_FILES="inputmethod/m17nlib/Makefile ${OUTPUT_FILES}" input_methods_result="$input_methods_result m17nlib" ]) + LIBS="$m17n_saved_libs" fi AC_SUBST(M17NLIB_CFLAGS) AC_SUBST(M17NLIB_LIBS) |