Source: synthv1 Version: 0.8.6-1 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
synthv1 fails to cross build from source, because configure.ac uses AC_PATH_PROG for finding qmake. Thus it gets the build architecture qmake. Since the behaviour of qmake is architecture-dependent, it should be using AC_PATH_TOOL. The attached patch implements that and makes synthv1 cross buildable. Please consider applying it. Helmut
--- synthv1-0.8.6.orig/configure.ac +++ synthv1-0.8.6/configure.ac @@ -257,12 +257,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