My vote too. How often does configure come across a system which doesn't 
have a macro defining the byte order?

I've done this for now in the Darwin OpenSSH sources:

#if (defined(BYTE_ORDER) && defined(BIG_ENDIAN) && (BYTE_ORDER == 
BIG_ENDIAN)) || defined(WORDS_BIGENDIAN)
...

matt.

On Monday, June 25, 2001, at 01:30 PM, Mike Castle wrote:

> On Sun, Jun 24, 2001 at 01:51:27PM -0700, Matt Watson wrote:
>> I'm trying to figure out the best way to fix this. Is the
>
> Fix the code so it doesn't require knowledge of the endianess of the
> machine.
>
> Personally, I'd vote for getting rid of AC_C_BIGENDIAN.  No need to in
> supporting poor programming.
>
> mrc
> --
>      Mike Castle      [EMAIL PROTECTED]      
> www.netcom.com/~dalgoda/
>     We are all of us living in the shadow of Manhattan.  -- Watchmen
> fatal ("You are in a maze of twisty compiler features, all 
> different"); -- gcc
>

Reply via email to