bug-autoconf
[Top][All Lists]
Advanced

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

Re: sys/endian.h on IRIX


From: Paul Eggert
Subject: Re: sys/endian.h on IRIX
Date: 22 May 2003 13:13:06 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Jan Schaumann <address@hidden> writes:

> I just noticed that autoconf does not appear to correctly detect
> sys/endian.h on IRIX 6.5.x.  When attempting to configure a software
> package which tests for sys/endian.h with CC set to gcc, it bails out as
> the header contains the following lines:
> 
> /*                        
>  * NOTE: Use of this file is deprecated. Though, if this file should be
>  *       included in a program, standards.h should be included before  
>  *       endian.h                                                      
>  */
> #if !defined(_SGIAPI)
> #error "<standards.h> must be included before <sys/endian.h>."
> #endif

Hmm, why isn't this the right behavior?  In effect, SGI is saying
"<sys/endian.h> is obsolete; don't use it."  And "configure" isn't
using it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]