From 5f14cd76d3efea9199d0f6105299d62484b964a3 Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 30 Jan 2007 01:52:06 +0000 Subject: [PATCH] Pay attention to --prefix. --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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` -- 1.7.10.4