Source: qsampler Version: 0.5.0-1 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
qsampler fails to cross build from source, because its ./configure discovers the build architecture qmake. That's due to using AC_PATH_PROG rather than AC_PATH_TOOL. The attached patch fixes that and makes qsampler cross buildable. Please consider applying the attached patch. Helmut
--- qsampler-0.5.0.orig/configure.ac +++ qsampler-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