From 336bad93d146931c160d8517edfdf0bee49ad9f7 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 6 Jul 2012 09:12:35 +0200 Subject: randrproto fontconfig mesa xserver git update 6 Jul 2012 --- fontconfig/configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'fontconfig') diff --git a/fontconfig/configure.ac b/fontconfig/configure.ac index 644fc1a58..140cb70aa 100644 --- a/fontconfig/configure.ac +++ b/fontconfig/configure.ac @@ -353,6 +353,18 @@ if test "$enable_libxml2" = "yes"; then AC_SUBST(LIBXML2_CFLAGS) AC_SUBST(LIBXML2_LIBS) + + fc_saved_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $LIBXML2_CFLAGS" + AC_MSG_CHECKING([SAX1 support in libxml2]) + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ + #include + #if !defined(LIBXML_SAX1_ENABLED) + # include "error: No SAX1 support in libxml2" + #endif + ]])], [AC_MSG_RESULT([found])], [AC_MSG_ERROR([ +*** SAX1 support in libxml2 is required. enable it or use expat instead.])]) + CFLAGS="$fc_saved_CFLAGS" fi # -- cgit v1.2.3