From: handa Date: Thu, 22 Dec 2005 07:28:50 +0000 (+0000) Subject: Check availability of OTF_check_features. X-Git-Tag: REL-1-3-0~4 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec079c249386cbb4e483f6e99241f38e1a44e468;p=m17n%2Fm17n-lib.git Check availability of OTF_check_features. --- diff --git a/configure.ac b/configure.ac index 2848821..8437fc4 100644 --- a/configure.ac +++ b/configure.ac @@ -159,7 +159,9 @@ if test "x$with_libotf" != "xno"; then else OTF_LD_FLAGS=-lotf fi - AC_CHECK_LIB(otf, OTF_open, HAVE_OTF=yes, HAVE_OTF=no) + ## We check the availability of OTF_check_features + ## because we need libotf-0.9.4 or the later. + AC_CHECK_LIB(otf, OTF_check_features, HAVE_OTF=yes, HAVE_OTF=no) AC_CHECK_HEADER(otf.h,, HAVE_OTF=no) CPPFLAGS="$save_CPPFLAGS" if test "x$HAVE_OTF" = "xyes"; then