The following message is a courtesy copy of an article
that has been posted to gnu.utils.bug as well.

>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:

Alexandre> On Aug 18, 2000, [EMAIL PROTECTED] (Carlo Wood) wrote:
>> In the documentation of autoconf it reads that AC_TRY_RUN, when it
>> fails, passes the return value of the program in the shell variable
>> $?.  This is not true, the variable is always 0.

Alexandre> Indeed.  Please report this to the autoconf mailing list,
Alexandre> [EMAIL PROTECTED]

In fact I think the documentation should be fixed: the exit value is
not available, and I don't think it would be wise to try to preserve
it, even in ac_status for instance.  

We can though, so we might want to debate about this.

My usual answer to this question is to look at AC_CHECK_SIZEOF:
communication from a sub program to configure should be done via
files.

        Akim

Reply via email to