Pay attention to --prefix.
authorhanda <handa>
Tue, 30 Jan 2007 01:52:06 +0000 (01:52 +0000)
committerhanda <handa>
Tue, 30 Jan 2007 01:52:06 +0000 (01:52 +0000)
configure.ac

index 67a1f12..5000470 100644 (file)
@@ -36,7 +36,11 @@ if test "x$HAVE_M17N_DB" != "xyes"; then
 It is available at <http://www.m17n.org/m17n-lib>.])
 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`