From: handa Date: Tue, 30 Jan 2007 01:52:06 +0000 (+0000) Subject: Pay attention to --prefix. X-Git-Tag: REL-1-1-2~47 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=5f14cd76d3efea9199d0f6105299d62484b964a3;p=m17n%2Fm17n-contrib.git Pay attention to --prefix. --- diff --git a/configure.ac b/configure.ac index 67a1f12..5000470 100644 --- a/configure.ac +++ b/configure.ac @@ -36,7 +36,11 @@ if test "x$HAVE_M17N_DB" != "xyes"; then It is available at .]) fi -M17NDIR=`m17n-db` +if test "x$prefix" = "xNONE"; then + M17NDIR=`m17n-db` +else + M17NDIR='${datadir}/m17n' +fi AC_SUBST(M17NDIR) INPUT_METHOD=`echo im/*.mim`