Re: ac_cv_sizeof_X, et al.

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

 



* Philip Prindeville wrote on Tue, Jul 15, 2008 at 01:27:17AM CEST:
> I'm looking at sox-12.17.9 and seeing in their "configure" file (which  
> claims to be generated via Autoconf 2.59) from their configure.in file  
> and seeing:
>
> ac_cv_sizeof_x="$ac_cv_sizeof_char:$ac_cv_sizeof_short"

Well, for starters, they violate Autoconf's namespace by using variables
matching ac_* which may clash with Autoconf-provided ones.  Whether this
gets them into trouble (with some Autoconf version) or not, is their
problem.

Eric Blake wrote:
> Newer autoconf versions are able to accurately determine type sizes when
> cross-compiling, making life much easier for porting to a
> cross-compilation platform.

He's using Autoconf 2.59.  Not sure what you're referring to, but that
version did have working compile-time size check IIRC.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux