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 OCaml... -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf