bug-gnulib
[Top][All Lists]
Advanced

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

Re: return values of test programs in *.m4 macros


From: Bruno Haible
Subject: Re: return values of test programs in *.m4 macros
Date: Sun, 5 Dec 2010 02:12:49 +0100
User-agent: KMail/1.9.9

Hi Eric,

> If the particular
> combination of failures matches 63, 77, or 99 (as commonly used by
> automake and autoconf to mean version mismatch, skip, or hard fail),
> then the configure script might misbehave.

In the generated configure scripts, AC_RUN_IFELSE tests for an exit
code equal to 0 and nothing else. And this cannot change, because it's
documented behaviour of AC_RUN_IFELSE:

 -- Macro: AC_RUN_IFELSE (INPUT, [ACTION-IF-TRUE], [ACTION-IF-FALSE],
          [ACTION-IF-CROSS-COMPILING])
     If PROGRAM compiles and links successfully and returns an exit
     status of 0 when executed, run shell commands ACTION-IF-TRUE.
     Otherwise, run shell commands ACTION-IF-FALSE.

So, there is no problem now, and there cannot be a problem in the
future.

Bruno



reply via email to

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