Source: qsynth
Version: 0.5.0-1
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap
qsynth fails to cross build from source, because it searches for qmake
without considering $ac_tool_prefix. After replacing the relevant
AC_PATH_PROG with AC_PATH_TOOL, it runs into #886542. Please consider
applying the attached patch anyway.
Helmut
Index: qsynth-0.5.0/configure.ac
===================================================================
--- qsynth-0.5.0.orig/configure.ac
+++ qsynth-0.5.0/configure.ac
@@ -202,12 +202,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