bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lib/progname.c


From: Ralf Wildenhues
Subject: Re: lib/progname.c
Date: Wed, 2 Jan 2008 20:20:18 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

[ Cc:ing bug-libtool ]

Hello Bruno, Paul, all,

* Bruno Haible wrote on Sat, Dec 29, 2007 at 05:36:01PM CET:
> Paul Eggert wrote:
> > I do have a bit of trouble reading the code, though.
> > It doesn't seem to match the comment: e.g., it strips a leading "lt-"
> > even when there's no "/.libs/".
> 
> When I look at ltmain.sh it seems that an 'lt-program' or 'lt-program.exe'
> can also be generated outside the .libs directory. But I cannot tell under
> which conditions this happens. Can some libtool guru throw some light on
> this?

Can you point to what makes it look like this, and which Libtool version?
Because I think that an lt-program* outside [._]libs/ would be a bug.
Are you hinting at this line?

      { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 
2>/dev/null | ${SED} 1q\`; \\

I think that's a leftover bug made unnecessary by the changes from
1999-02-22, but I haven't looked closely yet.  ;-)

Thanks, and a Happy New Year,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]