checking version of a specific language interpreter/compiler

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

 



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 ?
-- 
Guillaume Rousse
Projet Estime, INRIA
Domaine de Voluceau
Rocquencourt - B.P. 105
78153 Le Chesnay Cedex - France


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux