1 dnl configure.ac -- autoconf script for the m17n-im-config package.
4 dnl National Institute of Advanced Industrial Science and Technology (AIST)
5 dnl Registration Number H15PRO112
7 dnl This file is part of the m17n-im-config package; a sub-part of the
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.
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.
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.
25 dnl Process this file with autoconf to produce a configure script.
27 AC_INIT(m17n-im-config, 0.9.0, m17n-lib-bug@m17n.org)
29 AM_CONFIG_HEADER(src/config.h)
33 AM_GNU_GETTEXT_VERSION(0.14.4)
34 GETTEXTDIR="$datadir/locale"
37 dnl Checks for programs for compiling.
41 dnl Checks for standard header files.
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)
50 dnl Check for Gtk+ library.
51 PKG_CHECK_MODULES(GTK2, [gtk+-2.0 >= 2.4.0])
53 AC_ARG_ENABLE(program,
54 AC_HELP_STRING([--enable-program],
55 [enable a standalone program (default is YES)]))
56 AM_CONDITIONAL(ENABLE_PROG, test x$enable_program != xno)
58 AC_CONFIG_FILES([Makefile intl/Makefile po/Makefile.in po/Makefile
66 dnl comment-start: "dnl "
68 dnl comment-start-skip: "\\bdnl\\b\\s *"