From e1ce1c90f78192c67826e307efccd0d35da3615d Mon Sep 17 00:00:00 2001 From: Arnav Singh Date: Sat, 1 Jun 2013 13:46:33 -0700 Subject: [PATCH] configure.ac: Use pkg-config's CFLAGS for libxml2 instead of guessing our own. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 56a7abe1..1beea6dd 100644 --- a/configure.ac +++ b/configure.ac @@ -659,7 +659,7 @@ if test "$spell" = "static" ; then PKG_CHECK_MODULES(LIBXML2, libxml-2.0 >= 2.0.0, [ AC_DEFINE(HAVE_ISO_CODES) AC_DEFINE(USE_LIBSEXY) - GUI_CFLAGS="$GUI_CFLAGS -I/usr/include/libxml2" + GUI_CFLAGS="$GUI_CFLAGS $LIBXML2_CFLAGS" LIBS="$LIBS -lxml2" ], [ AC_MSG_ERROR(Cannot find libxml2!)