configure.ac: Use pkg-config's CFLAGS for libxml2 instead of guessing our own.
This commit is contained in:
parent
f45c2dd061
commit
e1ce1c90f7
|
@ -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!)
|
||||
|
|
Loading…
Reference in New Issue