diff --git a/ax_check_qt.m4 b/ax_check_qt.m4 index 3a067ef..95f0e83 100644 --- a/ax_check_qt.m4 +++ b/ax_check_qt.m4 @@ -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