From 5adc2c5ff2addf3231b6f68b11ef990f987592f9 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sun, 17 Jul 2016 23:50:34 +0200 Subject: [PATCH] Use a more portable construct Some shells do not understand the $() notation for command substitution. --- config/qt4.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/qt4.m4 b/config/qt4.m4 index 03f0c05341..2f5f775632 100644 --- a/config/qt4.m4 +++ b/config/qt4.m4 @@ -77,8 +77,8 @@ AC_DEFUN([QT_FIND_TOOL], elif qtchooser -l 2>/dev/null | grep -q ^$qt_ext\$ >/dev/null ; then AC_PATH_PROG(qtc_path, qtchooser, [], [$PATH]) AC_PATH_PROG($2_path, $2, [], [$PATH]) - qtc_path=$(dirname "$qtc_path") - $2_path=$(dirname "$$2_path") + qtc_path=`dirname "$qtc_path"` + $2_path=`dirname "$$2_path"` if test "$qtc_path" = "$$2_path" ; then AC_CHECK_PROG($1, $2, [$2 -qt=$qt_ext],, [$PATH]) fi -- 2.39.5