libtool-patches
[Top][All Lists]
Advanced

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

Re: [Mingw-users] Re: Solving the "relink exe's" libtool problem[take3]


From: Charles Wilson
Subject: Re: [Mingw-users] Re: Solving the "relink exe's" libtool problem[take3]
Date: Mon, 20 Jan 2003 20:38:30 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0


easy enough.  But what's the best way to use "the shell"?  Do a unquoted
replacement (<<EOF, not <<"EOF") e.g.

Yes.

Somewhere, buried in the configury stuff is an environment
variable named something like, "CONFIG_SHELL".  That's what
you want.  If it is not available, then imitating the techniques
used to obtain it by configure should be used.

But lt-foo.c is created by the libtool script itself -- and libtool already knows that $SHELL == /bin/sh or /bin/bash or whatever. libtool uses the same method I described when creating the shell wrapper:

        $echo > $output "\
#! $SHELL
# $output - temporary wrapper script for $objdir/$outputname
...

So I really don't need to worry about $CONFIG_SHELL or imitating configure, do I? I can just use $SHELL.

--Chuck





reply via email to

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