New file
[m17n/m17n-pango.git] / configure.ac
1 dnl configure.ac -- autoconf script for m17n-pango.
2
3 dnl Copyright (C) 2006
4 dnl   National Institute of Advanced Industrial Science and Technology (AIST)
5 dnl   Registration Number H15PRO112
6
7 dnl This file is part of m17n-pango; a sub-part of the m17n
8 dnl 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., 59 Temple Place, Suite 330, Boston, MA
23 dnl 02111-1307, USA.
24
25 dnl Process this file with autoconf to produce a configure script.
26
27 AC_INIT(m17n-pango, 0.9.0, m17n-lib-bug@m17n.org)
28 AM_INIT_AUTOMAKE
29 AM_CONFIG_HEADER(config.h)
30
31 dnl Checks for programs for compiling.
32 AC_PROG_CC
33 AM_DISABLE_STATIC
34 AM_PROG_LIBTOOL
35
36 dnl Checks for standard header files.
37 AC_HEADER_STDC
38
39 dnl Check for m17n-lib.
40 PKG_CHECK_MODULES(M17N, m17n-gui >= 1.3.3)
41
42 dnl Check for Pango.
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   exit 1
48 fi
49 PANGO_MODULE_VERSION=1.4.0
50 AC_SUBST(PANGO_MODULE_VERSION)
51
52 AC_CONFIG_FILES([Makefile])
53
54 AC_OUTPUT
55
56 dnl Local Variables:
57 dnl comment-start: "dnl "
58 dnl comment-end: ""
59 dnl comment-start-skip: "\\bdnl\\b\\s *"
60 dnl End: