mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-01 11:14:55 +00:00
Don't define HAVE_LIBOTF if OTF_get_features is
not available.
This commit is contained in:
parent
79cec53536
commit
a40d6d51db
11
configure.in
11
configure.in
@ -2455,10 +2455,13 @@ if test "${HAVE_FREETYPE}" = "yes"; then
|
||||
[Define to 1 if you have freetype and fontconfig libraries.])
|
||||
AC_CHECK_PROG(HAVE_LIBOTF, libotf-config, yes, no)
|
||||
if test "${HAVE_LIBOTF}" = "yes"; then
|
||||
AC_DEFINE(HAVE_LIBOTF, 1,
|
||||
[Define to 1 if you have libotf library.])
|
||||
LIBOTF_CFLAGS=`libotf-config --cflags`
|
||||
LIBOTF_LIBS=`libotf-config --libs`
|
||||
AC_CHECK_LIB(otf, OTF_get_features, , HAVE_LIBOTF=no)
|
||||
if test "${HAVE_LIBOTF}" = "yes"; then
|
||||
AC_DEFINE(HAVE_LIBOTF, 1,
|
||||
[Define to 1 if you have libotf library.])
|
||||
LIBOTF_CFLAGS=`libotf-config --cflags`
|
||||
LIBOTF_LIBS=`libotf-config --libs`
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(FREETYPE_CFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user