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

Peter Johansson <[email protected]> Fri, 13 Jan 2023 21:10:21 +1000
Newsgroups gmane.comp.gnu.libtool.bugs
Message-ID <[email protected]>
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 protected]


Cheers,

Peter

_______________________________________________
Bug-libtool mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-libtool