From df77ca2a09c9d863eacad8710c337f9939ed7f46 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 21 Nov 2017 18:37:05 +0100 Subject: [PATCH] Tweak recompile configure.in --- bacula/configure | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bacula/configure b/bacula/configure index ee9ef98140..8ae8e33442 100755 --- a/bacula/configure +++ b/bacula/configure @@ -886,7 +886,6 @@ LIBRSYNC_VERSION NDMP_VERSION JAVA_VERSION VIX_VERSION -BQT4_VERSION DEPKGS_VERSION DEPKGS_QT_VERSION BDB_VERSION @@ -21835,7 +21834,13 @@ if test x$support_bat = xyes; then if test $pkg = 0; then BAT_DIR=src/qt-console else - as_fn_error $? "Unable to find Qt installation needed by bat" "$LINENO" 5 + abc=`$PKGCONFIG Qt5Gui` + pkg=$? + if test $pkg = 0; then + BAT_DIR=src/qt-console + else + as_fn_error $? "Unable to find either Qt4 or Qt5 installation needed by bat" "$LINENO" 5 + fi fi fi -- 2.39.2