Source: qjackctl
Version: 0.5.0-1
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

qjackctl fails to cross build from source, because ./configure detects
the build architecture qmake with AC_PATH_PROG while it should have been
using AC_PATH_TOOL for architecture-dependent commands. The attached
patch fixes that and makes qjackctl cross build successfully. Please
consider applying it.

Helmut
--- qjackctl-0.5.0.orig/configure.ac
+++ qjackctl-0.5.0/configure.ac
@@ -254,12 +254,12 @@
 ac_errmsg="not found in current PATH. Maybe QT development environment isn't available."
 
 if test "x$ac_qt4" = "xyes"; then
-   AC_PATH_PROG(ac_qmake, qmake-qt4, [no], $ac_path)
+   AC_PATH_TOOL(ac_qmake, qmake-qt4, [no], $ac_path)
 else
-   AC_PATH_PROG(ac_qmake, qmake-qt5, [no], $ac_path)
+   AC_PATH_TOOL(ac_qmake, qmake-qt5, [no], $ac_path)
 fi
 if test "x$ac_qmake" = "xno"; then
-   AC_PATH_PROG(ac_cv_qmake, qmake, [no], $ac_path)
+   AC_PATH_TOOL(ac_cv_qmake, qmake, [no], $ac_path)
    ac_qmake=$ac_cv_qmake
 fi
 if test "x$ac_qmake" = "xno"; then

Reply via email to