How would people feel about the following patch? It sort of fixes AC_C_BIGENDIAN in the sense that it no longer errors out. I am not sure how we can detect the system's endian ordering without actually running a program, so this is a tempory suggested fix until a beter one comes along. Index: aclang.m4 =================================================================== RCS file: /cvs/autoconf/aclang.m4,v retrieving revision 1.6 diff -u -r1.6 aclang.m4 --- aclang.m4 2000/04/11 12:00:13 1.6 +++ aclang.m4 2000/04/26 05:59:47 @@ -1003,7 +1003,7 @@ } u; u.l = 1; exit (u.c[sizeof (long) - 1] == 1); -}], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes) +}], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes, ac_cv_c_bigendian=unknown) fi]) if test $ac_cv_c_bigendian = yes; then AC_DEFINE(WORDS_BIGENDIAN, 1, Mo Dejong Red Hat Inc.
- So it seems like AC_C_BIGENDIAN is broken for cross case Mo DeJong
- Re: So it seems like AC_C_BIGENDIAN is broken for cr... Ian Lance Taylor
- Re: So it seems like AC_C_BIGENDIAN is broken for cr... Assar Westerlund
- Re: So it seems like AC_C_BIGENDIAN is broken fo... Russ Allbery
- Re: So it seems like AC_C_BIGENDIAN is broke... Assar Westerlund
- Re: So it seems like AC_C_BIGENDIAN is broken fo... Harlan Stenn
- Re: So it seems like AC_C_BIGENDIAN is broke... Ben Pfaff
- Re: So it seems like AC_C_BIGENDIAN is b... Mo DeJong
- Re: So it seems like AC_C_BIGENDIAN... Assar Westerlund
- Re: So it seems like AC_C_BIGENDIAN... Ian Lance Taylor
- Re: So it seems like AC_C_BIGENDIAN is broken fo... Ralf Corsepius
- Re: So it seems like AC_C_BIGENDIAN is broke... Assar Westerlund
- Re: So it seems like AC_C_BIGENDIAN is broken for cr... Peter Eisentraut