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: Kalle Olavi Niemitalo <tosi at ees2 dot oulu dot fi>
- Subject: Re: cross-compile: patch for configure.in
- From: Jan Nieuwenhuizen <janneke at gnu dot org>
- Date: Mon, 27 Mar 2000 13:25:19 +0200
- cc: guile at sourceware dot cygnus dot com
On Saturday, 25 March 2000, Kalle Olavi Niemitalo writes:
> Jan Nieuwenhuizen <janneke@gnu.org> writes:
>
> > But we still need a patch that goes like:
> >
> > -AC_CHECK_SIZEOF(int)
> > +AC_CHECK_SIZEOF(int, $ac_cv_sizeof_int)
>
> 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.
Greetings,
Jan.
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org