* Ineiev wrote on Wed, Mar 19, 2008 at 08:07:56AM CET:
>  --- Ralf Wildenhues <[EMAIL PROTECTED]> wrote: 
> [snip]
> > The other possibility you could go about if you need to avoid run tests
> > is to set $cross_compiling to yes.
> 
> Do I understand correctly this variable may be set in configure.ac? How to do
> this not to break the script? Could you please explain in more details or 
> point
> to documentation on this?

For example:

# We temporarily set cross-compile mode to force AC_COMPUTE_INT
# to use the slow link-only method
save_cross_compiling=$cross_compiling
AC_COMPUTE_INT([...])
cross_compiling=$save_cross_compiling

And yes, the manual documents the variable $cross_compiling.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to