RE: AC_C_BIGENDIAN (was AC_CONFIG_LINKS and MSVC)

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

 



On Friday, April 14, Noah Misch wrote: 

> On Fri, Apr 14, 2006 at 03:43:39PM -0700, David Byron wrote:
>
> > AC_C_BIGENDIAN(ENDIAN=be,ENDIAN=le)
> > 
> > doesn't work for me using MSVC.  The test program #includes
> > sys/params.h which MSVC can't find.  config.log has:
> > 
> > conftest.c(33) : fatal error C1083: Cannot open include
> > file: 'sys/param.h': No such file or directory
> > 
> > It happens to choose little endian but I didn't want to
> > depend on that.
> 
> That test program can fail safely; AC_C_BIGENDIAN has
> fallback code for when sys/param.h is unavailable or does
> not define the relevant constants.

You're right.  Thanks for getting me to take a closer look.

-DB


_______________________________________________
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