*** empty log message ***
[m17n/m17n-im-config.git] / configure.ac
1 dnl configure.ac -- autoconf script for the m17n-im-config package.
2
3 dnl Copyright (C) 2007
4 dnl   National Institute of Advanced Industrial Science and Technology (AIST)
5 dnl   Registration Number H15PRO112
6
7 dnl This file is part of the m17n-im-config package; a sub-part of the
8 dnl m17n library..
9
10 dnl The m17n library is free software; you can redistribute it and/or
11 dnl modify it under the terms of the GNU Lesser General Public License
12 dnl as published by the Free Software Foundation; either version 2.1 of
13 dnl the License, or (at your option) any later version.
14
15 dnl The m17n library is distributed in the hope that it will be useful,
16 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
17 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 dnl Lesser General Public License for more details.
19
20 dnl You should have received a copy of the GNU Lesser General Public
21 dnl License along with the m17n library; if not, write to the Free
22 dnl Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 dnl Boston, MA 02110-1301, USA.
24
25 dnl Process this file with autoconf to produce a configure script.
26
27 AC_INIT(m17n-im-config, 0.9.0, m17n-lib-bug@m17n.org)
28 AM_INIT_AUTOMAKE
29 AM_CONFIG_HEADER(src/config.h)
30
31 AC_GNU_SOURCE
32 AM_GNU_GETTEXT
33 AM_GNU_GETTEXT_VERSION(0.14.4)
34 GETTEXTDIR="$datadir/locale"
35 AC_SUBST(GETTEXTDIR)
36
37 dnl Checks for programs for compiling.
38 AC_PROG_CC
39 AM_PROG_LIBTOOL
40
41 dnl Checks for standard header files.
42 AC_HEADER_STDC
43
44 dnl Checks for the M17N library.
45 PKG_CHECK_MODULES(M17NLIB, [m17n-shell >= 1.3.4])
46 PKG_CHECK_MODULES(M17NDB, [m17n-db >= 1.3.4])
47 AC_SUBST(M17NLIB_CFLAGS)
48 AC_SUBST(M17NLIB_LDFLAGS)
49
50 dnl Check for Gtk+ library.
51 PKG_CHECK_MODULES(GTK2, [gtk+-2.0 >= 2.4.0])
52
53 AC_CONFIG_FILES([Makefile intl/Makefile po/Makefile.in po/Makefile
54                  src/Makefile
55                  ])
56
57 AC_OUTPUT
58
59 dnl Local Variables:
60 dnl comment-start: "dnl "
61 dnl comment-end: ""
62 dnl comment-start-skip: "\\bdnl\\b\\s *"
63 dnl End: