dnl configure.ac -- autoconf script for m17n-pango. dnl Copyright (C) 2006 dnl National Institute of Advanced Industrial Science and Technology (AIST) dnl Registration Number H15PRO112 dnl This file is part of m17n-pango; a sub-part of the m17n dnl library. dnl The m17n library is free software; you can redistribute it and/or dnl modify it under the terms of the GNU Lesser General Public License dnl as published by the Free Software Foundation; either version 2.1 of dnl the License, or (at your option) any later version. dnl The m17n library is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl Lesser General Public License for more details. dnl You should have received a copy of the GNU Lesser General Public dnl License along with the m17n library; if not, write to the Free dnl Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA dnl 02111-1307, USA. dnl Process this file with autoconf to produce a configure script. AC_INIT(m17n-pango, 0.9.0, m17n-lib-bug@m17n.org) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h) dnl Checks for programs for compiling. AC_PROG_CC AM_DISABLE_STATIC AM_PROG_LIBTOOL dnl Checks for standard header files. AC_HEADER_STDC dnl Check for m17n-lib. PKG_CHECK_MODULES(M17N, m17n-gui >= 1.3.3) dnl Check for Pango. PKG_CHECK_MODULES(PANGO, pango >= 1.4.0) PKG_CHECK_MODULES(PANGOFT2, pangoft2 >= 1.4.0) AC_CHECK_PROG(HAVE_PANGO_QMODULE, pango-querymodules, yes) if test "x$HAVE_PANGO_QMODULE" == "xyes"; then PANGO_QUERYMODULES=pango-querymodules else AC_CHECK_PROG(HAVE_PANGO_QMODULE, pango-querymodules-32, yes) if test "x$HAVE_PANGO_QMODULE" == "xyes"; then PANGO_QUERYMODULES=pango-querymodules-32 else exit 1 fi fi PANGO_MODULE_VERSION=1.4.0 AC_SUBST(PANGO_MODULE_VERSION) AC_SUBST(PANGO_QUERYMODULES) AC_CONFIG_FILES([Makefile]) AC_OUTPUT dnl Local Variables: dnl comment-start: "dnl " dnl comment-end: "" dnl comment-start-skip: "\\bdnl\\b\\s *" dnl End: