This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cross-compile: patch for configure.in



> > That is not necessary.  I just checked this by running a trivial
> > configure script with CC=i386-gnu-gcc.  If $ac_cv_sizeof_int has
> > been defined, AC_CHECK_SIZEOF(int) uses that value and doesn't
> > complain about being unable to run the test.
> 
> Ok, I'll try that.
> 
> Urg, this look like magic.  The manual doesn't mention it, and I 
> verified that you do need to specify the default:
> 
>    , $ac_cv_sizeof_int)
> 
> if you use SITE_CONFIG, and are not cross-compiling (ie, use cc).
> 
> I don't like magic.

No, this isn't magic at all.  It's the natural behavior of autoconf
macros with respect to their cache variables.  If a macro's cache
variable is set, then it clearly won't try to recompute its value.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]