Re: Implementation of `AC_COMPUTE_INT'

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

 



* Ineiev wrote on Wed, Mar 19, 2008 at 08:07:56AM CET:
>  --- Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> 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
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