libtool
[Top][All Lists]
Advanced

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

Re: libtool-2.2.10: print vs. printf


From: Ralf Wildenhues
Subject: Re: libtool-2.2.10: print vs. printf
Date: Wed, 27 Oct 2010 20:13:43 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

Hi Markus.

* Markus Duft wrote on Wed, Oct 27, 2010 at 09:13:17AM CEST:
> On 10/23/2010 09:16 AM, Ralf Wildenhues wrote:
> > * Markus Duft wrote on Fri, Oct 22, 2010 at 09:59:27AM CEST:
> >> or am i wrong, and it is specified, that the shells that configure and
> >> make use have to be the same?
> > 
> > Exactly.  The bug is that the shell used during configure, and the shell
> > invoking libtool, are not the same.  This bug can be caused by different
> > things, either you setting SHELL in Makefile.in, or SHELL or
> > CONFIG_SHELL in configure.ac, or something similar.  We cannot tell
> > without more details.
> 
> oh, well - good to know that ;) is there some documentation i can refer to
> wrt to this requirement? it seems we need to adapt some things, as this was
> not the case with previous versions - and i need to argue the need to do the
> work ;)

Good point actually.  We don't currently have such documentation.  The
Autoconf manual has some bits on $CONFIG_SHELL, but nothing about the
libtool script of course.

OK to fix that with the patch below, and add Markus to THANKS?

Thanks,
Ralf

    docs: mention shell requirement for libtool script.
    
    * doc/libtool.texi (Invoking libtool): Document that the shell
    used to invoke libtool needs to be the same used to configure
    it.
    * THANKS: Update.
    Report by Markus Duft.

diff --git a/doc/libtool.texi b/doc/libtool.texi
index 076b67b..c84b92a 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1326,6 +1326,12 @@ can be achieved using either option @option{-v} or option
 Print libtool version information and exit.
 @end table
 
+The current @command{libtool} implementation is done with a shell script
+that needs to be invoked by the shell which @command{configure} chose for
+configuring @command{libtool} (@pxref{config.status Invocation, , The
+Autoconf Manual, autoconf, The Autoconf Manual}).  This shell is set in
+the she-bang (@samp{#!}) line of the @command{libtool} script.
+
 The @var{mode-args} are a variable number of arguments, depending on the
 selected operation mode.  In general, each @var{mode-arg} is interpreted
 by programs libtool invokes, rather than libtool itself.



reply via email to

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