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: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sergei Trofimovich 2020-10-29 22:51:57 +00:00 committed by Alexandre Julliard
parent fc893489fe
commit d7645b67c3
1 changed files with 1 additions and 1 deletions

2
aclocal.m4 vendored
View File

@ -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])