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 bug-autoconf@gnu.org but the mail just bounces. There may be a fault with the bug tracker: Message-ID: <562582.29288...@web26503.mail.ukl.yahoo.com> <bug-autoconf@gnu.org>: 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/