GNU bug report logs - #10231
libtool.m4 makes the wrong shell (dash) run libtool

Previous Next

Package: libtool;

Reported by: Hallvard B Furuseth <h.b.furuseth <at> usit.uio.no>

Date: Tue, 6 Dec 2011 12:01:02 UTC

Severity: normal

Merged with 10303

Full log


View this message in rfc822 format

From: Hallvard B Furuseth <h.b.furuseth <at> usit.uio.no>
To: 10231 <at> debbugs.gnu.org
Cc: Peter O'Gorman <peter <at> pogma.com>
Subject: bug#10231: libtool.m4 makes the wrong shell (dash) run libtool
Date: Sat, 10 Dec 2011 16:45:37 +0100
Earnie writes:
>> Yeah, but the question is if Cygnus/MSYS ensure that when the Make
>> program invokes libtool it obeys the '#! <shell path>' line inside it.
>> (...)
> Yes they do.  (...)

Thanks.


BTW, I just noticed this in the GNU coding standards, 7.2.1 General
Conventions for Makefiles:

    "Every Makefile should contain this line:

      SHELL = /bin/sh

    to avoid trouble on systems where the `SHELL' variable might be
    inherited from the environment.  (This is never a problem with GNU
    `make'.)"

So Make programs differ in this, the current '$(SHELL) libtool' was
never supposed to be correct, and $CONFIG_SHELL concerns seem irrelevant.

-- 
Hallvard




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

Previous Next


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