[Top][All Lists]

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

Re: debbugs, and a FAQ, for Autotools

From: Eric Blake
Subject: Re: debbugs, and a FAQ, for Autotools
Date: Mon, 21 Feb 2011 07:09:31 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 02/19/2011 06:50 PM, Russell Shaw wrote:
> Looking through a ./configure script, i see lots of things being done
> with file descriptors >&5 and >&6. What is going on here? eg:

The example only showed use of >&5.

> eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
> $as_echo "$ac_try_echo"; } >&5
>   (eval "$ac_compile") 2>conftest.err
>   ac_status=$?
>   if test -s conftest.err; then
>     grep -v '^ *+' conftest.err >conftest.er1
>     cat conftest.er1 >&5
>     mv -f conftest.er1 conftest.err
>   fi
>   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5

FD 5 is config.log.  That is, everything that redirects output to 5 is
setting up more verbose output that will end up in the log file,
compared to the shorter output that appears on just stdout.

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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