]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtool: Handle unset $multilib for Windows targets.
authorMarkus Mützel <markus.muetzel@gmx.de>
Mon, 14 Oct 2024 15:25:07 +0000 (17:25 +0200)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Tue, 22 Oct 2024 17:00:47 +0000 (20:00 +0300)
commit68fbecc49be8076f14ba241f80b1a33a59d8d048
tree4a988bc234eead7c9d1de04d26d48dd4419f4987
parent3226abb87053e2b3001a9d7c1f9b3bccd6c1d9f3
libtool: Handle unset $multilib for Windows targets.

If `multilib` is unset (which it apparently is by default), the output
from running a `configure` script contains lines like the following:
```
checking dynamic linker characteristics... ../configure: line 26791: test: yes: unary operator expected
Win32 ld.exe
```

The additional output is not a fatal error. But it could be irritating.

Avoid the unexpected output from `test` by making sure `=` is used as a
binary operator.

* m4/libtool.m4: Prepend "x" on both sides of a comparison with `test`
and the operator `=`.
* NEWS: Update for bug fix.

See also: https://github.com/msys2/MINGW-packages/pull/21905
NEWS
m4/libtool.m4