commit 5adc2c5ff2addf3231b6f68b11ef990f987592f9
Author: Enrico Forestieri <for...@lyx.org>
Date:   Sun Jul 17 23:50:34 2016 +0200

    Use a more portable construct
    
    Some shells do not understand the $() notation for command substitution.
---
 config/qt4.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/qt4.m4 b/config/qt4.m4
index 03f0c05..2f5f775 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

Reply via email to