GNU bug report logs - #60731
configure does not check for space behind "-l"

Previous Next

Package: libtool;

Reported by: Christian Weiss <Christian.Weiss <at> EMEA.NEC.COM>

Date: Wed, 11 Jan 2023 14:00:03 UTC

Severity: normal

Done: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 60731 <at> debbugs.gnu.org (full text, mbox):

From: Peter Johansson <trojkan <at> gmail.com>
To: Christian Weiss <Christian.Weiss <at> EMEA.NEC.COM>, 60731 <at> debbugs.gnu.org
Subject: Re: bug#60731: configure does not check for space behind "-l"
Date: Fri, 13 Jan 2023 21:10:21 +1000
[Message part 1 (text/plain, inline)]
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 libtool <at> gnu.org


Cheers,

Peter

[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 149 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.