Source: jwm
Version: 2.3.7-2
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap

jwm fails to cross build from source, because it uses the wrong
pkg-config. The attached patch fixes that and makes jwm cross buildable.
Please consider applying it.

Helmut
--- jwm-2.3.7.orig/configure.ac
+++ jwm-2.3.7/configure.ac
@@ -93,17 +93,7 @@
 # Check for pkg-config.
 ############################################################################
 
-AC_DEFUN([JWM_PKGCONFIG_EXISTS],
-[
-   AC_MSG_CHECKING([for pkg-config])
-   if which pkg-config >/dev/null ; then
-      PKGCONFIG=pkg-config
-      AC_MSG_RESULT($PKGCONFIG)
-   else
-      PKGCONFIG=""
-      AC_MSG_RESULT([no])
-   fi
-])
+AC_DEFUN([JWM_PKGCONFIG_EXISTS],[AC_PATH_TOOL(PKGCONFIG,pkg-config)])
 
 AC_DEFUN([JWM_PKGCONFIG],
 [

Reply via email to