*** empty log message ***
[m17n/m17n-contrib.git] / configure.ac
1 dnl Autoconf script for the m17n-contrib.
2 dnl Process this file with autoconf to produce a configure script.
3 dnl
4 dnl Copyright (C) 2006
5 dnl   National Institute of Advanced Industrial Science and Technology (AIST)
6 dnl   Registration Number H15PRO112
7 dnl
8 dnl This file is part of the m17n-contrib; a sub-part of the m17n
9 dnl library.
10 dnl
11 dnl The m17n library is free software; you can redistribute it and/or
12 dnl modify it under the terms of the GNU Lesser General Public License
13 dnl as published by the Free Software Foundation; either version 2.1 of
14 dnl the License, or (at your option) any later version.
15 dnl
16 dnl The m17n library is distributed in the hope that it will be useful,
17 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
18 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19 dnl Lesser General Public License for more details.
20 dnl
21 dnl  You should have received a copy of the GNU General Public License
22 dnl  along with GNU Emacs; see the file COPYING.  If not, write to the
23 dnl  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 dnl  Boston, MA 02110-1301, USA.
25
26 AC_INIT(m17n-contrib, 1.0.0, bugs-m17n-lib@m17n.org)
27 AM_INIT_AUTOMAKE
28
29 # Checks for programs.
30 AC_PROG_AWK
31
32 AC_CHECK_PROG(HAVE_M17N_DB, m17n-db, yes)
33 if test "x$HAVE_M17N_DB" != "xyes"; then
34   AC_MSG_ERROR([Please install m17n-db at first.
35 It is available at <http://www.m17n.org/m17n-lib>.])
36 fi
37
38 M17NDIR=`m17n-db`
39 AC_SUBST(M17NDIR)
40
41 INPUT_METHOD=`echo im-indic/*.mim`
42 AC_SUBST(INPUT_METHOD)
43 ICONS=`echo im-indic/*.png`
44 AC_SUBST(ICONS)
45
46 AC_CONFIG_FILES([Makefile])
47 AC_OUTPUT