[Top][All Lists]

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

Re: checking version of a specific language interpreter/compiler

From: Micah J. Cowan
Subject: Re: checking version of a specific language interpreter/compiler
Date: Wed, 2 Aug 2006 14:35:55 -0700
User-agent: Mutt/

On Wed, Aug 02, 2006 at 04:26:27PM +0200, Guillaume Rousse wrote:
> I'm trying to implement a minimum version check for OCaml. Looking at
> various existing implementations of such checks (python, libxml2,
> etc...), I see all of them relying on executing a code fragment in the
> target language through AC_TRY_RUN, instead of standard shell code.
> However, autoconf manual discourage such checks:
> "Avoid running test programs if possible, because this prevents people
> from configuring your package for cross-compiling."
> So, is there a reason for prefering target code here ?

I'm guessing that that explanation doesn't really apply much to
architecture-independent, interpretive languages such as python or

Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...

reply via email to

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