diff options
author | Arnav Singh <arnavion@gmail.com> | 2013-06-01 13:46:33 -0700 |
---|---|---|
committer | Arnav Singh <arnavion@gmail.com> | 2013-06-01 13:46:33 -0700 |
commit | e1ce1c90f78192c67826e307efccd0d35da3615d (patch) | |
tree | 3b153b25c271cab9b87d425969392655eb647988 | |
parent | f45c2dd0610bb60b5b6a98636099da6f42965558 (diff) |
configure.ac: Use pkg-config's CFLAGS for libxml2 instead of guessing our own.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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!) |