From 86fb4d92865ccf8bbda2e3e13aabed6aa5960ea7 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 21 May 2021 16:19:37 +0300 Subject: [PATCH 46/46] MacOS: Respect user set MOCCMD See osdn #42342 Signed-off-by: Marko Lindqvist --- m4/qt5-darwin.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/qt5-darwin.m4 b/m4/qt5-darwin.m4 index 725fe4ab0e..9a0b57c7f2 100644 --- a/m4/qt5-darwin.m4 +++ b/m4/qt5-darwin.m4 @@ -27,7 +27,7 @@ AC_DEFUN([FC_QT5_DARWIN], AC_LANG_POP([C++]) if test "x$qt5_libs" = "xyes" ; then - MOCCMD="$qt5_framework_bin/moc" + AS_IF([test "x$MOCCMD" = "x"], [MOCCMD="$qt5_framework_bin/moc"]) AS_IF([test -x $MOCCMD], [fc_qt5_usable=true], [fc_qt5_usable=false]) else fc_qt5_usable=false -- 2.30.2