mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Use a more portable construct
Some shells do not understand the $() notation for command substitution.
This commit is contained in:
parent
bd890842f5
commit
5adc2c5ff2
@ -77,8 +77,8 @@ AC_DEFUN([QT_FIND_TOOL],
|
|||||||
elif qtchooser -l 2>/dev/null | grep -q ^$qt_ext\$ >/dev/null ; then
|
elif qtchooser -l 2>/dev/null | grep -q ^$qt_ext\$ >/dev/null ; then
|
||||||
AC_PATH_PROG(qtc_path, qtchooser, [], [$PATH])
|
AC_PATH_PROG(qtc_path, qtchooser, [], [$PATH])
|
||||||
AC_PATH_PROG($2_path, $2, [], [$PATH])
|
AC_PATH_PROG($2_path, $2, [], [$PATH])
|
||||||
qtc_path=$(dirname "$qtc_path")
|
qtc_path=`dirname "$qtc_path"`
|
||||||
$2_path=$(dirname "$$2_path")
|
$2_path=`dirname "$$2_path"`
|
||||||
if test "$qtc_path" = "$$2_path" ; then
|
if test "$qtc_path" = "$$2_path" ; then
|
||||||
AC_CHECK_PROG($1, $2, [$2 -qt=$qt_ext],, [$PATH])
|
AC_CHECK_PROG($1, $2, [$2 -qt=$qt_ext],, [$PATH])
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user