This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: cross-compile: patch for configure.in
- To: Jan Nieuwenhuizen <janneke at gnu dot org>
- Subject: Re: cross-compile: patch for configure.in
- From: Jim Blandy <jimb at red-bean dot com>
- Date: 28 Mar 2000 01:22:08 -0500
- Cc: Kalle Olavi Niemitalo <tosi at ees2 dot oulu dot fi>, guile at sourceware dot cygnus dot com
- References: <200003271125.NAA19726@appel.dyndns.org>
> > 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.