[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_CONFIG_LINKS and MSVC
From: |
Noah Misch |
Subject: |
Re: AC_CONFIG_LINKS and MSVC |
Date: |
Fri, 14 Apr 2006 16:02:31 -0700 |
User-agent: |
Mutt/1.5.6i |
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.