Source: cif-api
Version: 0.4.2-2
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

cif-api fails to cross build from source, because the upstream configure
script uses the build architecture pkg-config. The simple solution is to
replace the relevant AC_PATH_PROG with AC_PATH_TOOL. A better solution
would likely be using PKG_CHECK_MODULES. Please consider applying the
attached patch for the simple solution.

Helmut
--- cif-api-0.4.2.orig/m4/ax_icuio.m4
+++ cif-api-0.4.2/m4/ax_icuio.m4
@@ -43,7 +43,7 @@
   AC_LANG_PUSH([C])
   AC_REQUIRE([AC_PROG_CPP])dnl
   AC_REQUIRE([AC_PROG_SED])dnl
-  AC_PATH_PROG([PKG_CONFIG], [pkg-config], [:])
+  AC_PATH_TOOL([PKG_CONFIG], [pkg-config], [:])
   AS_IF([test "${PKG_CONFIG}" = :], [AC_MSG_ERROR([The 'pkg-config' command was not found])])
 
   ICU_PKG=

Reply via email to