[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#928773: nabi FTCBFS: uses the wrong pkg-config



Source: nabi
Version: 1.0.0-3
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap

nabi fails to cross build from source, because it looks up pkg-config
using AC_PATH_PROG. A better solution is to use PKG_PROG_PKG_CONFIG, but
since it uses PKG_CHECK_MODULES, this is AC_REQUIREd already. We can
simply drop the AC_PATH_PROG at no loss of functionality and fix the
cross build. Please consider applying the attached patch.

Helmut
--- nabi-1.0.0.orig/configure.ac
+++ nabi-1.0.0/configure.ac
@@ -39,8 +39,6 @@ case $X_PRE_LIBS in
 esac
 
 dnl Checks for GTK+ libraries.
-AC_PATH_PROG(PKG_CONFIG, pkg-config,
-	     AC_MSG_ERROR([nabi needs pkg-config]))
 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.4.0,,
 		  AC_MSG_ERROR([nabi needs GTK+ 2.4.0 or higher]))
 

Reply to: