X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=5000470e2ecea047739bd0823a44b9f726aabc98;hb=5f14cd76d3efea9199d0f6105299d62484b964a3;hp=de90701d60f69d0b7620f51479080b15770debb0;hpb=0f073b329258de9f9f53211c021856ee7b0e347d;p=m17n%2Fm17n-contrib.git diff --git a/configure.ac b/configure.ac index de90701..5000470 100644 --- a/configure.ac +++ b/configure.ac @@ -18,10 +18,10 @@ dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl Lesser General Public License for more details. dnl -dnl You should have received a copy of the GNU General Public License -dnl along with GNU Emacs; see the file COPYING. If not, write to the -dnl Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -dnl Boston, MA 02110-1301, USA. +dnl You should have received a copy of the GNU Lesser General Public +dnl License along with the m17n library; if not, write to the Free +dnl Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +dnl Boston, MA 02110-1301, USA. AC_INIT(m17n-contrib, 1.1.1, bugs-m17n-lib@m17n.org) AM_INIT_AUTOMAKE @@ -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`