qt-tools are named tool-qt5 in suse :p

This commit is contained in:
Marc Wäckerlin
2015-07-30 12:40:18 +00:00
parent 4bf48055dc
commit 4ee8587fbb

View File

@@ -50,7 +50,7 @@ AC_DEFUN([AX_CXX_QT_TOOL], [
$1=${$1:-$(${PKG_CONFIG} --variable=host_bins QtCore)/$2}
if ! which "${$1%% *}" > /dev/null; then
if which "$2-qt5" > /dev/null; then
$1=$2
$1=$2-qt5
elif which "$2" > /dev/null; then
$1=$2
else