[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: AC_C_BIGENDIAN (was AC_CONFIG_LINKS and MSVC)
From: |
David Byron |
Subject: |
RE: AC_C_BIGENDIAN (was AC_CONFIG_LINKS and MSVC) |
Date: |
Tue, 18 Apr 2006 13:04:55 -0700 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: AC_C_BIGENDIAN (was AC_CONFIG_LINKS and MSVC),
David Byron <=