Changed AC_CHECK_HEADER -> AC_CHECK_HEADERS, since two files are being tested, e.g.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano 2017-09-06 18:06:30 +00:00
parent 3ef0e0d1c4
commit 457fb7c0b2

View File

@ -1072,8 +1072,7 @@ case $host_os_gui in
;;
esac
CPPFLAGS="$PANGOLIBDIR $CXXFLAGS"
AC_CHECK_HEADER(pango/pango.h,
AC_CHECK_HEADER(pango/pangoxft.h,
AC_CHECK_HEADERS([pango/pango.h pango/pangoxft.h],
AC_CHECK_LIB(pango-1.0, pango_layout_new,
AC_CHECK_LIB(pangoxft-1.0, pango_xft_render_layout,
AC_DEFINE(USE_PANGO)