bug-autoconf
[Top][All Lists]
Advanced

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

sys/endian.h on IRIX


From: Jan Schaumann
Subject: sys/endian.h on IRIX
Date: Thu, 22 May 2003 14:06:58 -0400
User-agent: Mutt/1.4i

Hello,

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


If configuring with CC set to IRIX MIPSPro compiler 'cc', the problem
disappears since _SGIAPI is defined.

-Jan

-- 
DON'T PANIC!




reply via email to

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