dnl configure.ac -- autoconf script for pango-m17n. dnl Copyright (C) 2006 dnl National Institute of Advanced Industrial Science and Technology (AIST) dnl Registration Number H16PRO276 dnl This file is part of the pango-m17n library. dnl The pango-m17n library is free software; you can redistribute it dnl and/or modify it under the terms of the GNU Lesser General Public dnl License as published by the Free Software Foundation; either dnl version 2.1 of the License, or (at your option) any later version. dnl The pango-m17n library is distributed in the hope that it will be dnl useful, but WITHOUT ANY WARRANTY; without even the implied dnl warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. dnl See the GNU 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 pango-m17n library; if not, write to the dnl Free Software Foundation, Inc., 59 Temple Place, Suite 330, dnl Boston, MA 02111-1307, USA. dnl Process this file with autoconf to produce a configure script. AC_INIT(pango-m17n, 0.9.1, 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.4) 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_QUERYMODULE, pango-querymodules, yes) if test "x$HAVE_PANGO_QUERYMODULE" == "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 echo "pango-querymodules[-32] doesn't exist!" exit 1 fi fi 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: