Mo DeJong <[EMAIL PROTECTED]> writes:
> 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,
Ouch. This will just not set WORDS_BIGENDIAN. How is the poor little
program going to understand the difference between a little-endian
system and a system for which the endianess cannot be determined?
You'll need to change the interface to the application by having
something more that just WORDS_BIGENDIAN for this to make sense.
/assar