Source: ldapvi
Version: 1.7-10
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap
ldapvi fails to cross build from source, because it hard codes the build
architecture pkg-config and fails to consider $ac_tool_prefix. The
attached patch fixes that. Please consider applying it.
Helmut
Index: ldapvi-1.7/configure.in
===
--- ldapvi-1.7.orig/configure.in
+++ ldapvi-1.7/configure.in
@@ -46,8 +46,8 @@
AC_CHECK_LIB([readline],[readline],,AC_MSG_ERROR([libreadline not found]))
# pkg-config
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
-if test "x$PKG_CONFIG" = "xno"; then AC_MSG_ERROR([pkg-config not found]); fi
+PKG_PROG_PKG_CONFIG
+if test "x$PKG_CONFIG" = "x"; then AC_MSG_ERROR([pkg-config not found]); fi
# glib
LIBS="`$PKG_CONFIG --libs glib-2.0` $LIBS"