1 dnl configure.ac -- autoconf script for m17n-pango.
4 dnl National Institute of Advanced Industrial Science and Technology (AIST)
5 dnl Registration Number H15PRO112
7 dnl This file is part of m17n-pango; a sub-part of the m17n
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., 59 Temple Place, Suite 330, Boston, MA
25 dnl Process this file with autoconf to produce a configure script.
27 AC_INIT(m17n-pango, 0.9.0, m17n-lib-bug@m17n.org)
29 AM_CONFIG_HEADER(config.h)
31 dnl Checks for programs for compiling.
36 dnl Checks for standard header files.
39 dnl Check for m17n-lib.
40 PKG_CHECK_MODULES(M17N, m17n-gui >= 1.3.3)
43 PKG_CHECK_MODULES(PANGO, pango >= 1.4.0)
44 PKG_CHECK_MODULES(PANGOFT2, pangoft2 >= 1.4.0)
45 AC_CHECK_PROG(HAVE_PANGO_QMODULE, pango-querymodules, yes)
46 if test "x$HAVE_PANGO_QMODULE" == "xyes"; then
47 PANGO_QUERYMODULES=pango-querymodules
49 AC_CHECK_PROG(HAVE_PANGO_QMODULE, pango-querymodules-32, yes)
50 if test "x$HAVE_PANGO_QMODULE" == "xyes"; then
51 PANGO_QUERYMODULES=pango-querymodules-32
56 PANGO_MODULE_VERSION=1.4.0
57 AC_SUBST(PANGO_MODULE_VERSION)
58 AC_SUBST(PANGO_QUERYMODULES)
60 AC_CONFIG_FILES([Makefile])
65 dnl comment-start: "dnl "
67 dnl comment-start-skip: "\\bdnl\\b\\s *"