From 44827be6c8c60df356cf526007c2e0cf23f9d41b Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 5 Nov 2009 03:42:14 +0000 Subject: [PATCH] Check if the OTF library has OTF_drive_gpos2 (). --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 4b8160e..c376e19 100644 --- a/configure.ac +++ b/configure.ac @@ -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= -- 1.7.10.4