Source: liblouisxml
Version: 2.4.0-8
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

liblouisxml fails to cross build from source, because configure.ac uses
AC_PATH_PROG to find pkg-config. It thus finds the wrong pkg-config.
PKG_CHECK_MODULES works correctly once the AC_PATH_PROG is removed.
Please consider applying the attached patch. liblouisxml will continue
to fail to cross build, because it uses help2man. There are no good
solutions for help2man, only workarounds. Please close this bug when
fixing the pkg-config part as an incremental improvement.

Helmut
--- liblouisxml-2.4.0.orig/configure.ac
+++ liblouisxml-2.4.0/configure.ac
@@ -49,8 +49,6 @@ AM_PROG_LIBTOOL
 AC_CHECK_PROG([HELP2MAN], [help2man], [help2man])
 AM_CONDITIONAL([HAVE_HELP2MAN], [test x$HELP2MAN = xhelp2man])
 
-AC_PATH_PROG(PKG_CONFIG, pkg-config)
-
 PKG_CHECK_MODULES(BASE_DEPENDENCIES, [liblouis, libxml-2.0])
 
 # Checks for libraries.

Reply via email to