1 dnl configure.ac -- autoconf script for pango-m17n.
3 dnl Copyright (C) 2006, 2007, 2008
4 dnl National Institute of Advanced Industrial Science and Technology (AIST)
5 dnl Registration Number H16PRO276
7 dnl This file is part of the pango-m17n library.
9 dnl The pango-m17n library is free software; you can redistribute it
10 dnl and/or modify it under the terms of the GNU Lesser General Public
11 dnl License as published by the Free Software Foundation; either
12 dnl version 2.1 of the License, or (at your option) any later version.
14 dnl The pango-m17n library is distributed in the hope that it will be
15 dnl useful, but WITHOUT ANY WARRANTY; without even the implied
16 dnl warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 dnl See the GNU Lesser General Public License for more details.
19 dnl You should have received a copy of the GNU Lesser General Public
20 dnl License along with the pango-m17n library; if not, write to the
21 dnl Free Software Foundation, Inc., 59 Temple Place, Suite 330,
22 dnl Boston, MA 02111-1307, USA.
24 dnl Process this file with autoconf to produce a configure script.
26 AC_INIT(pango-m17n, 0.9.3, m17n-lib-bug@m17n.org)
28 AM_CONFIG_HEADER(config.h)
30 dnl Checks for programs for compiling.
35 dnl Checks for standard header files.
38 dnl Check for m17n-lib.
39 PKG_CHECK_MODULES(M17N, m17n-flt >= 1.5.1)
42 PKG_CHECK_MODULES(PANGO, pango >= 1.18.1)
43 PKG_CHECK_MODULES(PANGOFT2, pangoft2 >= 1.18.1)
44 AC_CHECK_PROG(HAVE_PANGO_QUERYMODULE, pango-querymodules, yes)
45 if test "x$HAVE_PANGO_QUERYMODULE" == "xyes"; then
46 PANGO_QUERYMODULES=pango-querymodules
48 AC_CHECK_PROG(HAVE_PANGO_QMODULE, pango-querymodules-32, yes)
49 if test "x$HAVE_PANGO_QMODULE" == "xyes"; then
50 PANGO_QUERYMODULES=pango-querymodules-32
52 echo "pango-querymodules[-32] doesn't exist!"
56 AC_SUBST(PANGO_QUERYMODULES)
58 AC_CONFIG_FILES([Makefile])
63 dnl comment-start: "dnl "
65 dnl comment-start-skip: "\\bdnl\\b\\s *"