X-Git-Url: http://git.chise.org/gitweb/?p=m17n%2Fm17n-pango.git;a=blobdiff_plain;f=configure.ac;h=710f2e66059b965d22511b12d281155e9c93b3cc;hp=f90477cc6a9f2c4cfb040c31426522fc5ef2103b;hb=43a9e2a939970511b6637cbb6e1ddfbf44535939;hpb=cf937095d19188bc0d7ded3041f21127f7056b38;ds=sidebyside diff --git a/configure.ac b/configure.ac index f90477c..710f2e6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,30 +1,29 @@ -dnl configure.ac -- autoconf script for m17n-pango. +dnl configure.ac -- autoconf script for pango-m17n. -dnl Copyright (C) 2006 +dnl Copyright (C) 2006, 2007, 2008 dnl National Institute of Advanced Industrial Science and Technology (AIST) -dnl Registration Number H15PRO112 +dnl Registration Number H16PRO276 -dnl This file is part of m17n-pango; a sub-part of the m17n -dnl library. +dnl This file is part of the pango-m17n 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 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 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 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 m17n library; if not, write to the Free -dnl Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -dnl 02111-1307, USA. +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(m17n-pango, 0.9.0, m17n-lib-bug@m17n.org) +AC_INIT(pango-m17n, 0.9.3, m17n-lib-bug@m17n.org) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h) @@ -37,17 +36,24 @@ dnl Checks for standard header files. AC_HEADER_STDC dnl Check for m17n-lib. -PKG_CHECK_MODULES(M17N, m17n-gui >= 1.3.3) +PKG_CHECK_MODULES(M17N, m17n-flt >= 1.5.1) 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 - exit 1 +PKG_CHECK_MODULES(PANGO, pango >= 1.18.1) +PKG_CHECK_MODULES(PANGOFT2, pangoft2 >= 1.18.1) +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 -PANGO_MODULE_VERSION=1.4.0 -AC_SUBST(PANGO_MODULE_VERSION) +AC_SUBST(PANGO_QUERYMODULES) AC_CONFIG_FILES([Makefile])