X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=c376e195e41f613932bca2e69777ffba09206dcf;hb=44827be6c8c60df356cf526007c2e0cf23f9d41b;hp=9550e3b034e676602a2187054c45a43c09e0d470;hpb=01f63a574741941ac64d776538c971b81f73b4d6;p=m17n%2Fm17n-lib.git diff --git a/configure.ac b/configure.ac index 9550e3b..c376e19 100644 --- a/configure.ac +++ b/configure.ac @@ -23,13 +23,13 @@ dnl Boston, MA 02110-1301, USA. dnl Process this file with autoconf to produce a configure script. -AC_INIT([m17n-lib],[1.5.5],[m17n-lib-bug@m17n.org]) +AC_INIT([m17n-lib],[1.6.0],[m17n-lib-bug@m17n.org]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE AC_CONFIG_HEADERS([src/config.h]) AM_MAINTAINER_MODE -API_VERSION=3:0:3 +API_VERSION=4:0:4 AC_SUBST(API_VERSION) AM_GNU_GETTEXT @@ -171,6 +171,12 @@ if test "x$with_libotf" != "xno"; then AC_DEFINE(HAVE_OTF, 1, [Define to 1 if you have OTF library and header file.]) M17N_EXT_LIBS="$M17N_EXT_LIBS libotf" + AC_CHECK_LIB(otf, OTF_drive_gpos2, HAVE_OTF_DRIVE_GPOS2=yes, + HAVE_OTF_DRIVE_GPOS2=no) + if test "x$HAVE_OTF_DRIVE_GPOS2" = "xyes"; then + AC_DEFINE(HAVE_OTF_DRIVE_GPOS2, 1, + [Define to 1 if the OTF library has OTF_drive_gpos2().]) + fi else CPPFLAGS="$save_CPPFLAGS" OTF_LD_FLAGS=