Blob Blame History Raw
From 3c431fc43e8318bdcd48b66eb50e07655e915f80 Mon Sep 17 00:00:00 2001
From: Luigi Baldoni <aloisio@gmx.com>
Date: Wed, 6 Mar 2019 10:33:44 +0100
Subject: [PATCH] Extend the search path for Qt-related tools

---
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.ac b/configure.ac
index c4ba201e..c5c87800 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,6 +151,11 @@ AX_CHECK_COMPILE_FLAG([-std=c++11], [
 AC_ARG_ENABLE([qt], AS_HELP_STRING([--enable-qt], [Enable Qt: needed for pulseaudio and jack GUIs]), [], [enable_qt=check])
 AS_IF([test "$enable_qt" != "no"],
   [
+    case $host_os in
+      linux*)
+        PATH="$PATH:`pkg-config --variable=host_bins Qt5Core`"
+      ;;
+    esac
     AX_HAVE_QT  # m4/qt.m4
 
     AS_IF([test "$have_qt" = "yes"], [