autoconf
[Top][All Lists]
Advanced

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

Re: Implementation of `AC_COMPUTE_INT'


From: Ralf Wildenhues
Subject: Re: Implementation of `AC_COMPUTE_INT'
Date: Thu, 20 Mar 2008 17:46:14 +0100
User-agent: Mutt/1.5.17 (2008-03-09)

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




reply via email to

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