Subject: bug#60731: configure does not check for space behind "-l"

From: Peter Johansson <[email-masked]>
Date: Fri, 13 Jan 2023 21:10:21 +1000

Hi Christian,

On 11/1/23 22:12, Christian Weiss wrote:
> However, I found the following in the configure script:
>
>   for p in `eval "$output_verbose_link_cmd"`; do
>
>     case ${prev}${p} in
>
>     -L* | -R* | -l*)
>
>        # Some compilers place space between "-{L,R}" and the path.
>
>        # Remove the space.
>
>        if test $p = "-L" ||
>
>           test $p = "-R"; then
>
>          prev=$p
>
>          continue
>
>        fi
>

That shell code is coming from libtool, presumably expanded from the 
LT_INIT macro. You might have better luck asking on [email-masked]

Cheers,

Peter