bug-autoconf
[Top][All Lists]
Advanced

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

[sr #107444] constructs generated by autoconf do not work in the ash she


From: Mark Hobley
Subject: [sr #107444] constructs generated by autoconf do not work in the ash shell
Date: Tue, 03 Aug 2010 08:30:57 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100623 Iceape/2.0.5

URL:
  <http://savannah.gnu.org/support/?107444>

                 Summary: constructs generated by autoconf do not work in the
ash shell
                 Project: Autoconf
            Submitted by: markhobley
            Submitted on: Tue 03 Aug 2010 08:30:57 AM GMT
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None

    _______________________________________________________

Details:


Some versions of the ash shell will not allow redirection to a stream number
held in a variable:

  # This construct does not work in some versions of the ash shell
  echo $1 >&$2

The autoconf tool sometimes generates scripts using this construct, The
following is an example of a code snippet using this construct in a configure
script:

  if test "$3"; then as_lineno=${as_lineno-"$2"}
    as_lineno_stack=as_lineno_stack=$as_lineno_stack
    $as_echo "$as_me:${as_lineno-$LINENUM}: error: $1" >&$3
  fi

(I think this is coming from the _AS_ECHO_LOG macro).

Mark.


PS: I tried to report this via email to address@hidden
but the mail just bounces. There may be a fault with the bug tracker:

Message-ID: <address@hidden>
<address@hidden>:
140.186.70.92 does not like recipient.
Remote host said: 550 (result of an earlier callout reused).
Giving up on 140.186.70.92.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?107444>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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