AC_COMPILE_CHECK_SIZEOF

Zack Weinberg zack@codesourcery.com
Sun Sep 5 17:04:00 GMT 2004


Jones Desougi <jones@ingate.com> writes:

> AC_COMPILE_CHECK_SIZEOF (in config/accross.m4) takes an optional argument
> and uses it for two incompatible purposes. One is additional sizes to try
> and the other is additional code sent to AC_TRY_COMPILE.
> This affects mainline and the 3.4 branch. The gcc_AC_COMPILE_CHECK_SIZEOF
> that was in 3.3.x used two optional arguments for this.
> The optional argument does not appear to be used anywhere at this time.

For mainline, I think it would be better if you cut us over to
plain AC_CHECK_SIZEOF, which works correctly when cross-compiling in
autoconf 2.5x.

For 3.4, we'd need to know that there was an actual problem before
changing anything.  Did you encounter a problem?

zw



More information about the Gcc mailing list