Commit d7645b67 authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by Alexandre Julliard

aclocal.m4: Fix compatibility with upcoming autoconf-2.70.

Under autoconf 2.69c (beta) `./configure` fails as: ``` ./configure ... checking for msgfmt... msgfmt ./configure: line 7441: syntax error near unexpected token `newline' ./configure: line 7441: ` ''' ``` This happens due to underquoting of a snippet argument for `AS_VAR_SET_IF` call. Signed-off-by: 's avatarSergei Trofimovich <slyfox@gentoo.org> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent fc893489
......@@ -28,7 +28,7 @@ dnl Like AC_CHECK_TOOL but without the broken fallback to non-prefixed name
dnl
AC_DEFUN([WINE_CHECK_HOST_TOOL],
[AS_VAR_SET_IF([ac_tool_prefix],
AC_CHECK_PROG([$1],[${ac_tool_prefix}$2],[${ac_tool_prefix}$2],,[$4]))
[AC_CHECK_PROG([$1],[${ac_tool_prefix}$2],[${ac_tool_prefix}$2],,[$4])])
AS_VAR_IF([ac_cv_prog_$1],[],
[AS_VAR_IF([cross_compiling],[yes],[],
[AS_UNSET([ac_cv_prog_$1])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment